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

:root {
  --white: #FFFFFF;
  --black: #000000;
  --red: #E63228;
  --gray-line: #E0E0E0;
  --gray-text: #6B6B6B;
  --gray-light: #F5F5F5;
  --font: 'Helvetica Neue', Helvetica, Arial, system-ui, sans-serif;
  --grid-gap: 24px;
  --page-margin: 80px;
  --baseline: 8px;
}

html {
  font-size: 16px;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font);
  background: var(--white);
  color: var(--black);
  line-height: 1.5;
  overflow-x: hidden;
}

.page-grid {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-margin);
}

@media (max-width: 1024px) {
  :root { --page-margin: 40px; }
}

@media (max-width: 768px) {
  :root { --page-margin: 24px; }
}

/* ========================
   NAVIGATION
   ======================== */
nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
}

.nav-inner {
  max-width: 1440px;
  margin: 0 auto;
  padding: 0 var(--page-margin);
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  height: 72px;
}

.nav-logo {
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
  text-decoration: none;
  color: var(--black);
  display: flex;
  align-items: center;
  gap: 10px;
}

.nav-logo .logo-mark {
  width: 32px;
  height: 32px;
  background: var(--red);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--white);
  font-weight: 800;
  font-size: 16px;
  letter-spacing: 0;
}

.nav-links {
  display: flex;
  justify-content: center;
  gap: 40px;
  list-style: none;
}

.nav-links a {
  text-decoration: none;
  color: var(--black);
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  position: relative;
  padding-bottom: 2px;
}

.nav-links a::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 1.5px;
  background: var(--red);
  transition: width 0.3s ease;
}

.nav-links a:hover::after {
  width: 100%;
}

.nav-cta {
  display: inline-block;
  padding: 10px 28px;
  background: var(--black);
  color: var(--white);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease;
}

.nav-cta:hover {
  background: var(--red);
}

.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  width: 40px;
  height: 40px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  z-index: 1002;
  -webkit-tap-highlight-color: transparent;
  margin-left: auto;
}

.nav-hamburger span {
  display: block;
  width: 100%;
  height: 2px;
  background: var(--black);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              opacity 0.2s ease;
  transform-origin: center;
}

.nav-hamburger.active span:first-child {
  transform: translateY(4px) rotate(45deg);
}

.nav-hamburger.active span:last-child {
  transform: translateY(-4px) rotate(-45deg);
}

.mobile-menu {
  position: fixed;
  top: 72px;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 998;
  background: var(--white);
  display: flex;
  flex-direction: column;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.3s;
}

.mobile-menu.active {
  pointer-events: auto;
  visibility: visible;
  opacity: 1;
  transition: opacity 0.3s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

.mobile-menu-inner {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  flex: 1;
  padding: 0 var(--page-margin);
  overflow-y: auto;
}

.mobile-menu-links {
  display: flex;
  flex-direction: column;
  padding-top: 16px;
}

.mobile-menu-link {
  display: block;
  text-decoration: none;
  color: var(--black);
  font-size: 32px;
  font-weight: 700;
  letter-spacing: -0.02em;
  padding: 20px 0;
  border-bottom: 1px solid var(--gray-line);
  transition: color 0.2s ease;
  opacity: 0;
  transform: translateY(16px);
}

.mobile-menu.active .mobile-menu-link {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              color 0.2s ease;
}

.mobile-menu.active .mobile-menu-link:nth-child(1) { transition-delay: 0.05s, 0.05s, 0s; }
.mobile-menu.active .mobile-menu-link:nth-child(2) { transition-delay: 0.1s, 0.1s, 0s; }
.mobile-menu.active .mobile-menu-link:nth-child(3) { transition-delay: 0.15s, 0.15s, 0s; }
.mobile-menu.active .mobile-menu-link:nth-child(4) { transition-delay: 0.2s, 0.2s, 0s; }

.mobile-menu-link:active {
  color: var(--red);
}

.mobile-menu-contact {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 22px 0;
  margin: 24px 0;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: background 0.25s ease;
  opacity: 0;
  transform: translateY(12px);
}

.mobile-menu.active .mobile-menu-contact {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.25s,
              background 0.25s ease;
}

.mobile-menu-contact:active {
  background: var(--black);
}

.mobile-menu-contact svg {
  width: 18px;
  height: 18px;
}

body.menu-open {
  overflow: hidden;
}

/* ========================
   HERO
   ======================== */
.hero {
  padding-top: 72px;
  border-bottom: 1px solid var(--gray-line);
}

.hero-grid {
  display: grid;
  grid-template-columns: 7fr 5fr;
  min-height: calc(100vh - 72px);
  position: relative;
}

.hero-grid::before {
  content: '';
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(58.333% - 1px);
  width: 2px;
  background: var(--red);
}

.hero-left {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px var(--grid-gap) 120px 0;
}

.hero-label {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--gray-text);
  margin-bottom: 20px;
}

