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

:root {
  --black: #1D1D1B;
  --red: #BC2F2C;
  --red-hover: #a02825;
  --gray: #888;
  --light: #f7f7f7;
  --white: #fff;
  --font: 'Metropolis', 'DM Sans', 'Inter', -apple-system, sans-serif;
  --transition: 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; }

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

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; }
button { cursor: pointer; border: none; background: none; font-family: inherit; }

/* ===== NAV ===== */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 0 48px;
  height: 80px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(255,255,255,0.96);
  backdrop-filter: blur(16px);
  transition: box-shadow var(--transition);
}

.nav { border-bottom: 1px solid rgba(0,0,0,0.1); }
.nav.scrolled { box-shadow: 0 1px 0 rgba(0,0,0,0.06); }

.nav-logo img {
  height: 36px;
  width: auto;
}

.nav-logo-img {
  height: 32px;
  width: auto;
}

.nav-logo-text {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: -0.5px;
}

.nav-logo-text span { color: var(--red); }

.nav-center {
  display: flex;
  align-items: center;
  gap: 40px;
}

.nav-center a {
  font-size: 0.88rem;
  font-weight: 500;
  color: var(--black);
  letter-spacing: 0.3px;
  position: relative;
}

.nav-center a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -3px;
  width: 0;
  height: 1.5px;
  background: var(--black);
  transition: width var(--transition);
}

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

/* dot under active */
.nav-center a.active::before {
  content: '';
  position: absolute;
  left: 50%;
  bottom: -8px;
  width: 4px;
  height: 4px;
  background: var(--black);
  border-radius: 50%;
  transform: translateX(-50%);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.nav-right a { display: flex; align-items: center; }

.nav-phone {
  font-size: 0.82rem;
  font-weight: 600;
  color: var(--black);
  gap: 6px;
  text-decoration: none;
}
.nav-phone svg { width: 16px; height: 16px; flex-shrink: 0; }

.nav-right svg {
  width: 20px;
  height: 20px;
  stroke: var(--black);
  stroke-width: 1.8;
  fill: none;
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  width: 24px;
}

.nav-toggle span {
  height: 1.5px;
  background: var(--black);
  border-radius: 2px;
  transition: all var(--transition);
}

/* ===== HERO ===== */
.hero {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding: 80px 48px 0 48px;
  position: relative;
  background: linear-gradient(180deg, #f8f8f8 0%, #ffffff 60%);
}

.hero-inner {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 100%;
}

.hero-centered {
  text-align: center;
  max-width: 720px;
  margin: 0 auto;
}

.hero-centered p {
  margin: 0 auto 36px;
  max-width: 560px;
}

.hero-centered .btn-arrow {
  margin: 0 auto;
}

.hero-content { max-width: 520px; }

/* Floating product elements */
.hero-float {
  position: absolute;
  width: 60px;
  height: 60px;
  border-radius: 8px;
  background: var(--light);
  animation: float 6s ease-in-out infinite;
}

.hero-float:nth-child(2) { top: 5%; right: -10%; animation-delay: -1s; }
.hero-float:nth-child(3) { bottom: 15%; left: -8%; animation-delay: -3s; width: 45px; height: 45px; }
.hero-float:nth-child(4) { top: 20%; left: -5%; animation-delay: -4.5s; width: 35px; height: 35px; }
.hero-float:nth-child(5) { bottom: 5%; right: 5%; animation-delay: -2s; width: 50px; height: 50px; }

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  50% { transform: translateY(-20px) rotate(5deg); }
}

.hero-content { max-width: 520px; }

.hero-content h1 {
  font-size: clamp(3rem, 6vw, 5rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1px;
  margin-bottom: 24px;
}

.hero-content h1 em {
  font-style: normal;
  color: var(--red);
}

.hero-content p {
  font-size: 1rem;
  color: var(--gray);
  line-height: 1.7;
  margin-bottom: 36px;
  max-width: 400px;
}

.btn-arrow {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 14px 32px;
  border: 1.5px solid var(--black);
  border-radius: 0;
  font-size: 0.88rem;
  font-weight: 500;
  letter-spacing: 0.5px;
  transition: all var(--transition);
}

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

.btn-arrow svg {
  width: 18px;
  height: 18px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
  transition: transform var(--transition);
}

.btn-arrow:hover svg { transform: translateX(4px); }

.btn-filled {
  background: var(--red);
  color: var(--white);
  border-color: var(--red);
}

.btn-filled:hover {
  background: var(--red-hover);
  border-color: var(--red-hover);
  color: var(--white);
}

.hero-scroll {
  position: absolute;
  right: 48px;
  bottom: 48px;
  writing-mode: vertical-rl;
  font-size: 0.7rem;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gray);
  display: flex;
  align-items: center;
  gap: 12px;
}

.hero-scroll::after {
  content: '';
  width: 1px;
  height: 48px;
  background: var(--gray);
}

/* ===== SECTION COMMON ===== */
.section {
  padding: 120px 48px;
  max-width: 1400px;
  margin: 0 auto;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.section:first-of-type { border-top: none; }

.section-dark {
  background: var(--black);
  color: var(--white);
  max-width: none;
  padding: 120px 48px;
  border-top: none;
}

.section-light {
  background: var(--light);
  max-width: none;
  padding: 120px 48px;
  border-top: none;
}

.section-inner {
  max-width: 1400px;
  margin: 0 auto;
}

.section-label {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 16px;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.5px;
  margin-bottom: 16px;
}

.section-desc {
  color: var(--gray);
  font-size: 1rem;
  max-width: 480px;
  line-height: 1.7;
}

/* ===== MARQUEE / STATS ===== */
.marquee {
  padding: 40px 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  border-bottom: 1px solid rgba(0,0,0,0.06);
  overflow: hidden;
}

.marquee-inner {
  display: flex;
  justify-content: center;
  gap: 80px;
  padding: 0 48px;
}

.marquee-stat { text-align: center; }

.marquee-number {
  font-size: 2.4rem;
  font-weight: 800;
  letter-spacing: -1px;
}

.marquee-label {
  font-size: 0.75rem;
  color: var(--gray);
  letter-spacing: 1px;
  text-transform: uppercase;
  margin-top: 4px;
}

/* ===== PRODUCTS ===== */
.products-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 64px;
}

.product-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.06);
  border-radius: 0;
  overflow: hidden;
  transition: all var(--transition);
  cursor: pointer;
}

