/* Shared visual language for product, technology and solution pages. */

:root {
  --inner-hero-height: clamp(500px, 32vw, 560px);
  --inner-section-space: clamp(48px, 4.5vw, 76px);
}

/* Hero */
.product-hero,
.solution-hero,
.technology-hero {
  height: var(--inner-hero-height);
  min-height: 500px;
}

.product-hero::after,
.solution-hero::after,
.technology-hero::after {
  background: linear-gradient(90deg, rgba(6,14,18,.78) 0%, rgba(6,14,18,.38) 58%, rgba(6,14,18,.1) 100%);
}

.product-hero__copy,
.solution-hero__copy,
.technology-hero__copy {
  width: min(80vw, 1540px);
}

.product-hero h1,
.solution-hero h1,
.technology-hero h1 {
  max-width: 860px;
  margin-bottom: 18px;
  font-size: clamp(40px, 4vw, 60px);
  font-weight: 600;
  line-height: 1.12;
}

.product-hero__lead,
.solution-hero__lead,
.technology-hero__lead {
  max-width: 720px;
  font-size: clamp(16px, 1.25vw, 19px);
  line-height: 1.65;
}

/* Actions and sticky sub-navigation */
.btn-primary,
.btn-outline {
  min-height: 44px;
  padding: 11px 24px;
  border-radius: 999px;
  transition: color var(--duration-fast) ease, background var(--duration-fast) ease, border-color var(--duration-fast) ease;
}

.btn-primary:hover { transform: none; box-shadow: none; background: #7bd2e6; }
.btn-outline:hover { background: rgba(255,255,255,.12); }

.product-subnav { top: 64px; }
.product-subnav__links a:hover,
.product-subnav__links a.is-active { color: var(--blue-dark); }
.product-subnav__links a.is-active::after { height: 2px; }

/* Large editorial modules */
.product-overview,
.technology-intro,
.showcase-block,
.product-card-large,
.module-main {
  border: 0;
  border-radius: 0;
  background: var(--soft);
  box-shadow: none;
}

.product-palazzo .product-overview,
.solution-spatial .showcase-block { background: var(--brand-tint); }

.product-prana .product-overview,
.solution-industrial .showcase-block,
.module-main { background: var(--steel-tint); }

.technology-intro { background: var(--brand-tint); }

.product-overview,
.technology-intro {
  margin-top: var(--inner-section-space);
  margin-bottom: 0;
}

.showcase-block { gap: 0; margin-top: 32px; }
.showcase-block__copy { padding: clamp(36px, 4vw, 60px); }
.showcase-block:hover .showcase-block__media img,
.product-overview:hover .product-overview__media img,
.technology-intro:hover .technology-intro__media img { transform: scale(1.015); }

/* Section rhythm */
.product-features,
.product-specs,
.product-gallery,
.product-support,
.solution-painpoints,
.solution-showcase,
.solution-products,
.solution-cases,
.effects,
.advantages,
.module-main {
  padding-top: var(--inner-section-space);
  padding-bottom: 0;
}

.product-support,
.advantages,
#inquiry-form,
#company-details {
  padding-bottom: var(--inner-section-space);
}

.section-heading { margin-bottom: clamp(24px, 3.5vw, 40px); }
.section-heading h2 { font-weight: 600; }

/* Information cards */
.painpoint-card,
.feature-box,
.advantage-card,
.effect-card,
.ai-scenario-card,
.support-card,
.specs-table-wrap {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: var(--radius-md);
  box-shadow: none;
}

.painpoint-card,
.feature-box,
.advantage-card,
.ai-scenario-card {
  transition: transform var(--duration-normal) var(--ease), border-color var(--duration-fast) ease, box-shadow var(--duration-normal) ease;
}

.painpoint-card:hover,
.feature-box:hover,
.advantage-card:hover,
.ai-scenario-card:hover {
  transform: translateY(-2px);
  border-color: rgba(18,107,132,.28);
  box-shadow: var(--shadow-float);
}

.product-card-large { background: var(--surface-muted); }

.feature-box::before,
.advantage-card::before,
.ai-scenario-card::before { display: none; }

.feature-box__icon,
.advantage-icon {
  color: var(--blue-dark);
  background: rgba(105,201,223,.14);
}

.feature-box:hover .feature-box__icon,
.advantage-card:hover .advantage-icon {
  color: var(--blue-dark);
  background: rgba(105,201,223,.2);
  transform: none;
}

.feature-box__tags .ai-tag,
.advantage-tags .ai-tag,
.ai-scenario-tags .ai-tag,
.ai-tag {
  color: var(--blue-dark);
  background: #fff;
  border: 1px solid rgba(18,107,132,.18);
  border-radius: 5px;
}

/* Technology proof block */
.nobel-science-card {
  padding: 22px 0;
  border: 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.nobel-science-card::before { display: none; }
.nobel-badge-icon { border-radius: 50%; border-color: var(--line); box-shadow: none; }

/* Image-led cards */
.gallery-card,
.case-card {
  display: flex;
  flex-direction: column;
  position: relative;
  border: 0;
  border-radius: 0;
  border-bottom: 1px solid var(--line);
  box-shadow: none;
  background: #fff;
  aspect-ratio: auto;
  height: 100%;
  overflow: hidden;
}

.gallery-card img,
.case-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  height: auto;
  object-fit: cover;
  object-position: center bottom;
  display: block;
  transition: transform .6s var(--ease);
}

.gallery-card:hover img,
.case-card:hover img { transform: scale(1.025); }

.gallery-card__info,
.case-card__info {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  flex: 1;
  padding: 20px 4px 18px;
  background: #fff;
  color: var(--ink);
}

.gallery-card__info h3,
.case-card__info h3 {
  margin: 0 0 8px 0;
  font-size: 18px;
  font-weight: 600;
  color: var(--ink);
  line-height: 1.4;
}

.gallery-card__info p,
.case-card__info p {
  margin: 0;
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--muted);
}

/* Mobile */
@media (max-width: 700px) {
  :root { --inner-hero-height: 400px; --inner-section-space: 56px; }

  .product-hero,
  .solution-hero,
  .technology-hero { height: var(--inner-hero-height); min-height: var(--inner-hero-height); }

  .product-hero__copy,
  .solution-hero__copy,
  .technology-hero__copy { width: calc(100% - 40px); }

  .product-hero h1,
  .solution-hero h1,
  .technology-hero h1 { font-size: 34px; }

  .product-subnav { top: 56px; }
  .product-overview,
  .technology-intro { margin-top: 40px; margin-bottom: 40px; }
  .painpoint-card:hover,
  .feature-box:hover,
  .advantage-card:hover,
  .ai-scenario-card:hover { transform: none; box-shadow: none; }
}
