/* Hero editorial e portfólio integrado */
.cinematic-hero {
  position: relative;
  height: clamp(500px, 35vw, 560px);
  min-height: 500px;
  overflow: hidden;
  isolation: isolate;
  background: var(--blue-deep);
  color: #fff;
}

.cinematic-stage,
.cinematic-stage img,
.cinematic-overlay {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}

.cinematic-brand-row {
  position: absolute;
  z-index: 3;
  top: auto;
  right: max(20px, calc((100% - var(--container)) / 2));
  bottom: 94px;
  left: auto;
  width: auto;
  margin: 0;
  transform: none;
}

.cinematic-brand-lockup {
  display: inline-flex;
  align-items: center;
  gap: 17px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 255, 255, .75);
  border-radius: 11px;
  background: rgba(255, 255, 255, .94);
  box-shadow: 0 12px 30px rgba(2, 18, 35, .2);
}

.cinematic-brand-lockup .brand-logo--alfa {
  height: 38px;
}

.cinematic-brand-lockup .brand-logo--gvs {
  height: 39px;
}

.cinematic-brand-lockup .brand-divider {
  height: 36px;
  background: #dce6ef;
}

.cinematic-stage {
  z-index: -2;
  overflow: hidden;
  background: var(--blue-deep);
}

.cinematic-stage img {
  object-fit: cover;
  object-position: 62% center;
  transform: scale(1.002);
  transition: opacity .18s ease, transform .18s ease;
}

.cinematic-overlay {
  z-index: 1;
  background:
    linear-gradient(90deg, rgba(2, 18, 35, .94) 0%, rgba(3, 29, 54, .86) 31%, rgba(3, 31, 59, .48) 57%, rgba(3, 27, 51, .16) 79%, rgba(2, 20, 39, .28) 100%),
    linear-gradient(180deg, rgba(2, 19, 36, .08) 45%, rgba(2, 18, 35, .74) 100%);
}

.cinematic-inner {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  padding: 56px 0 112px;
}

.cinematic-content {
  min-width: 0;
  width: min(690px, 62vw);
  transition: opacity .16s ease, transform .16s ease;
}

.cinematic-content h1 {
  max-width: 720px;
  margin: 0;
  color: #fff;
  font-size: clamp(48px, 4.35vw, 68px);
  font-weight: 780;
  line-height: 1.01;
  letter-spacing: -.052em;
  text-wrap: balance;
}

.cinematic-content p {
  max-width: 620px;
  margin: 24px 0 0;
  color: rgba(255, 255, 255, .82);
  font-size: clamp(16px, 1.2vw, 18px);
  line-height: 1.62;
}

.cinematic-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 24px;
}

.cinematic-home,
.cinematic-catalog {
  display: inline-flex;
  min-height: 46px;
  align-items: center;
  gap: 10px;
  padding: 0 19px;
  border: 1px solid rgba(255, 255, 255, .62);
  border-radius: 999px;
  color: #fff;
  font-size: 14px;
  font-weight: 780;
  text-decoration: none;
  transition: background-color .16s ease, border-color .16s ease, color .16s ease, transform .16s ease;
}

.cinematic-home {
  position: absolute;
  z-index: 4;
  top: 24px;
  left: max(20px, calc((100% - var(--container)) / 2));
  min-height: 34px;
  padding: 0 12px;
  border-color: rgba(255, 255, 255, .28);
  background: rgba(2, 20, 39, .18);
  color: rgba(255, 255, 255, .72);
  font-size: 12px;
  font-weight: 650;
}

.cinematic-home:hover {
  border-color: rgba(255, 255, 255, .68);
  background: rgba(255, 255, 255, .1);
  color: #fff;
}

.cinematic-catalog:hover {
  border-color: #fff;
  background: #fff;
  color: var(--blue-deep);
}

.cinematic-catalog[hidden] {
  display: none;
}

.portfolio-experience {
  --line-menu-height: 74px;
  position: relative;
  z-index: 4;
  margin-top: calc(-1 * var(--line-menu-height));
}

.cinematic-filter-shell {
  position: sticky;
  z-index: 45;
  top: 0;
  width: 100%;
  min-height: var(--line-menu-height);
  border-top: 1px solid rgba(255, 255, 255, .15);
  border-bottom: 1px solid rgba(255, 255, 255, .12);
  background: rgba(2, 20, 39, .96);
  box-shadow: 0 12px 30px rgba(6, 42, 77, .18);
  scroll-margin-top: 0;
}