.product-card:hover {
  box-shadow: 0 20px 60px rgba(0,0,0,0.08);
  transform: translateY(-4px);
}

.product-img {
  aspect-ratio: 4/3;
  background: var(--light);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  position: relative;
}

.product-img img { width: 100%; height: 100%; object-fit: cover; }

.product-img-placeholder {
  font-size: 0.85rem;
  color: var(--gray);
}

.product-body {
  padding: 28px;
}

.product-body h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 6px;
}

.product-body p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
}

.product-sizes {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}

.product-size {
  font-size: 0.72rem;
  padding: 4px 10px;
  border: 1px solid rgba(0,0,0,0.1);
  font-weight: 500;
}

.product-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.product-price {
  font-size: 1.1rem;
  font-weight: 700;
}

.product-price span {
  font-size: 0.75rem;
  font-weight: 400;
  color: var(--gray);
}

.product-link {
  font-size: 0.8rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  transition: gap var(--transition);
}

.product-link:hover { gap: 10px; }

.product-link svg {
  width: 14px;
  height: 14px;
  stroke: currentColor;
  stroke-width: 2;
  fill: none;
}

/* ===== ABOUT / SPLIT ===== */
.split {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 80px;
  align-items: start;
}

.split-image {
  background: var(--light);
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.split-image img { width: 100%; object-fit: cover; display: block; }

.split-content .section-desc { margin-bottom: 32px; }

.steps-minimal {
  display: flex;
  flex-direction: column;
  gap: 24px;
  margin-top: 40px;
}

.step-item {
  display: flex;
  gap: 20px;
  align-items: flex-start;
}

.step-num {
  width: 36px;
  height: 36px;
  min-width: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--black);
  font-size: 0.8rem;
  font-weight: 700;
}

.section-dark .step-num { border-color: var(--white); }

.step-text h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 2px;
}

.step-text p {
  font-size: 0.85rem;
  color: var(--gray);
}

.section-dark .step-text p { color: rgba(255,255,255,0.5); }

/* ===== CTA BANNER ===== */
.cta-banner {
  text-align: center;
}

.cta-banner .section-title { color: var(--white); }
.cta-banner .section-desc {
  margin: 0 auto 40px;
  color: rgba(255,255,255,0.5);
}

.cta-bg {
  background: linear-gradient(rgba(29, 29, 27, 0.85), rgba(29, 29, 27, 0.9)), url('../images/video_poster.jpg') center/cover no-repeat;
}

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

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

/* ===== CALCULATOR ===== */
.calc-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 64px;
  align-items: center;
}

.calc-info { max-width: 440px; }

.calc-card {
  background: var(--white);
  padding: 36px;
  color: var(--black);
}

.calc-inputs {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 16px;
  margin-bottom: 20px;
}

.calc-field-full {
  grid-column: 1 / -1;
}

.calc-coverage-rate {
  font-size: 0.75rem;
  color: var(--gray);
  margin-top: 6px;
}

.calc-field label {
  display: block;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 8px;
}

.calc-input-row {
  display: flex;
  align-items: center;
  border-bottom: 2px solid var(--black);
}

.calc-input-row input {
  width: 100%;
  padding: 10px 0;
  border: none;
  font-family: var(--font);
  font-size: 1.4rem;
  font-weight: 700;
  background: none;
  outline: none;
  -moz-appearance: textfield;
}

.calc-input-row input::-webkit-outer-spin-button,
.calc-input-row input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