.hero-headline {
  font-size: clamp(48px, 6.5vw, 104px);
  font-weight: 700;
  line-height: 0.92;
  letter-spacing: -0.04em;
  margin-bottom: 0;
}

.hero-headline .red {
  color: var(--red);
}

.hero-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 80px 0 80px calc(var(--grid-gap) + 24px);
}

.hero-subtext {
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-text);
  margin-bottom: 48px;
  max-width: 420px;
  font-weight: 400;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  align-items: center;
  margin-bottom: 64px;
}

.btn-primary {
  display: inline-block;
  padding: 16px 40px;
  background: var(--red);
  color: var(--white);
  text-decoration: none;
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  transition: background 0.25s ease;
}

.btn-primary:hover {
  background: var(--black);
}

.btn-secondary {
  display: inline-block;
  padding: 16px 40px;
  background: transparent;
  color: var(--black);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1.5px solid var(--black);
  transition: all 0.25s ease;
}

.btn-secondary:hover {
  background: var(--black);
  color: var(--white);
}

.hero-meta {
  display: flex;
  gap: 48px;
}

.hero-meta-item {
  font-size: 12px;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--gray-text);
  font-weight: 500;
}

.hero-meta-item strong {
  display: block;
  font-size: 14px;
  color: var(--black);
  font-weight: 600;
  margin-bottom: 4px;
  letter-spacing: 0;
  text-transform: none;
}

/* ========================
   NUMBERS / IMPACT
   ======================== */
.numbers {
  border-bottom: 1px solid var(--gray-line);
}

.numbers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.number-cell {
  padding: 64px var(--grid-gap);
  border-right: 1px solid var(--gray-line);
  position: relative;
}

.number-cell:last-child {
  border-right: none;
}

.number-cell::before {
  content: '';
  position: absolute;
  top: 64px;
  left: var(--grid-gap);
  width: 24px;
  height: 2px;
  background: var(--red);
}

.number-value {
  font-size: clamp(40px, 4.5vw, 72px);
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.03em;
  margin-top: 24px;
  margin-bottom: 16px;
}

.number-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  line-height: 1.5;
}

.number-desc {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.55;
  margin-top: 12px;
  font-weight: 400;
}

/* ========================
   SECTION HEADERS
   ======================== */
.section-header {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: var(--grid-gap);
  padding: 80px 0 56px;
  border-bottom: 1px solid var(--gray-line);
}

.section-number {
  font-size: 12px;
  font-weight: 500;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(32px, 3.5vw, 52px);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: -0.03em;
}

.section-desc {
  font-size: 17px;
  line-height: 1.65;
  color: var(--gray-text);
  max-width: 480px;
  align-self: end;
  padding-bottom: 4px;
}

/* ========================
   PRODUCTS / FEATURES
   ======================== */
.products {
  border-bottom: 1px solid var(--gray-line);
}

.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.product-card {
  padding: 48px var(--grid-gap);
  border-right: 1px solid var(--gray-line);
  position: relative;
  transition: background 0.3s ease;
  display: flex;
  flex-direction: column;
}

.product-card:last-child {
  border-right: none;
}

.product-card:hover {
  background: var(--gray-light);
}

.product-index {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 32px;
}

