/* Shared visual layer for all product subpages. */
.ramp-header,
.equip-header {
  align-items: center;
  background: rgba(15, 37, 54, 0.7);
  isolation: isolate;
}

.ramp-header::after,
.equip-header::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -30px;
  left: 0;
  z-index: 0;
  height: 44px;
  pointer-events: none;
  background: linear-gradient(180deg, rgba(15, 37, 54, 0.42), transparent);
  filter: blur(14px);
}

.ramp-header > *,
.equip-header > * { position: relative; z-index: 1; }
.ramp-brand-tag,
.equip-brand-tag { display: none; }
.ramp-nav-area,
.equip-nav-area { margin-top: 0; }
.ramp-nav a,
.equip-nav a { font-size: clamp(1.12rem, 1.14vw, 1.34rem); line-height: 1.2; }
.ramp-lang-flag,
.equip-lang-flag { width: 28px; height: 19px; }

.ramp-hero-copy,
.equip-hero-copy { width: min(620px, 100%); margin-left: auto; text-align: right; }
.ramp-hero-copy h1,
.equip-hero-copy h1 { margin-left: auto; font-size: clamp(2.45rem, 4.35vw, 4.45rem); line-height: 1.02; letter-spacing: -0.025em; }
.ramp-lead,
.equip-lead { margin-left: auto; }
.ramp-hero-actions,
.equip-hero-actions { justify-content: flex-end; }

.ramp-section,
.equip-section { padding: 56px 0; }
.ramp-section-heading,
.equip-section-heading { max-width: 780px; margin-bottom: 24px; }
.ramp-section-heading h2,
.equip-section-heading h2,
.product-category-overview-card h2 { font-family: "Sora", sans-serif; font-size: clamp(2rem, 3vw, 3.2rem); line-height: 1.08; letter-spacing: -0.035em; }
.ramp-eyebrow,
.equip-eyebrow { color: var(--muted); }

.ramp-feature-card,
.equip-feature-card,
.product-category-card,
.product-category-detail-card,
.product-category-proof-grid > *,
.product-category-overview-card,
.ramp-process-item,
.equip-process-item {
  border: 1px solid rgba(24, 35, 45, 0.09);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 250, 0.76));
  box-shadow: 0 18px 48px rgba(24, 35, 45, 0.1);
  backdrop-filter: blur(12px);
}