.calc-input-row select {
  width: 100%;
  padding: 10px 0;
  border: none;
  font-family: var(--font);
  font-size: 1.1rem;
  font-weight: 700;
  background: none;
  outline: none;
  cursor: pointer;
  -webkit-appearance: none;
}

.calc-unit {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--gray);
  padding-bottom: 10px;
}

.calc-coats-info {
  margin-bottom: 20px;
  padding: 14px 16px;
  background: var(--light);
  border-left: 3px solid var(--red);
}

.calc-coat-tip {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}

.calc-coat-tip strong {
  color: var(--black);
}

.calc-btn { margin-bottom: 0; }

.calc-result {
  margin-top: 24px;
  padding-top: 24px;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.calc-result-header {
  display: flex;
  justify-content: space-between;
  margin-bottom: 16px;
}

.calc-result-area {
  font-size: 0.85rem;
  color: var(--gray);
}

.calc-result-area span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--black);
  display: block;
}

.calc-result-gallons {
  text-align: right;
  font-size: 0.85rem;
  color: var(--gray);
}

.calc-result-gallons span {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--red);
  display: block;
}

.calc-result-divider {
  height: 1px;
  background: rgba(0,0,0,0.08);
  margin-bottom: 16px;
}

.calc-result-label {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--gray);
  margin-bottom: 12px;
}

.calc-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.calc-option {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 16px;
  border: 1.5px solid rgba(0,0,0,0.08);
  transition: all 0.2s;
}

.calc-option:hover { border-color: var(--black); }

.calc-option-best {
  border-color: var(--red);
  background: rgba(188, 47, 44, 0.04);
}

.calc-option-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.calc-option-badge {
  font-size: 0.6rem;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--white);
  background: var(--red);
  padding: 2px 8px;
  border-radius: 2px;
}

.calc-option-name {
  font-size: 0.9rem;
  font-weight: 600;
}

.calc-option-detail {
  font-size: 0.75rem;
  color: var(--gray);
}

.calc-option-price {
  font-size: 0.95rem;
  font-weight: 700;
  text-align: right;
}

.calc-option-ppu {
  font-size: 0.7rem;
  color: var(--gray);
  font-weight: 400;
}

.calc-shop-btn {
  border-color: var(--black);
  color: var(--black);
}

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

@media (max-width: 1024px) {
  .calc-layout { grid-template-columns: 1fr; gap: 40px; }
  .calc-info { max-width: 100%; text-align: center; }
  .calc-info .section-desc { margin: 0 auto; }
}

/* ===== ABOUT DETAILS ===== */
.about-details {
  display: flex;
  flex-direction: column;
  gap: 28px;
  margin-top: 36px;
}

.about-item {
  display: flex;
  gap: 16px;
  align-items: flex-start;
}

.about-icon {
  width: 44px;
  height: 44px;
  min-width: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid rgba(0,0,0,0.08);
  border-radius: 8px;
  color: var(--red);
}

.about-item h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.about-item p {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== APPLICATIONS GRID ===== */
.applications-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 16px;
}

.app-card {
  text-align: center;
  padding: 28px 16px;
  min-height: 220px;
  border: 1px solid rgba(0,0,0,0.06);
  background: var(--white);
  transition: all var(--transition);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.app-card:hover,
.app-card:focus-within,
.app-card.is-flipped {
  border-color: var(--red);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
}

.app-card:hover .app-hover,
.app-card:focus-within .app-hover,
.app-card.is-flipped .app-hover {
  opacity: 1;
  transform: translateY(0);
}

.app-hover {
  position: absolute;
  inset: 0;
  background: var(--black);
  color: var(--white);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 18px 16px;
  text-align: center;
  opacity: 0;
  transform: translateY(10px);
  transition: all 0.3s ease;
  overflow-y: auto;
}

.app-hover h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
  color: var(--red);
  flex-shrink: 0;
}

.app-hover p {
  font-size: 0.78rem;
  color: rgba(255,255,255,0.92);
  line-height: 1.5;
}

.app-icon {
  color: var(--red);
  margin-bottom: 12px;
}

.app-card h4 {
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.app-card p {
  font-size: 0.72rem;
  color: var(--gray);
  line-height: 1.5;
}

/* ===== PRODUCT LINEUP ===== */
.product-lineup-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

.lineup-card {
  background: var(--white);
  border: 1px solid rgba(0,0,0,0.08);
  border-radius: 12px;
  padding: 32px 24px;
  transition: all var(--transition);
  position: relative;
  display: flex;
  flex-direction: column;
}

.lineup-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(0,0,0,0.08);
}