.product-icon {
  width: 48px;
  height: 48px;
  border: 2px solid var(--black);
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 32px;
  position: relative;
}

.product-icon::after {
  content: '';
  position: absolute;
  bottom: -18px;
  left: 0;
  width: 48px;
  height: 2px;
  background: var(--red);
}

.product-icon svg {
  width: 24px;
  height: 24px;
}

.product-name {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin-bottom: 16px;
  margin-top: 16px;
  line-height: 1.2;
}

.product-desc {
  font-size: 15px;
  line-height: 1.6;
  color: var(--gray-text);
  margin-bottom: 32px;
}

.product-features {
  list-style: none;
  margin-bottom: 32px;
  flex: 1;
}

.product-features li {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.02em;
  padding: 10px 0;
  border-bottom: 1px solid var(--gray-line);
  position: relative;
  padding-left: 16px;
}

.product-features li::before {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  width: 6px;
  height: 6px;
  background: var(--red);
  transform: translateY(-50%);
}

.product-link {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--black);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: color 0.25s ease;
}

.product-link:hover {
  color: var(--red);
}

.product-link svg {
  width: 16px;
  height: 16px;
  transition: transform 0.25s ease;
}

.product-link:hover svg {
  transform: translateX(4px);
}

/* ========================
   PRODUCT DETAIL TAKEOVER
   ======================== */
.products-container {
  position: relative;
  overflow: hidden;
  transition: height 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid {
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.products-grid.hiding {
  opacity: 0;
  transform: scale(0.97) translateY(12px);
  pointer-events: none;
}

.products-grid.hidden {
  display: none;
}

.product-detail {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
              transform 0.25s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
}

.product-detail.entering {
  display: block;
}

.product-detail.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.product-detail.leaving {
  display: block;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 32px 0;
  border-bottom: 1px solid var(--gray-line);
  margin-bottom: 48px;
}

.detail-header .product-index {
  margin-bottom: 0;
  font-size: clamp(16px, 1.8vw, 22px);
  letter-spacing: -0.01em;
  font-weight: 700;
}

.detail-back {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  text-decoration: none;
  cursor: pointer;
  background: none;
  border: none;
  font-family: var(--font);
  padding: 0;
  transition: color 0.25s ease;
}

.detail-back:hover {
  color: var(--red);
}

.detail-back svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
  color: var(--red);
}

.detail-back:hover svg {
  transform: translateX(-4px);
}

.detail-top {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  padding-bottom: 48px;
  border-bottom: 1px solid var(--gray-line);
}

.detail-top-left .product-index {
  margin-bottom: 20px;
}

.detail-product-name {
  font-size: clamp(36px, 4vw, 56px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.05;
  margin-bottom: 24px;
}

.detail-product-tagline {
  font-size: 18px;
  line-height: 1.65;
  color: var(--gray-text);
  max-width: 480px;
}

.detail-top-right {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.detail-description {
  font-size: 16px;
  line-height: 1.7;
  color: var(--gray-text);
  margin-bottom: 32px;
}

.detail-cta-row {
  display: flex;
  gap: 16px;
  align-items: center;
}

.detail-capabilities {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  padding: 48px 0;
}

.detail-capability {
  padding: 0 var(--grid-gap);
  border-right: 1px solid var(--gray-line);
  opacity: 0;
  transform: translateY(16px);
  animation: detailCapFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.detail-capability:first-child { padding-left: 0; animation-delay: 0.15s; }
.detail-capability:nth-child(2) { animation-delay: 0.25s; }
.detail-capability:nth-child(3) { animation-delay: 0.35s; }
.detail-capability:last-child { border-right: none; animation-delay: 0.45s; }

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

.detail-capability-number {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.detail-capability h4 {
  font-size: 17px;
  font-weight: 700;
  letter-spacing: -0.01em;
  margin-bottom: 10px;
  line-height: 1.25;
}

.detail-capability p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-text);
}

.detail-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  border-top: 1px solid var(--gray-line);
}

.detail-stat-cell {
  padding: 40px var(--grid-gap);
  border-right: 1px solid var(--gray-line);
  opacity: 0;
  animation: detailCapFadeIn 0.4s cubic-bezier(0.4, 0, 0.2, 1) forwards;
  animation-delay: 0.3s;
}

.detail-stat-cell:first-child { padding-left: 0; animation-delay: 0.2s; }
.detail-stat-cell:nth-child(2) { animation-delay: 0.3s; }
.detail-stat-cell:last-child { border-right: none; animation-delay: 0.4s; }

.detail-stat-value {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1;
  color: var(--red);
  margin-bottom: 8px;
}

.detail-stat-label {
  font-size: 13px;
  font-weight: 500;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--gray-text);
}

/* ========================
   CASE STUDIES
   ======================== */
.cases {
  border-bottom: 1px solid var(--gray-line);
}

.cases-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.case-card {
  border-right: 1px solid var(--gray-line);
  transition: background 0.3s ease;
  text-decoration: none;
  color: inherit;
  display: block;
}

.case-card:last-child {
  border-right: none;
}

.case-card:hover {
  background: var(--gray-light);
}

.case-image {
  width: 100%;
  aspect-ratio: 16 / 10;
  background: var(--gray-light);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--gray-line);
}