.cinematic-filters {
  display: grid;
  grid-template-columns: repeat(7, minmax(0, 1fr));
  width: min(calc(100% - 40px), var(--container));
  margin: 0 auto;
}

.cinematic-filters button {
  position: relative;
  display: flex;
  min-width: 0;
  min-height: var(--line-menu-height);
  align-items: center;
  justify-content: center;
  padding: 0 13px;
  border: 0;
  border-bottom: 4px solid transparent;
  background: transparent;
  color: rgba(255, 255, 255, .9);
  font: inherit;
  font-size: clamp(12px, 1vw, 15px);
  font-weight: 760;
  line-height: 1.2;
  text-align: center;
  cursor: pointer;
  transition: color .16s ease, background-color .16s ease, border-color .16s ease;
}

.cinematic-filters button:hover {
  background: rgba(255, 255, 255, .045);
  color: #fff;
}

.cinematic-filters button.is-active {
  border-bottom-color: var(--green);
  background: transparent;
  color: var(--green);
}

.cinematic-filters button:focus-visible,
.cinematic-home:focus-visible,
.cinematic-catalog:focus-visible,
.mobile-line-picker select:focus-visible {
  outline: 3px solid #fff;
  outline-offset: -5px;
}

.mobile-line-picker {
  display: none;
}

.cinematic-hero.is-changing .cinematic-stage img {
  opacity: .2;
  transform: scale(1.012);
}

.cinematic-hero.is-changing .cinematic-content {
  opacity: .2;
  transform: translateY(7px);
}

.integrated-products {
  position: relative;
  z-index: 3;
  margin: 0;
  padding: 0 0 clamp(82px, 8vw, 120px);
  overflow: visible;
  border-radius: 0;
  background: #fff;
}

.portfolio-toolbar {
  display: flex;
  min-height: 92px;
  align-items: center;
  border-bottom: 1px solid var(--line);
  background: #fff;
}

.portfolio-search-sticky {
  position: sticky;
  z-index: 44;
  top: calc(100vh - 92px);
  top: calc(100svh - 92px);
  display: flex;
  height: 68px;
  align-items: center;
  justify-content: center;
  margin-bottom: -68px;
  pointer-events: none;
}

.portfolio-toolbar .results-summary {
  margin: 0;
  color: var(--blue-deep);
  font-size: 15px;
  font-weight: 720;
}

.portfolio-toolbar .results-summary strong {
  margin-right: 5px;
  color: var(--green-dark);
  font-size: 28px;
  font-weight: 840;
  letter-spacing: -.035em;
}

.portfolio-search-sticky .search-field {
  width: min(460px, 52vw);
  min-height: 56px;
  flex: 0 0 auto;
  border: 2px solid var(--blue);
  border-radius: 999px;
  box-shadow: 0 18px 50px rgba(2, 20, 39, .3), 0 0 0 5px rgba(255, 255, 255, .88);
  pointer-events: auto;
}

.portfolio-search-sticky .search-field > span[aria-hidden] {
  font-size: 20px;
  font-weight: 800;
}

.portfolio-search-sticky .search-field input {
  font-size: 15px;
  font-weight: 650;
}

.integrated-products .product-grid {
  gap: 20px;
}

.integrated-products .product-card {
  min-height: 430px;
  border-radius: 14px;
}

.integrated-products .product-image {
  width: calc(100% - 20px);
  height: 220px;
  margin: 10px 10px 0;
  border-radius: 9px;
  overflow: hidden;
}

.integrated-products .product-content {
  padding: 18px 20px 22px;
}

.integrated-products .product-content h3 {
  margin-top: 7px;
  font-size: 18px;
}

.integrated-products .product-content p {
  margin-top: 9px;
  line-height: 1.55;
}

.integrated-products .text-button {
  padding-top: 17px;
}

@media (max-width: 1180px) {
  .cinematic-hero {
    height: clamp(560px, 62vw, 640px);
    min-height: 560px;
  }

  .cinematic-inner {
    padding-bottom: 108px;
  }

  .cinematic-content {
    width: min(680px, 76vw);
  }

  .cinematic-content h1 {
    font-size: clamp(48px, 6.4vw, 64px);
  }

  .portfolio-experience {
    --line-menu-height: 74px;
  }

  .cinematic-filter-shell {
    min-height: var(--line-menu-height);
  }

  .cinematic-filters {
    grid-template-columns: repeat(7, minmax(0, 1fr));
    width: min(calc(100% - 30px), var(--container));
  }

  .cinematic-filters button {
    min-width: 0;
    min-height: var(--line-menu-height);
    padding-inline: 7px;
    font-size: clamp(11px, 1.25vw, 13px);
    overflow-wrap: anywhere;
  }
}