.lineup-card-featured {
  border-color: var(--red);
  background: linear-gradient(135deg, #fff 0%, #fef5f5 100%);
}

.lineup-badge {
  position: absolute;
  top: 16px;
  right: 16px;
  background: var(--red);
  color: var(--white);
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: 20px;
}

.lineup-icon {
  color: var(--red);
  margin-bottom: 16px;
}

.lineup-card h3 {
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 10px;
}

.lineup-desc {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 16px;
  flex: 1;
}

.lineup-stats {
  display: flex;
  flex-direction: column;
  gap: 4px;
  font-size: 0.72rem;
  color: var(--gray);
  border-top: 1px solid rgba(0,0,0,0.06);
  padding-top: 12px;
  margin-bottom: 12px;
}

.lineup-link {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--red);
  transition: color var(--transition);
}

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

/* ===== DOWNLOADS GRID ===== */
.downloads-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.download-card {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 24px 28px;
  border: 1px solid rgba(0,0,0,0.06);
  transition: all var(--transition);
  text-decoration: none;
  color: inherit;
}

.download-card:hover {
  border-color: var(--red);
  box-shadow: 0 8px 24px rgba(0,0,0,0.06);
  transform: translateY(-2px);
}

.download-icon {
  width: 52px;
  height: 52px;
  min-width: 52px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--light);
  border-radius: 8px;
  color: var(--red);
}

.download-info { flex: 1; }

.download-info h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 4px;
}

.download-info p {
  font-size: 0.8rem;
  color: var(--gray);
  line-height: 1.5;
  margin-bottom: 6px;
}

.download-meta {
  font-size: 0.7rem;
  font-weight: 600;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--red);
}

.download-arrow {
  color: var(--gray);
  transition: color var(--transition);
}

.download-card:hover .download-arrow { color: var(--red); }

/* ===== SOCIAL PROOF ===== */
.proof-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 32px;
}

.proof-card {
  text-align: center;
  padding: 32px 20px;
}

.proof-icon {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white);
  border-radius: 50%;
  color: var(--red);
}

.proof-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.proof-card p {
  font-size: 0.82rem;
  color: var(--gray);
  line-height: 1.6;
}

@media (max-width: 1024px) {
  .proof-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
  .proof-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
  .proof-card { padding: 24px 12px; }
}

/* ===== QUOTE FORM ===== */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  margin-top: 64px;
}

.form-info { display: flex; flex-direction: column; justify-content: center; }

.form-info .section-desc { margin-bottom: 32px; }

.form-contact-item {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 16px;
  font-size: 0.9rem;
  text-decoration: none;
  color: inherit;
  transition: color 0.2s;
}

a.form-contact-item:hover {
  color: var(--red);
}

.form-contact-item svg {
  width: 18px;
  height: 18px;
  stroke: var(--red);
  stroke-width: 1.8;
  fill: none;
  min-width: 18px;
}

form { display: flex; flex-direction: column; gap: 16px; }

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

form input,
form select,
form textarea {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  font-family: var(--font);
  font-size: 0.9rem;
  background: transparent;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
}

form input:focus,
form select:focus,
form textarea:focus {
  outline: none;
  border-bottom-color: var(--red);
}

form input::placeholder,
form textarea::placeholder {
  color: var(--gray);
}

form textarea { resize: vertical; min-height: 80px; border: 1px solid rgba(0,0,0,0.12); padding: 14px; margin-top: 8px; }

form button[type="submit"] { align-self: flex-start; margin-top: 8px; }

/* ===== FOOTER ===== */
.footer {
  background: var(--black);
  color: rgba(255,255,255,0.5);
  padding: 64px 48px 32px;
}

.footer-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 48px;
}

.footer-brand p {
  font-size: 0.85rem;
  line-height: 1.7;
  margin-top: 12px;
  max-width: 300px;
}

.footer-logo-img {
  height: 32px;
  width: auto;
}

.footer-logo-text {
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--white);
}

.footer-logo-text span { color: var(--red); }

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

.footer-col h5 {
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--white);
  margin-bottom: 16px;
}

.footer-col ul li { margin-bottom: 8px; }
.footer-col ul a { font-size: 0.85rem; transition: color var(--transition); }
.footer-col ul a:hover { color: var(--white); }

.footer-bottom {
  max-width: 1400px;
  margin: 48px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.08);
  font-size: 0.75rem;
  display: flex;
  justify-content: space-between;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .nav, .hero, .section, .section-dark, .section-light, .footer { padding-left: 32px; padding-right: 32px; }
  .hero { padding: 80px 24px 0; }
  .hero-inner { grid-template-columns: 1fr; text-align: center; gap: 48px; }
  .hero-content { max-width: 100%; margin: 0 auto; }
  .hero-content p { margin: 0 auto 36px; }
  .hero-content .btn-arrow { margin: 0 auto; }
  .hero-image { max-height: 400px; border-radius: 12px; min-height: auto; }
  .hero-video { border-radius: 12px; }
  .hero-scroll { display: none; }
  .products-grid { grid-template-columns: 1fr 1fr; }
  .split { grid-template-columns: 1fr; gap: 48px; }
  .form-grid { grid-template-columns: 1fr; }
  .marquee-inner { gap: 48px; }
  .applications-grid { grid-template-columns: repeat(3, 1fr); }
  .product-lineup-grid { grid-template-columns: repeat(2, 1fr); }
  .downloads-grid { grid-template-columns: 1fr; }
}