.case-image-inner {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.case-image-pattern {
  width: 100%;
  height: 100%;
  display: grid;
  grid-template-columns: repeat(8, 1fr);
  grid-template-rows: repeat(5, 1fr);
  gap: 1px;
  padding: 20px;
  opacity: 0.15;
}

.case-image-pattern span {
  background: var(--black);
}

.case-image-pattern.pattern-a span:nth-child(3n+1) { background: var(--red); }
.case-image-pattern.pattern-b span:nth-child(4n) { background: var(--red); }
.case-image-pattern.pattern-c span:nth-child(2n) { background: var(--red); }

.case-image-label {
  position: absolute;
  bottom: 16px;
  left: var(--grid-gap);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
  background: var(--black);
  padding: 6px 12px;
}

.case-content {
  padding: 32px var(--grid-gap) 48px;
}

.case-meta {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.case-title {
  font-size: 22px;
  font-weight: 700;
  letter-spacing: -0.02em;
  line-height: 1.25;
  margin-bottom: 16px;
}

.case-excerpt {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-text);
  margin-bottom: 24px;
}

.case-stat {
  display: flex;
  align-items: baseline;
  gap: 12px;
  padding-top: 24px;
  border-top: 1px solid var(--gray-line);
}

.case-stat-value {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: var(--red);
}

.case-stat-label {
  font-size: 13px;
  color: var(--gray-text);
  font-weight: 500;
}

/* ========================
   CONTACT SECTION
   ======================== */
.contact-section {
  background: var(--red);
  color: var(--white);
}

.contact-container {
  position: relative;
  overflow: hidden;
  transition: height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.cta-strip-inner {
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: center;
  padding: 56px 0;
  gap: var(--grid-gap);
}

.cta-strip-inner h2 {
  font-size: clamp(28px, 3vw, 44px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
}

.cta-strip-btn {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 18px 44px;
  background: var(--white);
  color: var(--red);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  transition: all 0.25s ease;
  white-space: nowrap;
  cursor: pointer;
  border: none;
  font-family: var(--font);
}

.cta-strip-btn:hover {
  background: var(--black);
  color: var(--white);
}

.cta-strip-btn:hover .cta-strip-btn-arrow {
  color: var(--white);
}

.cta-strip-btn-arrow {
  width: 18px;
  height: 18px;
  color: var(--red);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), color 0.25s ease;
}

.contact-section.open .cta-strip-btn-arrow {
  transform: rotate(180deg);
}

.contact-detail {
  display: none;
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.05s,
              transform 0.35s cubic-bezier(0.4, 0, 0.2, 1) 0.05s;
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.contact-detail.entering {
  display: block;
}

.contact-detail.active {
  display: block;
  opacity: 1;
  transform: translateY(0);
}

.contact-detail.leaving {
  display: block;
  opacity: 0;
  transform: translateY(-12px);
  transition: opacity 0.2s cubic-bezier(0.4, 0, 0.2, 1),
              transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.contact-detail-grid {
  display: grid;
  grid-template-columns: 1fr 1.4fr;
  gap: 80px;
  padding: 56px 0 72px;
}

.contact-info-heading {
  font-size: clamp(32px, 3.5vw, 48px);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin-bottom: 20px;
  color: var(--white);
}

.contact-info-subtext {
  font-size: 16px;
  line-height: 1.65;
  color: rgba(255, 255, 255, 0.65);
  margin-bottom: 40px;
  max-width: 360px;
}

.contact-info-block {
  padding: 16px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-block:first-of-type {
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.contact-info-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.5);
  margin-bottom: 6px;
}

.contact-info-value {
  font-size: 15px;
  font-weight: 500;
  color: var(--white);
  text-decoration: none;
  line-height: 1.5;
  transition: color 0.2s ease;
}

a.contact-info-value:hover {
  color: rgba(255, 255, 255, 0.7);
}

.contact-form {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.contact-form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.contact-form-field {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.contact-form-field label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--white);
}

.contact-form-field input,
.contact-form-field select,
.contact-form-field textarea {
  padding: 14px 16px;
  border: 1.5px solid rgba(255, 255, 255, 0.25);
  font-family: var(--font);
  font-size: 15px;
  color: var(--white);
  background: rgba(255, 255, 255, 0.08);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease, background 0.2s ease;
  -webkit-appearance: none;
}

.contact-form-field input::placeholder,
.contact-form-field textarea::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.contact-form-field input:focus,
.contact-form-field select:focus,
.contact-form-field textarea:focus {
  border-color: var(--white);
  box-shadow: 0 0 0 1px var(--white);
  background: rgba(255, 255, 255, 0.12);
}

.contact-form-field select {
  cursor: pointer;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 24 24' fill='none' stroke='%23ffffff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round' xmlns='http://www.w3.org/2000/svg'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  background-size: 18px;
  padding-right: 44px;
  background-color: rgba(255, 255, 255, 0.08);
}

.contact-form-field select option {
  background: var(--red);
  color: var(--white);
}

.contact-form-field select option[disabled] {
  color: rgba(255, 255, 255, 0.4);
}

.contact-form-field textarea {
  resize: vertical;
  min-height: 120px;
}

.contact-form-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  align-self: flex-start;
  padding: 18px 48px;
  background: var(--white);
  color: var(--red);
  border: none;
  font-family: var(--font);
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease, color 0.25s ease;
}

.contact-form-submit:hover {
  background: var(--black);
  color: var(--white);
}

.contact-form-submit svg {
  width: 18px;
  height: 18px;
  transition: transform 0.25s ease;
}

.contact-form-submit:hover svg {
  transform: translateX(4px);
}

/* ========================
   FOOTER
   ======================== */
footer {
  border-top: 1px solid var(--gray-line);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr) 1.5fr;
  gap: var(--grid-gap);
  padding: 64px 0 48px;
  border-bottom: 1px solid var(--gray-line);
}

.footer-brand {
  padding-right: 40px;
}

.footer-brand .nav-logo {
  margin-bottom: 20px;
}

.footer-brand p {
  font-size: 14px;
  line-height: 1.6;
  color: var(--gray-text);
  max-width: 280px;
}

.footer-col h4 {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  margin-bottom: 24px;
  color: var(--black);
}

.footer-col ul {
  list-style: none;
}

.footer-col li {
  margin-bottom: 12px;
}

.footer-col a {
  font-size: 14px;
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.2s ease;
  font-weight: 400;
}

.footer-col a:hover {
  color: var(--red);
}

.footer-newsletter p {
  font-size: 14px;
  color: var(--gray-text);
  line-height: 1.6;
  margin-bottom: 20px;
}

.footer-newsletter-form {
  display: flex;
  gap: 0;
}

.footer-newsletter-form input {
  flex: 1;
  padding: 12px 16px;
  border: 1.5px solid var(--gray-line);
  border-right: none;
  font-family: var(--font);
  font-size: 14px;
  outline: none;
  background: var(--white);
  transition: border-color 0.2s;
}

.footer-newsletter-form input:focus {
  border-color: var(--black);
}

.footer-newsletter-form button {
  padding: 12px 20px;
  background: var(--black);
  color: var(--white);
  border: none;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  cursor: pointer;
  transition: background 0.25s ease;
  white-space: nowrap;
}

.footer-newsletter-form button:hover {
  background: var(--red);
}

.footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 24px 0;
}

.footer-bottom p {
  font-size: 12px;
  color: var(--gray-text);
  letter-spacing: 0.02em;
}

.footer-bottom-links {
  display: flex;
  gap: 32px;
}

.footer-bottom-links a {
  font-size: 12px;
  color: var(--gray-text);
  text-decoration: none;
  transition: color 0.2s;
}

.footer-bottom-links a:hover {
  color: var(--red);
}

/* ========================
   ANIMATIONS
   ======================== */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.6s ease, transform 0.6s ease;
}

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

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }
.reveal-delay-4 { transition-delay: 0.4s; }

