/* Homepage concept layer: scoped to the four requested areas. */

/* First-screen background */
.ca-hero-banner {
  isolation: isolate;
  background: #080b0f;
}

.ca-hero-banner::before {
  opacity: 1;
  background:
    linear-gradient(180deg, transparent 58%, rgba(18, 20, 20, 0.48) 100%),
    radial-gradient(circle at 82% 44%, rgba(211, 21, 12, 0.055), transparent 30%);
  animation: ca-hero-background-breathe 8s ease-in-out infinite alternate;
}

.ca-hero-banner-grid {
  inset: 0;
  background-image:
    linear-gradient(rgba(211, 21, 12, 0.055) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 21, 12, 0.055) 1px, transparent 1px);
  background-size: 40px 40px;
  mask-image: none;
  -webkit-mask-image: none;
}

.ca-hero-banner-decor::after {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: #d3150c;
  box-shadow: 0 0 10px rgba(211, 21, 12, 0.8), 0 0 22px rgba(211, 21, 12, 0.4);
  content: "";
  opacity: 0;
  animation: ca-hero-scan 4s linear infinite;
}

.ca-hero-banner-glow {
  top: 50%;
  right: clamp(6%, 10vw, 14%);
  width: min(29vw, 350px);
  height: min(34vw, 410px);
  transform: translateY(-50%);
  opacity: 0.9;
}

.ca-hero-banner-glow-svg {
  display: none;
}

.ca-hero-banner-glow::before,
.ca-hero-banner-glow::after {
  position: absolute;
  border: 1px solid rgba(226, 226, 226, 0.24);
  border-radius: 14px;
  content: "";
  transform-origin: center;
  will-change: transform;
}