@media (max-width: 768px) {
  .nav { padding: 0 24px; height: 64px; }
  .nav-center { display: none; }
  .nav-right .search-icon { display: none; }
  .nav-toggle { display: flex; }

  .nav-center.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: var(--white);
    padding: 32px 24px;
    gap: 24px;
    border-bottom: 1px solid rgba(0,0,0,0.06);
  }

  .hero { min-height: auto; padding-top: 100px; padding-bottom: 48px; }
  .hero, .section, .section-dark, .section-light, .footer { padding-left: 24px; padding-right: 24px; }
  .products-grid { grid-template-columns: 1fr; }
  .marquee-inner { flex-wrap: wrap; gap: 32px; }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; }
  .footer-links { flex-direction: column; gap: 32px; }
  .footer-bottom { flex-direction: column; gap: 8px; text-align: center; }
  .hero-float { display: none; }
  .applications-grid { grid-template-columns: repeat(2, 1fr); }

  .section-title { font-size: clamp(1.6rem, 5vw, 2.4rem); }
  .calc-card { padding: 24px 16px; }
  .calc-inputs { grid-template-columns: 1fr 1fr; }
  .calc-result-option { padding: 14px; }

  .about-layout { flex-direction: column; }
  .about-layout .split { gap: 32px; }

  .footer-logo-img { height: 28px; }
}

@media (max-width: 480px) {
  .hero, .section, .section-dark, .section-light, .footer { padding-left: 16px; padding-right: 16px; }
  .applications-grid { grid-template-columns: 1fr 1fr; gap: 12px; }
  .product-lineup-grid { grid-template-columns: 1fr; }
  .app-card { padding: 16px 8px; }
  .proof-grid { grid-template-columns: 1fr; }
  .proof-card { padding: 20px 16px; }
  .calc-inputs { grid-template-columns: 1fr; }
  .calc-card { padding: 20px 12px; }
  .hero-content h1 { font-size: 2rem; }
  .section-title { font-size: 1.5rem; }
  .form-grid { gap: 32px; margin-top: 40px; }
  .footer-inner { gap: 32px; }
}

/* ===== AUTH PAGE ===== */
.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 120px 24px 60px;
}

.auth-card {
  width: 100%;
  max-width: 440px;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.auth-tab {
  flex: 1;
  padding: 14px 0;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--gray);
  background: none;
  border: none;
  border-bottom: 2px solid transparent;
  cursor: pointer;
  transition: all var(--transition);
}

.auth-tab.active {
  color: var(--black);
  border-bottom-color: var(--black);
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-form input {
  width: 100%;
  padding: 14px 0;
  border: none;
  border-bottom: 1px solid rgba(0,0,0,0.12);
  font-family: var(--font);
  font-size: 0.9rem;
  background: transparent;
  transition: border-color var(--transition);
  border-radius: 0;
  -webkit-appearance: none;
}

.auth-form input:focus {
  outline: none;
  border-bottom-color: var(--red);
}

.auth-form input::placeholder { color: var(--gray); }

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

.auth-submit {
  margin-top: 8px;
  width: 100%;
  justify-content: center;
}

.auth-error {
  font-size: 0.82rem;
  color: var(--red);
  min-height: 0;
}

.auth-note {
  font-size: 0.85rem;
  color: var(--gray);
  line-height: 1.6;
  margin-bottom: 4px;
}

.auth-success {
  text-align: center;
  padding: 40px 0;
}

.auth-success h3 {
  font-size: 1.3rem;
  margin: 20px 0 12px;
}

.auth-success p {
  font-size: 0.9rem;
  color: var(--gray);
  line-height: 1.6;
}

/* ===== NAV AUTH ===== */
.nav-signin {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
  padding: 8px 20px;
  border: 1.5px solid var(--black);
  transition: all var(--transition);
}

.nav-signin:hover {
  background: var(--black);
  color: var(--white);
}

.nav-user-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--black);
}

.nav-logout {
  font-size: 0.78rem;
  color: var(--gray);
  cursor: pointer;
  margin-left: 8px;
  transition: color var(--transition);
}

.nav-logout:hover { color: var(--red); }

#nav-auth-link {
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ===== PRODUCT AUTH GATE ===== */
.product-auth-msg {
  padding: 16px 0;
  text-align: center;
}

.product-auth-msg .btn-arrow {
  font-size: 0.85rem;
  color: var(--red);
  border-color: var(--red);
  padding: 10px 24px;
  display: inline-flex;
}

.product-auth-msg .btn-arrow:hover {
  background: var(--red);
  color: var(--white);
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
}

.faq-item {
  border-bottom: 1px solid rgba(0,0,0,0.08);
}