/* ========================
   RESPONSIVE
   ======================== */
@media (max-width: 1024px) {
  .hero-grid {
    grid-template-columns: 1fr;
    min-height: auto;
  }

  .hero-grid::before {
    display: none;
  }

  .hero-left {
    padding: 80px 0 40px;
  }

  .hero-right {
    padding: 0 0 80px;
    border-top: 2px solid var(--red);
    padding-top: 40px;
  }

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

  .number-cell:nth-child(2) {
    border-right: none;
  }

  .number-cell:nth-child(1),
  .number-cell:nth-child(2) {
    border-bottom: 1px solid var(--gray-line);
  }

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

  .product-card {
    border-right: none;
    border-bottom: 1px solid var(--gray-line);
  }

  .product-card:last-child {
    border-bottom: none;
  }

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

  .case-card {
    border-right: none;
    border-bottom: 1px solid var(--gray-line);
  }

  .case-card:last-child {
    border-bottom: none;
  }

  .section-header {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .contact-detail-grid {
    grid-template-columns: 1fr;
    gap: 48px;
  }

  .footer-grid {
    grid-template-columns: 1fr 1fr;
    gap: 40px var(--grid-gap);
  }

  .footer-brand {
    grid-column: 1 / -1;
  }

  .detail-top {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .detail-capabilities {
    grid-template-columns: repeat(2, 1fr);
    gap: 32px 0;
  }

  .detail-capability:nth-child(2) {
    border-right: none;
  }

  .detail-capability:nth-child(1),
  .detail-capability:nth-child(2) {
    padding-bottom: 32px;
    border-bottom: 1px solid var(--gray-line);
  }

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

  .detail-stat-cell {
    border-right: none;
    border-bottom: 1px solid var(--gray-line);
    padding-left: 0;
  }

  .detail-stat-cell:last-child {
    border-bottom: none;
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
  }

  .nav-cta {
    display: none;
  }

  .nav-hamburger {
    display: flex;
  }

  .nav-inner {
    grid-template-columns: auto 1fr auto;
  }

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

  .number-cell {
    border-right: none;
    border-bottom: 1px solid var(--gray-line);
  }

  .number-cell:last-child {
    border-bottom: none;
  }

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

  .hero-meta {
    flex-direction: column;
    gap: 24px;
  }

  .cta-strip-inner {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 32px;
  }

  .cta-strip-btn {
    justify-self: center;
  }

  .contact-detail-grid {
    gap: 40px;
  }

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

  .contact-form-submit {
    width: 100%;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .detail-capabilities {
    grid-template-columns: 1fr;
  }

  .detail-capability {
    padding: 0;
    border-right: none;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--gray-line);
  }

  .detail-capability:last-child {
    border-bottom: none;
    padding-bottom: 0;
  }

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

@media (max-width: 480px) {
  .hero-headline {
    font-size: 40px;
  }

  .btn-primary,
  .btn-secondary {
    width: 100%;
    text-align: center;
  }
}

/* ========================
   MOBILE BOTTOM-SHEET
   ======================== */
.detail-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.35s;
  pointer-events: none;
  visibility: hidden;
}

.detail-sheet-overlay.active {
  background: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  visibility: visible;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

.detail-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--white);
  border-radius: 0;
  height: 100vh;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  visibility: hidden;
}

.detail-sheet.active {
  pointer-events: auto;
  visibility: visible;
}

.detail-sheet-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 24px;
  background: var(--white);
  border-bottom: 1px solid var(--gray-line);
  flex-shrink: 0;
}