.ramp-feature-card,
.equip-feature-card,
.product-category-card,
.product-category-detail-card,
.product-category-proof-grid > * { border-radius: var(--radius-lg); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.ramp-feature-card:hover,
.equip-feature-card:hover,
.product-category-card:hover,
.product-category-detail-card:hover,
.product-category-proof-grid > *:hover { border-color: rgba(239, 111, 60, 0.36); box-shadow: 0 24px 58px rgba(24, 35, 45, 0.15); transform: translateY(-4px); }

.product-category-overview-card { display: grid; grid-template-columns: minmax(0, 1fr) minmax(300px, 0.8fr); gap: 24px; padding: 26px; border-radius: var(--radius-xl); }

.ramp-process,
.equip-process { position: relative; isolation: isolate; overflow: visible; }
.product-process-background { position: absolute; top: 0; bottom: 0; left: 50%; z-index: 0; width: 100vw; pointer-events: none; background-image: var(--process-image); background-position: center; background-size: cover; background-repeat: no-repeat; opacity: 0.22; transform: translateX(-50%); }
.ramp-process > :not(.product-process-background),
.equip-process > :not(.product-process-background) { position: relative; z-index: 1; }
.ramp-process-item,
.equip-process-item { border-radius: var(--radius-lg); }

.product-offer-grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: 18px; }
.product-offer-card { position: relative; min-height: 270px; display: flex; align-items: flex-end; padding: 20px; overflow: hidden; border: 1px solid rgba(24, 35, 45, 0.1); border-radius: var(--radius-lg); background-position: center; background-size: cover; background-repeat: no-repeat; box-shadow: 0 20px 52px rgba(24, 35, 45, 0.14); transition: transform 220ms ease, box-shadow 220ms ease, border-color 220ms ease; }
.product-offer-card::before { content: ""; position: absolute; inset: 0; background: linear-gradient(180deg, rgba(9, 16, 23, 0.04), rgba(9, 16, 23, 0.16) 42%, rgba(9, 16, 23, 0.84)); transition: background 220ms ease; }
.product-offer-content { position: relative; z-index: 1; display: grid; gap: 8px; }
.product-offer-tag { color: #ff9a6d; font-size: 0.7rem; font-weight: 800; letter-spacing: 0.15em; text-transform: uppercase; }
.product-offer-card strong { color: #fff; font-family: "Sora", sans-serif; font-size: 1.06rem; line-height: 1.16; letter-spacing: -0.02em; text-shadow: 0 8px 22px rgba(0, 0, 0, 0.24); }
.product-offer-card:hover,
.product-offer-card:focus-visible { border-color: rgba(239, 111, 60, 0.56); box-shadow: 0 28px 64px rgba(24, 35, 45, 0.2); transform: translateY(-5px); }
.product-offer-card:hover::before,
.product-offer-card:focus-visible::before { background: linear-gradient(180deg, rgba(9, 16, 23, 0.02), rgba(9, 16, 23, 0.12) 42%, rgba(9, 16, 23, 0.76)); }

.ramp-cta,
.equip-cta { border: 1px solid rgba(24, 35, 45, 0.09); background: linear-gradient(135deg, rgba(255, 255, 255, 0.9), rgba(247, 249, 250, 0.76)); box-shadow: 0 20px 54px rgba(24, 35, 45, 0.11); }

@media (max-width: 1120px) { .product-offer-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); } }
@media (max-width: 860px) {
  .ramp-hero-copy,
  .equip-hero-copy { width: 100%; margin-left: 0; text-align: left; }
  .ramp-hero-copy h1,
  .equip-hero-copy h1,
  .ramp-lead,
  .equip-lead { margin-left: 0; }
  .ramp-hero-actions,
  .equip-hero-actions { justify-content: flex-start; }
  .product-category-overview-card { grid-template-columns: 1fr; }
  .product-offer-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 14px; }
  .product-offer-card { min-height: 230px; border-radius: var(--radius-md); }
}
@media (max-width: 560px) {
  .ramp-section,
  .equip-section { padding: 38px 0; }
  .product-offer-grid { grid-template-columns: 1fr; }
  .product-offer-card { min-height: 240px; }
}
/* Softer header-to-hero transition across LARISA pages. */
.topbar,
.ramp-header,
.mirror-header,
.equip-header,
.legal-header,
.eu-header {
  border-bottom-color: transparent !important;
  background: linear-gradient(
    180deg,
    rgba(15, 37, 54, 0.74) 0%,
    rgba(15, 37, 54, 0.66) 52%,
    rgba(15, 37, 54, 0.44) 78%,
    rgba(15, 37, 54, 0.08) 100%
  ) !important;
  box-shadow: none !important;
  backdrop-filter: blur(20px) saturate(118%);
}

.topbar::after,
.ramp-header::after,
.mirror-header::after,
.equip-header::after,
.legal-header::after,
.eu-header::after {
  bottom: -48px !important;
  height: 72px !important;
  background: linear-gradient(180deg, rgba(15, 37, 54, 0.3), rgba(15, 37, 54, 0.1) 42%, transparent) !important;
  filter: blur(20px) !important;
}

/* Seamless extended header fade into hero. */
.topbar,
.ramp-header,
.mirror-header,
.equip-header,
.legal-header,
.eu-header {
  border-bottom: 0 !important;
  background: linear-gradient(
    180deg,
    rgba(15, 37, 54, 0.76) 0%,
    rgba(15, 37, 54, 0.7) 54%,
    rgba(15, 37, 54, 0.5) 100%
  ) !important;
  box-shadow: none !important;
  backdrop-filter: blur(22px) saturate(120%);
}

.topbar::after,
.ramp-header::after,
.mirror-header::after,
.equip-header::after,
.legal-header::after,
.eu-header::after {
  top: 100% !important;
  right: 0 !important;
  bottom: auto !important;
  left: 0 !important;
  height: 104px !important;
  background: linear-gradient(
    180deg,
    rgba(15, 37, 54, 0.5) 0%,
    rgba(15, 37, 54, 0.34) 24%,
    rgba(15, 37, 54, 0.16) 54%,
    rgba(15, 37, 54, 0.045) 78%,
    transparent 100%
  ) !important;
  filter: none !important;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}