.faq-item summary {
  padding: 20px 0;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  list-style: none;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: color 0.2s;
}

.faq-item summary:hover {
  color: var(--red);
}

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 400;
  color: var(--gray);
  flex-shrink: 0;
  margin-left: 16px;
  transition: transform 0.2s;
}

.faq-item[open] summary::after {
  content: '\2212';
}

.faq-item summary::-webkit-details-marker {
  display: none;
}

.faq-item p {
  padding: 0 0 20px;
  font-size: 0.9rem;
  line-height: 1.7;
  color: var(--gray);
}

.faq-item a {
  color: var(--red);
  text-decoration: underline;
}

/* ===== BACK TO TOP ===== */
.back-to-top {
  position: fixed;
  bottom: 32px;
  right: 32px;
  width: 44px;
  height: 44px;
  background: var(--black);
  color: var(--white);
  border: none;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s;
  z-index: 99;
}
.back-to-top.visible {
  opacity: 1;
  visibility: visible;
}
.back-to-top:hover {
  background: var(--red);
}

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

/* ===== TESTIMONIALS ===== */
.testimonial-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  max-width: 1200px;
  margin: 0 auto;
}

.testimonial-card {
  padding: 32px;
  background: var(--light);
  border: none;
  border-radius: 12px;
  position: relative;
  transition: box-shadow 0.2s;
}

.testimonial-card:hover {
  box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

.testimonial-quote-icon {
  font-size: 3rem;
  line-height: 1;
  color: var(--red);
  opacity: 0.2;
  position: absolute;
  top: 16px;
  right: 24px;
  font-family: Georgia, serif;
}

.testimonial-stars {
  color: #F5A623;
  font-size: 1.1rem;
  letter-spacing: 2px;
  margin-bottom: 16px;
}

.testimonial-text {
  font-size: 0.95rem;
  line-height: 1.7;
  color: var(--black);
  margin-bottom: 20px;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 12px;
}

.testimonial-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--red);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
  flex-shrink: 0;
}

.testimonial-author-info strong {
  display: block;
  font-size: 0.9rem;
  font-weight: 700;
}

.testimonial-author-info span {
  font-size: 0.8rem;
  color: var(--gray);
}

@media (max-width: 768px) {
  .testimonial-grid { grid-template-columns: 1fr; }
  .testimonial-card { padding: 24px; }
}

/* ===== FLOATING QUOTE CTA ===== */
.floating-cta {
  position: fixed;
  bottom: 24px;
  left: 24px;
  z-index: 90;
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 14px 24px;
  background: var(--red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 50px;
  box-shadow: 0 4px 20px rgba(0,0,0,0.25);
  transition: background 0.2s, transform 0.2s;
  text-decoration: none;
}

.floating-cta:hover {
  background: var(--red-hover);
  transform: translateY(-2px);
}

.floating-cta svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
}

@media (max-width: 768px) {
  .floating-cta { padding: 12px 18px; font-size: 0.78rem; bottom: 16px; left: 16px; }
}

/* ===== FOOTER NEWSLETTER ===== */
.footer-newsletter {
  border-top: 1px solid rgba(255,255,255,0.08);
  padding: 32px 0;
  margin: 0 auto;
  max-width: 1200px;
}

.footer-newsletter input::placeholder {
  color: rgba(255,255,255,0.35);
}

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