.detail-sheet-close {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--gray-text);
  background: none;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  padding: 8px 0;
  transition: color 0.25s ease;
}

.detail-sheet-close:hover {
  color: var(--red);
}

.detail-sheet-close svg {
  width: 18px;
  height: 18px;
  color: var(--red);
}

.detail-sheet-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 32px 24px 48px;
  flex: 1;
}

.detail-sheet-body .detail-header .detail-back {
  display: none;
}

.detail-sheet-body .product-detail {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
}

.detail-sheet-body .detail-top {
  grid-template-columns: 1fr;
  gap: 24px;
}

.detail-sheet-body .detail-capabilities {
  grid-template-columns: 1fr;
  gap: 0;
}

.detail-sheet-body .detail-capability {
  padding: 24px 0;
  border-right: none;
  border-bottom: 1px solid var(--gray-line);
  opacity: 1;
  transform: none;
  animation: none;
}

.detail-sheet-body .detail-capability:first-child {
  padding-left: 0;
}

.detail-sheet-body .detail-capability:last-child {
  border-bottom: none;
  padding-bottom: 0;
}

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

.detail-sheet-body .detail-stat-cell {
  border-right: none;
  border-bottom: 1px solid var(--gray-line);
  padding-left: 0;
  opacity: 1;
  animation: none;
}