.ca-hero-banner-glow::before {
  inset: 9% 22% 29% 8%;
  background: radial-gradient(circle at 50% 0, #ef2017 0 7px, rgba(239, 32, 23, 0.3) 8px, transparent 13px);
  animation: ca-hero-orbit-front 18s linear infinite;
}

.ca-hero-banner-glow::after {
  inset: 28% 7% 7% 22%;
  border-color: rgba(226, 226, 226, 0.38);
  background: radial-gradient(circle at 50% 100%, #ffd3cf 0 5px, rgba(255, 211, 207, 0.32) 6px, transparent 10px);
  animation: ca-hero-orbit-back 15s linear infinite;
}

.ca-hero-security-mark {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
  display: block;
  width: 52px;
  height: 58px;
  filter: drop-shadow(0 0 14px rgba(211, 21, 12, 0.24));
  transform: translate(-50%, -50%);
}

.ca-hero-security-mark svg {
  display: block;
  width: 100%;
  height: 100%;
}

@keyframes ca-hero-scan {
  0% {
    top: 0;
    opacity: 0;
  }

  10%,
  90% {
    opacity: 0.2;
  }

  100% {
    top: 100%;
    opacity: 0;
  }
}

@keyframes ca-hero-background-breathe {
  from {
    opacity: 0.72;
  }

  to {
    opacity: 1;
  }
}

@keyframes ca-hero-orbit-front {
  from {
    transform: rotate(-32deg);
  }

  to {
    transform: rotate(328deg);
  }
}

@keyframes ca-hero-orbit-back {
  from {
    transform: rotate(31deg);
  }

  to {
    transform: rotate(-329deg);
  }
}

@media (prefers-reduced-motion: reduce) {
  .ca-hero-banner::before,
  .ca-hero-banner-decor::after,
  .ca-hero-banner-glow::before,
  .ca-hero-banner-glow::after {
    animation: none;
  }
}

@media (max-width: 720px) {
  .ca-hero-banner-glow {
    display: none;
  }

  .ca-hero-banner-grid {
    opacity: 0.7;
  }
}

/* Services bento */
.ca-services-section {
  overflow: hidden;
  padding: 104px 0;
  color: #e2e2e2;
  background: #121414;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ca-services-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(211, 21, 12, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(211, 21, 12, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.55;
}

.ca-services-inner,
.ca-services-stack,
.ca-services-block {
  position: relative;
  z-index: 1;
  align-items: stretch;
}

.ca-services-block {
  gap: 48px;
}

.ca-services-header {
  align-items: flex-start;
  max-width: none;
  text-align: left;
}

.ca-services-badge {
  padding: 0;
  border: 0;
  border-radius: 0;
  color: #d3150c;
  background: transparent;
  font-size: 12px;
  font-weight: 600;
  line-height: 1.3;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ca-services-heading {
  align-items: flex-start;
  color: #ffffff;
}

.ca-services-heading-line {
  text-align: left;
}

.ca-services-tray {
  display: grid;
  grid-template-columns: repeat(12, minmax(0, 1fr));
  gap: 24px;
  padding: 0;
  border-radius: 0;
  background: transparent;
}

.ca-service-bento-card,
.ca-service-bento-explore {
  position: relative;
  box-sizing: border-box;
  grid-column: span 4;
  min-width: 0;
  min-height: 350px;
  overflow: hidden;
  padding: 40px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.12);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.ca-service-bento-card:first-child {
  grid-column: span 8;
  border-color: rgba(211, 21, 12, 0.58);
  box-shadow: 0 14px 42px rgba(0, 0, 0, 0.18), inset 0 0 34px rgba(211, 21, 12, 0.025);
}

.ca-service-bento-card:hover,
.ca-service-bento-card:focus-within,
.ca-service-bento-explore:hover {
  transform: translateY(-3px);
  border-color: rgba(211, 21, 12, 0.55);
  box-shadow: 0 18px 44px rgba(0, 0, 0, 0.2), 0 0 24px rgba(211, 21, 12, 0.08);
}

.ca-service-bento-index {
  display: block;
  margin-bottom: 34px;
  color: rgba(255, 215, 209, 0.76);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.08em;
}

.ca-service-bento-kicker {
  position: absolute;
  top: 40px;
  right: 40px;
  z-index: 2;
  max-width: 48%;
  overflow: hidden;
  padding: 7px 11px;
  color: #ef3027;
  background: rgba(211, 21, 12, 0.13);
  font-size: 11px;
  line-height: 1.2;
  letter-spacing: 0.08em;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.ca-service-bento-watermark {
  position: absolute;
  top: 34px;
  right: 30px;
  z-index: 0;
  width: 96px;
  height: 96px;
  overflow: hidden;
  color: rgba(255, 255, 255, 0.12);
  font-size: 96px;
  font-style: normal;
  font-variation-settings: "FILL" 1, "wght" 600, "GRAD" 0, "opsz" 48;
  line-height: 1;
  text-rendering: optimizeLegibility;
  transform: translateY(18px);
  transition: color 0.25s ease, transform 0.25s ease;
}

.ca-service-bento-card:hover .ca-service-bento-watermark,
.ca-service-bento-card:focus-within .ca-service-bento-watermark {
  color: rgba(255, 255, 255, 0.16);
  transform: translateY(18px) scale(1.04);
}

.ca-service-bento-card .ca-services-col-title {
  position: relative;
  z-index: 1;
  min-height: 0;
  margin: 0 0 16px;
  padding: 0;
  color: #ffffff;
  font-size: 24px;
  line-height: 1.2;
  letter-spacing: 0;
}

.ca-service-bento-card:first-child .ca-services-col-title {
  max-width: 78%;
  font-size: 30px;
}

.ca-service-bento-card .ca-services-list {
  position: relative;
  z-index: 1;
  gap: 8px;
  max-width: 86%;
  margin-bottom: 34px;
}

.ca-service-bento-card .ca-services-list-item {
  border: 0;
}

.ca-service-bento-card .ca-services-list-item:nth-child(n + 4) {
  display: none;
}

.ca-service-bento-card .ca-services-link {
  min-height: 0;
  padding: 0;
  color: rgba(255, 215, 209, 0.78);
  pointer-events: none;
}

.ca-service-bento-card .ca-services-link-text {
  position: relative;
  display: inline-block;
  padding-left: 16px;
  font-size: 15px;
  line-height: 1.5;
}

.ca-service-bento-card .ca-services-link-text::before {
  position: absolute;
  top: 0.72em;
  left: 0;
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #ef3027;
  box-shadow: 0 0 0 3px rgba(239, 48, 39, 0.1);
  content: "";
  transform: translateY(-50%);
}

.ca-service-bento-card .ca-services-arrow,
.ca-service-bento-card .ca-services-drawer {
  display: none;
}

.ca-service-bento-link {
  position: absolute;
  left: 40px;
  bottom: 36px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffffff;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-decoration: none;
  text-transform: uppercase;
  transition: color 0.2s ease;
}

.ca-service-bento-link:hover,
.ca-service-bento-link:focus-visible {
  color: #ef3027;
}

.ca-service-bento-explore {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-color: rgba(211, 21, 12, 0.5);
  background:
    radial-gradient(circle at 50% 42%, rgba(211, 21, 12, 0.11), transparent 46%),
    #10080a;
}

.ca-services-col--hidden {
  display: none;
}

.ca-services-col--visible {
  animation: ca-service-card-reveal 0.55s cubic-bezier(0.16, 1, 0.3, 1) both;
}

@keyframes ca-service-card-reveal {
  from {
    opacity: 0;
    transform: translateY(22px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.ca-service-bento-explore-icon {
  display: block;
  width: 30px;
  height: 30px;
  margin: 0 0 28px;
  color: transparent;
  background-image: radial-gradient(circle, #ef3027 0 3px, transparent 3.5px);
  background-size: 10px 10px;
  font-size: 0;
}

.ca-service-bento-explore h3 {
  margin: 0 0 24px;
  color: #ffffff;
  font-size: 25px;
}

.ca-service-bento-explore button {
  padding: 11px 18px;
  color: #ffffff;
  border: 1px solid #d3150c;
  border-radius: 4px;
  background: transparent;
  cursor: pointer;
  font-family: inherit;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: color 0.2s ease, background 0.2s ease;
}

.ca-service-bento-explore button:hover,
.ca-service-bento-explore button:focus-visible {
  color: #ffffff;
  background: #d3150c;
  outline: none;
}

.ca-service-bento-explore.is-complete {
  opacity: 0;
  transform: translateY(12px);
}

.ca-services-stack > .ca-services-cta {
  display: none;
}

/* Products: category rail and four-card result grid */
.ca-products-section {
  padding: 104px 0;
  color: #111315;
  background: #f7f8fa;
  border-top: 1px solid rgba(17, 19, 21, 0.08);
  border-bottom: 1px solid rgba(17, 19, 21, 0.08);
}

.ca-products-section::before {
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.035) 1px, transparent 1px);
  background-size: 40px 40px;
  opacity: 0.38;
}

.ca-products-header {
  align-items: flex-start;
  max-width: 720px;
  margin-bottom: 48px;
  text-align: left;
}

.ca-products-badge {
  padding: 0;
  color: #d3150c;
  border: 0;
  border-radius: 0;
  background: transparent;
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ca-products-heading,
.ca-products-shell-intro h3 {
  color: #111315;
}

.ca-products-subtitle {
  color: rgba(17, 19, 21, 0.64);
}

.ca-products-shell {
  display: grid;
  grid-template-columns: minmax(230px, 0.78fr) minmax(0, 2fr);
  gap: 32px;
  overflow: visible;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.ca-products-shell::before,
.ca-products-shell-intro,
.ca-products-detail {
  display: none;
}

.ca-products-tabs {
  grid-column: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin: 0;
}

.ca-products-tab {
  display: flex;
  min-height: 52px;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 13px 18px;
  color: rgba(17, 19, 21, 0.7);
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-left: 2px solid transparent;
  border-radius: 4px;
  background: #ffffff;
  text-align: left;
}

.ca-products-tab svg {
  flex: 0 0 auto;
  opacity: 0;
}

.ca-products-tab:hover,
.ca-products-tab:focus-visible,
.ca-products-tab.is-active {
  color: #111315;
  border-color: rgba(17, 19, 21, 0.1);
  border-left-color: #d3150c;
  background: rgba(211, 21, 12, 0.1);
}

.ca-products-tab.is-active svg {
  opacity: 1;
}

.ca-products-content {
  grid-column: 2;
  display: block;
}

.ca-products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  max-height: none;
  overflow: visible;
  padding: 0;
}

.ca-product-card {
  display: grid;
  grid-template-columns: 34px minmax(0, 1fr) auto;
  min-height: 190px;
  align-items: start;
  padding: 24px;
  color: #111315;
  border-color: rgba(17, 19, 21, 0.1);
  border-radius: 8px;
  background: #ffffff;
  box-shadow: 0 10px 28px rgba(17, 19, 21, 0.05);
}

.ca-product-card[hidden] {
  display: none;
}

.ca-product-card:hover,
.ca-product-card:focus-visible,
.ca-product-card.is-active {
  transform: translateY(-2px);
  color: #111315;
  border-color: rgba(211, 21, 12, 0.52);
  background: #ffffff;
  box-shadow: 0 16px 34px rgba(17, 19, 21, 0.1), 0 0 18px rgba(211, 21, 12, 0.06);
}

.ca-product-card-index {
  width: auto;
  height: auto;
  justify-content: flex-start;
  color: rgba(17, 19, 21, 0.52);
  border-radius: 0;
  background: transparent;
}

.ca-product-card-body {
  gap: 9px;
}

.ca-product-card-category {
  color: #d3150c;
}

.ca-product-card-title {
  color: #111315;
  font-size: 22px;
  line-height: 1.25;
}

.ca-product-card-description {
  display: block;
  color: rgba(17, 19, 21, 0.62);
  font-size: 14px;
  line-height: 1.55;
}

.ca-product-card-action {
  color: #d3150c;
  font-size: 0;
}

/* Contact: information column and glass form */
.ca-home-contact-section {
  overflow: hidden;
  padding: 104px 0;
  color: #111315;
  background: #ffffff;
}

.ca-home-contact-section::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(17, 19, 21, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(17, 19, 21, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

.ca-home-contact-inner {
  position: relative;
  z-index: 1;
}

.ca-home-contact-layout {
  display: grid;
  grid-template-columns: minmax(0, 0.86fr) minmax(0, 1.14fr);
  gap: 64px;
  align-items: start;
}

.ca-home-contact-header {
  margin: 0 0 44px;
  text-align: left;
}

.ca-home-contact-kicker {
  display: block;
  margin-bottom: 16px;
  color: #d3150c;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.ca-home-contact-title {
  color: #111315;
}

.ca-home-contact-subtitle {
  max-width: 520px;
  color: rgba(17, 19, 21, 0.64);
}

.ca-home-contact-points {
  display: grid;
  gap: 28px;
}

.ca-home-contact-point {
  display: grid;
  grid-template-columns: 12px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.ca-home-contact-point-mark {
  width: 10px;
  height: 10px;
  margin-top: 8px;
  background: #d3150c;
  box-shadow: 0 0 0 5px rgba(211, 21, 12, 0.12);
}

.ca-home-contact-point h3 {
  margin: 0 0 6px;
  color: #111315;
  font-size: 18px;
}

.ca-home-contact-point p,
.ca-home-contact-point a {
  margin: 0;
  color: rgba(17, 19, 21, 0.66);
  font-size: 15px;
  line-height: 1.6;
  text-decoration: none;
}

.ca-home-contact-point a:hover,
.ca-home-contact-point a:focus-visible {
  color: #ef3027;
}

.ca-home-contact-form-wrap {
  width: 100%;
  box-sizing: border-box;
  padding: 34px;
  border: 1px solid rgba(17, 19, 21, 0.1);
  border-radius: 8px;
  background: #f8f9fa;
  box-shadow: 0 20px 48px rgba(17, 19, 21, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.ca-home-contact-label {
  color: rgba(17, 19, 21, 0.66);
  font-size: 12px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.ca-home-contact-section .contact-inquiry-input,
.ca-home-contact-section .contact-inquiry-select,
.ca-home-contact-section .contact-inquiry-textarea {
  color: #111315;
  border-bottom-color: rgba(17, 19, 21, 0.18);
}

.ca-home-contact-section .contact-inquiry-input::placeholder,
.ca-home-contact-section .contact-inquiry-textarea::placeholder {
  color: rgba(17, 19, 21, 0.38);
}

.ca-home-contact-section .contact-inquiry-select option {
  color: #111315;
  background: #ffffff;
}

.ca-home-contact-select-icon path {
  stroke: #111315;
}

.ca-home-contact-actions {
  justify-content: stretch;
}

.ca-home-contact-submit {
  width: 100%;
  min-height: 50px;
  border-radius: 4px;
  background: #d3150c;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.ca-home-contact-success {
  color: #111315;
  border-color: rgba(211, 21, 12, 0.3);
  background: #ffffff;
}

.ca-home-contact-success .success-title {
  color: #111315;
  font-size: 24px;
  line-height: 1.25;
}

.ca-home-contact-success .success-text {
  color: rgba(17, 19, 21, 0.66);
  font-size: 16px;
}

@media (max-width: 900px) {
  .ca-service-bento-card:first-child,
  .ca-service-bento-card,
  .ca-service-bento-explore {
    grid-column: span 6;
  }

  .ca-products-shell,
  .ca-home-contact-layout {
    grid-template-columns: 1fr;
  }

  .ca-products-tabs {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .ca-products-content {
    grid-column: 1;
  }
}

@media (max-width: 640px) {
  .ca-services-section,
  .ca-products-section,
  .ca-home-contact-section {
    padding: 68px 0;
  }

  .ca-services-tray {
    grid-template-columns: 1fr;
    padding: 0;
  }

  .ca-service-bento-card:first-child,
  .ca-service-bento-card,
  .ca-service-bento-explore {
    grid-column: 1;
    min-height: 330px;
    padding: 28px 24px;
  }

  .ca-service-bento-kicker {
    top: 28px;
    right: 24px;
    max-width: 52%;
  }

  .ca-service-bento-watermark {
    top: 30px;
    right: 18px;
    width: 82px;
    height: 82px;
    font-size: 82px;
  }

  .ca-service-bento-card:first-child .ca-services-col-title {
    max-width: 100%;
    font-size: 25px;
  }

  .ca-service-bento-link {
    left: 24px;
    bottom: 28px;
  }

  .ca-products-tabs,
  .ca-products-grid {
    grid-template-columns: 1fr;
  }

  .ca-product-card {
    min-height: 170px;
    padding: 20px;
  }

  .ca-home-contact-layout {
    gap: 46px;
  }

  .ca-home-contact-form-wrap {
    padding: 24px 20px;
  }
}