/* AI-generated imagery must be labeled as illustration (marketing policy, Oct 2026) */
.ai-caption { font-size: 0.75rem; color: #888; font-style: italic; margin: 6px 0 0; line-height: 1.4; }
.ai-tag { position: absolute; left: 8px; bottom: 8px; z-index: 2; background: rgba(0,0,0,0.65); color: #fff; font-size: 0.7rem; padding: 2px 8px; border-radius: 4px; pointer-events: none; }
.shop-hero > .ai-tag { position: absolute; left: auto; right: 12px; bottom: 10px; }

/* ===== MOBILE PASS (2026-10-15) ===== */
.size-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 32px; max-width: 900px; margin: 48px auto 0; }
.size-grid img { width: 100%; max-width: 180px; }
.m-actionbar { display: none; }
.recaptcha-note { font-size: 0.72rem; opacity: 0.7; }
.recaptcha-note a { color: inherit; text-decoration: underline; }

@media (max-width: 768px) {
  /* Header: logo + sign in + menu only; calling lives in the bottom bar */
  .nav { padding: 0 12px 0 20px; }
  .nav-right { gap: 4px; }
  .nav-right .nav-phone { display: none; }
  .nav-signin { white-space: nowrap; padding: 8px 14px; min-height: 40px; }
  .nav-right .cart-icon { width: 44px; height: 44px; justify-content: center; }
  .nav-toggle { width: 44px; height: 44px; padding: 14px 10px; justify-content: center; box-sizing: border-box; }
  .nav-center.open { padding: 8px 20px 16px; gap: 0; align-items: stretch; max-height: calc(100vh - 64px); overflow-y: auto; box-shadow: 0 12px 24px rgba(0,0,0,0.08); }
  .nav-center.open a { display: flex; align-items: center; min-height: 52px; font-size: 1.05rem; font-weight: 600; border-bottom: 1px solid rgba(0,0,0,0.06); }
  .nav-center.open a:last-child { border-bottom: 0; }
  .nav-center.open a::after, .nav-center.open a::before { display: none; }
  .nav-center.open a.active { color: var(--red); }
  .nav-toggle span { width: 24px; transform-origin: center; }
  .nav-center.open ~ .nav-right .nav-toggle span:nth-child(1) { transform: translateY(6.5px) rotate(45deg); }
  .nav-center.open ~ .nav-right .nav-toggle span:nth-child(2) { opacity: 0; }
  .nav-center.open ~ .nav-right .nav-toggle span:nth-child(3) { transform: translateY(-6.5px) rotate(-45deg); }

  /* One bottom action bar replaces the 3 overlapping floating buttons */
  .floating-cta, .back-to-top { display: none !important; }
  body { padding-bottom: calc(68px + env(safe-area-inset-bottom)); }
  .m-actionbar {
    display: flex; gap: 8px; position: fixed; left: 0; right: 0; bottom: 0; z-index: 200;
    padding: 8px 12px calc(8px + env(safe-area-inset-bottom));
    background: rgba(255,255,255,0.96); backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border-top: 1px solid rgba(0,0,0,0.08);
  }
  .m-act {
    flex: 1; display: inline-flex; align-items: center; justify-content: center; gap: 8px;
    min-height: 48px; border-radius: 8px; font-weight: 700; font-size: 0.95rem; text-decoration: none;
  }
  .m-act svg { width: 18px; height: 18px; flex-shrink: 0; }
  .m-act-call { background: var(--black); color: #fff; }
  .m-act-quote { background: var(--red); color: #fff; }
  .grecaptcha-badge { visibility: hidden !important; }

  /* Tap targets: 44px minimum */
  .footer-col li a, .footer-bottom a { display: inline-flex; align-items: center; min-height: 44px; }
  .footer-col a[title] { min-width: 44px; justify-content: center; }
  html body .blog-filter-btn, html body .tab-btn { min-height: 44px; }
  html body .showcase-card .sc-link { display: inline-flex; align-items: center; min-height: 44px; }
  .form-contact-item { min-height: 44px; }

  /* Readable minimums: 12px floor */
  .section-label { font-size: 0.75rem; letter-spacing: 3px; }
  .footer-col h5 { font-size: 0.75rem; }
  html body .showcase-badge-flagship, html body .blog-card-category, html body .gallery-loc,
  html body .gallery-section-head .kicker, html body .ai-tag, html body .ai-caption { font-size: 0.75rem; }

  .app-card p, .calc-card label { font-size: 0.78rem; }
  html body .gallery-badge { font-size: 0.72rem; }
  .recaptcha-note { font-size: 0.75rem; }
  .info-item > a { display: inline-flex; align-items: center; min-height: 44px; }
  #newsletter-form button { min-height: 44px; }

  /* iOS zooms into any field under 16px; stop it */
  input:not([type=checkbox]):not([type=radio]), select, textarea { font-size: 16px !important; }
}

@media (max-width: 640px) {
  .size-grid { grid-template-columns: 1fr; gap: 28px; max-width: 320px; }
}

@media (max-width: 480px) {
  .chat-bubble { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
  .chat-panel { bottom: calc(140px + env(safe-area-inset-bottom)) !important; max-height: calc(100vh - 220px) !important; }
}
@media (min-width: 481px) and (max-width: 768px) {
  .chat-bubble { bottom: calc(80px + env(safe-area-inset-bottom)) !important; }
  .chat-panel { bottom: calc(146px + env(safe-area-inset-bottom)) !important; }
}

/* Homepage: 4 application cards (index.html) */
.applications-grid.apps-4 { grid-template-columns: repeat(4, 1fr); max-width: 980px; margin-left: auto; margin-right: auto; }
@media (max-width: 1024px) { .applications-grid.apps-4 { grid-template-columns: repeat(2, 1fr); } }
/* photo cards: real project photo fills the card, label sits on a dark gradient */
.apps-4 .app-card { padding: 0; min-height: 0; aspect-ratio: 4 / 5; border: 0; border-radius: 10px; display: flex; flex-direction: column; justify-content: flex-end; text-align: left; isolation: isolate; }
.apps-4 .app-photo { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; transition: transform .6s cubic-bezier(.2,.7,.2,1); }
.apps-4 .app-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(180deg, rgba(0,0,0,0) 45%, rgba(0,0,0,.72) 100%); }
.apps-4 .app-card > h4 { color: #fff; font-size: 1.05rem; margin: 0 20px 4px; }
.apps-4 .app-card > p { color: rgba(255,255,255,.82); font-size: .8rem; margin: 0 20px 20px; }
.apps-4 .app-card:hover, .apps-4 .app-card:focus-within, .apps-4 .app-card.is-flipped { box-shadow: 0 14px 32px rgba(0,0,0,.16); }
.apps-4 .app-card:hover .app-photo { transform: scale(1.05); }
.apps-4 .app-hover { background: rgba(20,20,19,.9); padding: 24px 22px; text-align: left; align-items: flex-start; border-radius: 10px; }
.apps-4 .app-hover p { font-size: .84rem; }
@media (max-width: 640px) { .apps-4 .app-card > h4 { font-size: .95rem; margin: 0 14px 2px; } .apps-4 .app-card > p { margin: 0 14px 14px; font-size: .74rem; } }
@media (prefers-reduced-motion: reduce) { .apps-4 .app-photo { transition: none; } }
.apps-4 .app-card > h4, .apps-4 .app-card > p { transition: opacity .25s ease; }
.apps-4 .app-card:hover > h4, .apps-4 .app-card:hover > p, .apps-4 .app-card:focus-within > h4, .apps-4 .app-card:focus-within > p,
.apps-4 .app-card.is-flipped > h4, .apps-4 .app-card.is-flipped > p { opacity: 0; }
.apps-4 .app-hover { background: rgba(20,20,19,.94); }

/* ===== 3D icon tiles (glossy red tile, solid white glyph) ===== */
.i3d.i3d.i3d {
  position: relative; display: flex; align-items: center; justify-content: center; overflow: hidden; isolation: isolate;
  width: 58px; height: 58px; min-width: 58px; border: 0; border-radius: 17px; color: #fff;
  background: linear-gradient(155deg, #EC6A5F 0%, #CF3A33 42%, #A8231F 100%);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.5), inset 0 -4px 8px rgba(70,8,6,.28),
              0 12px 22px -10px rgba(150,28,24,.7), 0 3px 6px rgba(29,29,27,.12);
  transition: transform .35s cubic-bezier(.2,.8,.2,1), box-shadow .35s ease;
}
.i3d.i3d.i3d::before {               /* glossy top highlight */
  content: ""; position: absolute; z-index: -1; left: 6%; right: 6%; top: 3%; height: 48%; border-radius: 14px 14px 40% 40%;
  background: linear-gradient(180deg, rgba(255,255,255,.42), rgba(255,255,255,0));
}
.i3d.i3d.i3d::after {                /* soft floor reflection */
  content: ""; position: absolute; z-index: -1; left: 18%; right: 18%; bottom: 6%; height: 18%; border-radius: 50%;
  background: radial-gradient(closest-side, rgba(255,190,180,.35), transparent);
}
.i3d .i3d-glyph.i3d-glyph { width: 50%; height: 50%; color: #fff; fill: currentColor; stroke: none; flex-shrink: 0; filter: drop-shadow(0 2px 1.5px rgba(80,10,8,.35)); }
.about-icon.i3d.i3d { width: 50px; height: 50px; min-width: 50px; border-radius: 15px; }
.proof-icon.i3d.i3d, .sc-icon.i3d.i3d { margin: 0 auto 18px; }
.sc-icon.i3d.i3d { width: 64px; height: 64px; border-radius: 19px; }
.proof-card:hover .i3d, .showcase-card:hover .i3d, .about-item:hover .i3d, a:hover > .download-icon.i3d, .download-card:hover .i3d {
  transform: translateY(-3px) rotate(-2deg);
  box-shadow: inset 0 1.5px 0 rgba(255,255,255,.55), inset 0 -4px 8px rgba(70,8,6,.28), 0 18px 28px -12px rgba(150,28,24,.75), 0 4px 8px rgba(29,29,27,.14);
}
@media (prefers-reduced-motion: reduce) { .i3d.i3d.i3d { transition: none; } }

/* small inline tiles: contact lines, hero badges, guide cards */
span.i3d.i3d.i3d { display: inline-flex; vertical-align: middle; }
.i3d.i3d.i3d.i3d-sm { width: 38px; height: 38px; min-width: 38px; border-radius: 11px; }
.i3d.i3d.i3d.i3d-xs { width: 28px; height: 28px; min-width: 28px; border-radius: 8px; box-shadow: inset 0 1px 0 rgba(255,255,255,.5), inset 0 -2px 4px rgba(70,8,6,.28), 0 4px 10px -4px rgba(0,0,0,.45); }
.i3d.i3d.i3d.i3d-md { width: 46px; height: 46px; min-width: 46px; border-radius: 13px; }
.i3d.i3d.i3d.i3d-xs::before, .i3d.i3d.i3d.i3d-sm::before { border-radius: 8px 8px 40% 40%; }
.i3d-xs .i3d-glyph.i3d-glyph { width: 56%; height: 56%; }
.form-contact-item:has(.i3d), .info-item:has(.i3d) { align-items: center; gap: 14px; }
.shop-hero-badge:has(.i3d) { gap: 10px; }