@media (max-width: 720px) {
  .cinematic-hero {
    height: 620px;
    min-height: 620px;
  }

  .cinematic-stage img {
    object-position: 63% center;
  }

  .cinematic-brand-row {
    top: auto;
    right: 12px;
    bottom: 92px;
    left: auto;
  }

  .cinematic-brand-lockup {
    gap: 12px;
    padding: 11px 14px;
    border-radius: 9px;
  }

  .cinematic-brand-lockup .brand-logo--alfa {
    height: 30px;
  }

  .cinematic-brand-lockup .brand-logo--gvs {
    height: 31px;
  }

  .cinematic-brand-lockup .brand-divider {
    height: 29px;
  }

  .cinematic-overlay {
    background:
      linear-gradient(90deg, rgba(2, 17, 33, .84) 0%, rgba(3, 29, 54, .58) 58%, rgba(3, 25, 48, .24) 100%),
      linear-gradient(180deg, rgba(2, 19, 36, .06) 16%, rgba(2, 20, 38, .44) 48%, rgba(2, 17, 33, .96) 86%);
  }

  .cinematic-inner {
    align-items: flex-end;
    padding: 70px 0 112px;
  }

  .cinematic-content {
    width: calc(100% - 12px);
  }

  .cinematic-content h1 {
    max-width: 560px;
    font-size: clamp(38px, 10.2vw, 48px);
    line-height: 1;
    text-wrap: wrap;
  }

  .cinematic-content p {
    max-width: 540px;
    margin-top: 19px;
    font-size: 15px;
    line-height: 1.55;
    overflow-wrap: break-word;
  }

  .cinematic-actions {
    gap: 10px;
    margin-top: 20px;
  }

  .cinematic-catalog {
    min-height: 44px;
  }

  .cinematic-home {
    top: 18px;
    left: 12px;
  }

  .portfolio-experience {
    --line-menu-height: 72px;
  }

  .cinematic-filter-shell {
    min-height: var(--line-menu-height);
  }

  .cinematic-filters {
    display: none;
  }

  .mobile-line-picker {
    position: relative;
    display: flex;
    width: min(calc(100% - 24px), 520px);
    min-height: var(--line-menu-height);
    align-items: center;
    margin: 0 auto;
  }

  .mobile-line-picker::after {
    content: "⌄";
    position: absolute;
    right: 17px;
    color: var(--green);
    font-size: 20px;
    line-height: 1;
    pointer-events: none;
  }

  .mobile-line-picker select {
    width: 100%;
    min-height: 48px;
    appearance: none;
    padding: 0 46px 0 17px;
    border: 1px solid rgba(255, 255, 255, .25);
    border-radius: 9px;
    background: rgba(255, 255, 255, .08);
    color: #fff;
    font: inherit;
    font-size: 14px;
    font-weight: 760;
    cursor: pointer;
  }

  .mobile-line-picker select option {
    background: var(--blue-deep);
    color: #fff;
  }

  .portfolio-toolbar {
    min-height: 72px;
  }

  .portfolio-toolbar .results-summary {
    min-width: 0;
    flex: 1 1 auto;
    font-size: 11px;
    line-height: 1.2;
  }

  .portfolio-toolbar .results-summary strong {
    display: block;
    margin: 0;
    font-size: 21px;
    line-height: 1;
  }

  .portfolio-search-sticky {
    top: calc(100vh - 84px);
    top: calc(100svh - 84px);
    height: 64px;
    margin-bottom: -64px;
  }

  .portfolio-search-sticky .search-field {
    width: min(calc(100% - 20px), 420px);
    min-height: 52px;
    flex: 0 0 auto;
    gap: 7px;
    padding-inline: 16px;
    font-size: 14px;
  }

  .integrated-products .product-card {
    min-height: 410px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .cinematic-stage img,
  .cinematic-content,
  .cinematic-catalog,
  .cinematic-filters button {
    transition: none;
  }
}