.detail-sheet-body .detail-stat-cell:last-child {
  border-bottom: none;
}

.detail-sheet-body .detail-cta-row {
  flex-direction: column;
  align-items: stretch;
}

.detail-sheet-body .btn-primary,
.detail-sheet-body .btn-secondary {
  width: 100%;
  text-align: center;
}

body.sheet-open {
  overflow: hidden;
}

/* ========================
   MOBILE CONTACT SHEET
   ======================== */
.contact-sheet-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  z-index: 999;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0.35s;
  pointer-events: none;
  visibility: hidden;
}

.contact-sheet-overlay.active {
  background: rgba(0, 0, 0, 0.45);
  pointer-events: auto;
  visibility: visible;
  transition: background 0.35s cubic-bezier(0.4, 0, 0.2, 1),
              visibility 0s linear 0s;
}

.contact-sheet {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  background: var(--red);
  height: 100vh;
  transform: translateY(100%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1);
  box-shadow: 0 -8px 40px rgba(0, 0, 0, 0.12);
  overflow: hidden;
  display: flex;
  flex-direction: column;
  pointer-events: none;
  visibility: hidden;
}

.contact-sheet.active {
  pointer-events: auto;
  visibility: visible;
}

.contact-sheet-header {
  position: sticky;
  top: 0;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  padding: 16px 24px;
  background: var(--red);
  border-bottom: 1px solid rgba(255, 255, 255, 0.2);
  flex-shrink: 0;
}

.contact-sheet-header .detail-sheet-close {
  color: rgba(255, 255, 255, 0.7);
}

.contact-sheet-header .detail-sheet-close:hover {
  color: var(--white);
}

.contact-sheet-header .detail-sheet-close svg {
  color: var(--white);
}

.contact-sheet-body {
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
  padding: 32px 24px 48px;
  flex: 1;
  color: var(--white);
}

.contact-sheet-body .contact-detail {
  display: block !important;
  opacity: 1 !important;
  transform: none !important;
  border-top: none;
}

.contact-sheet-body .contact-detail-grid {
  grid-template-columns: 1fr;
  gap: 40px;
  padding: 0;
}

.contact-sheet-body .contact-form-row {
  grid-template-columns: 1fr;
}

.contact-sheet-body .contact-form-submit {
  width: 100%;
}
