/* Landing page — landing-page-only styles for landing page content type */

/* Landing page — Header paragraph (full-viewport hero) */
.paragraph--type--header {
  width: 100%;
  margin: 0;
  padding: 0;
}

body.node-type-landing_page .paragraph--type--header,
body.path-landing .paragraph--type--header {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -51.1vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}

.landing-hero.header-hero {
  --landing-hero-pad-x: clamp(1rem, 4vw, 2.5rem);
  --landing-hero-pad-y: clamp(1.25rem, 3vw, 2rem);
  position: relative;
  width: 100%;
  min-height: 100vh;
  min-height: 100dvh;
  background-color: #1a1a1a;
  background-image: var(--landing-hero-bg);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: #fff;
  overflow: hidden;
}

.landing-hero__overlay {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.35) 0%,
    rgba(0, 0, 0, 0.12) 45%,
    rgba(0, 0, 0, 0.45) 100%
  );
  pointer-events: none;
}

.landing-hero__inner {
  position: relative;
  z-index: 2;
  min-height: 100vh;
  min-height: 100dvh;
  padding: var(--landing-hero-pad-y) var(--landing-hero-pad-x) clamp(2rem, 6vh, 4rem);
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.65s ease;
}

.landing-hero.is-ready .landing-hero__inner {
  opacity: 1;
}

.landing-hero__logo {
  position: absolute;
  top: var(--landing-hero-pad-y);
  left: var(--landing-hero-pad-x);
  z-index: 3;
  display: block;
  line-height: 0;
}

.landing-hero__logo-img {
  display: block;
  height: clamp(36px, 5vw, 52px);
  width: auto;
  max-width: min(200px, 45vw);
  filter: brightness(0) invert(1);
}

.landing-hero__nav {
  position: absolute;
  top: var(--landing-hero-pad-y);
  left: 50%;
  transform: translateX(-50%);
  z-index: 3;
  padding-top: 0.35rem;
  max-width: calc(100% - 12rem);
}

.landing-hero__nav-list {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: clamp(1rem, 3vw, 2.75rem);
  list-style: none;
  margin: 0;
  padding: 0;
}

.landing-hero__nav-link {
  font-family:'Scala Sans Pro', sans-serif;
  font-weight: 700;
  font-style: normal;
  font-size: clamp(0.7rem, 1.1vw, 0.8125rem);
  letter-spacing: 0.12em;
  color: #fff;
  text-decoration: none;
  transition: opacity 0.25s ease, color 0.25s ease;
  line-height: 20px;
  letter-spacing: 0.2px;
}

.landing-hero__nav-link:hover,
.landing-hero__nav-link:focus-visible {
  opacity: 0.85;
  outline: none;
}

.landing-hero__nav-link:focus-visible {
  text-decoration: underline;
  text-underline-offset: 0.25em;
}

.landing-hero__scroll {
  position: absolute;
  left: var(--landing-hero-pad-x);
  top: 50%;
  transform: translateY(-50%);
  z-index: 3;
}

.landing-hero__scroll-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  padding: 0.5rem;
  margin: 0;
  border: none;
  background: transparent;
  cursor: pointer;
  color: #fff;
  transition: opacity 0.25s ease;
}

.landing-hero__scroll-btn:hover,
.landing-hero__scroll-btn:focus-visible {
  opacity: 0.85;
  outline: none;
}

.landing-hero__scroll-btn:focus-visible .landing-hero__scroll-line {
  background: rgba(255, 255, 255, 0.95);
}

.landing-hero__scroll-label {
  font-family: 'Inter', sans-serif;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  writing-mode: vertical-rl;
  transform: rotate(180deg);
  white-space: nowrap;
}

.landing-hero__scroll-line {
  display: block;
  width: 1px;
  height: 2.5rem;
  background: rgba(255, 255, 255, 0.95);
}

.landing-hero__headline {
  position: absolute;
  left: 50%;
  bottom: clamp(2rem, 6vh, 4rem);
  transform: translate(-50%, 12px);
  width: 100%;
  max-width: 48rem;
  padding: 0 1rem;
  text-align: center;
  z-index: 3;
  box-sizing: border-box;
  opacity: 0;
  transition: opacity 0.75s ease 0.12s, transform 0.75s ease 0.12s;
}

.landing-hero.is-ready .landing-hero__headline {
  opacity: 1;
  transform: translate(-50%, 0);
}

.landing-hero__title {
  font-family: 'Montserrat', sans-serif;
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  font-weight: 600;
  line-height: 1.2;
  margin: 0 0 0.5rem;
  color: #fff;
}

.landing-hero__subtitle {
  font-family:'Scala Sans Pro', sans-serif;
  font-size: clamp(0.95rem, 1.6vw, 1.125rem);
  font-weight: 400;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.92);
}

.landing-hero__subtitle p {
  margin: 0;
}

@media (max-width: 767px) {
  .landing-hero__logo {
    position: static;
    margin: 0 auto 1rem;
  }

  .landing-hero__nav {
    position: static;
    transform: none;
    max-width: 100%;
    margin-bottom: 1.5rem;
  }

  .landing-hero__nav-list {
    gap: 0.65rem 1rem;
  }

  .landing-hero__scroll {
    position: static;
    transform: none;
    margin: 0 auto 2rem;
  }

  .landing-hero__scroll-label {
    font-size: 0.58rem;
  }

  .landing-hero__inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: clamp(2rem, 8vh, 4rem);
  }

  .landing-hero__headline {
    position: static;
    transform: translateY(12px);
    margin-top: auto;
    padding-bottom: 2rem;
  }

  .landing-hero.is-ready .landing-hero__headline {
    transform: translateY(0);
  }
}

body.node-type-landing_page,
body.path-landing {
  overflow-x: hidden;
}

.paragraph--type--header .logo-nauma,
.landing-hero .logo-nauma {
  position: absolute;
  left: var(--landing-hero-pad-x);
  z-index: 10;
  width: 391px;
  height: auto;
  max-width: calc(100% - (var(--landing-hero-pad-x) * 2));
  filter: brightness(0) invert(1);
  pointer-events: none;
}

@media (max-width: 767px) {
  .paragraph--type--header .logo-nauma,
  .landing-hero .logo-nauma {
    left: 50%;
    transform: translateX(-50%);
    top: clamp(2rem, 8vh, 4rem);
    width: 120px;
    height: auto;
  }
}

.landing-hero__logo {
  width: 391px;
  height: auto;
}

body.node-type-landing_page .paragraph--type--company-presentation,
body.path-landing .paragraph--type--company-presentation {
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -51.1vw;
  margin-right: -50vw;
  width: 100vw;
  max-width: 100vw;
}

.company-presentation {
  position: relative;
  background-color: #f5f2ef;
  overflow: hidden;
}

.company-presentation::before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  width: min(90vw, 490px);
  height: min(90vw, 570px);
  background-image: url("../images/texture.png");
  background-repeat: no-repeat;
  background-position: top right;
  background-size: contain;
  opacity: 0.55;
  pointer-events: none;
  z-index: 0;
}

.company-presentation__inner {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: none;
  margin: 0;
  padding: clamp(3rem, 7vw, 4.5rem) clamp(1.25rem, 5vw, 3rem);
  box-sizing: border-box;
  transition: opacity 0.65s ease, transform 0.65s ease;
}

.company-presentation.js-company-presentation:not(.is-visible) .company-presentation__inner {
  opacity: 0;
  transform: translateY(16px);
}

@media (prefers-reduced-motion: reduce) {
  .company-presentation__inner {
    transition: none;
  }

  .company-presentation.js-company-presentation:not(.is-visible) .company-presentation__inner {
    opacity: 1;
    transform: none;
  }
}

.company-presentation__intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
  gap: clamp(2rem, 5vw, 3.5rem);
  align-items: center;
  margin: 0 auto clamp(3rem, 6vw, 2.5rem);
  max-width: 1200px;
}

.company-presentation__title {
  font-family:'Scala Sans Pro', sans-serif;
  font-size: clamp(1.75rem, 3.2vw, 2.35rem);
  font-weight: 400;
  line-height: 90px;
  color: #2d2d2d;
  margin: 0 0 1.25rem;
}

.company-presentation__subtitle {
  font-size: clamp(0.95rem, 1.35vw, 1.0625rem);
  font-weight: 400;
  line-height: 39px;
  color: #3a3a3a;
  margin: 0;
}

.company-presentation__subtitle p {
  margin: 0;
  font-family:'Scala Sans Pro', sans-serif;
}

.company-presentation__intro-media {
  position: relative;
  border-radius: clamp(16px, 2vw, 24px);
  overflow: hidden;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.company-presentation__intro-media img,
.company-presentation__intro-media picture img {
  display: block;
  width: 100%;
  height: auto;
  vertical-align: middle;
}

/* Full-width features band: three columns, left-aligned content */
.company-presentation__features {
  width: 100%;
  margin: 0;
  padding: clamp(2.5rem, 7vw, 2rem) 0;
  box-sizing: border-box;
}

/*
 * Theme override field--paragraph--field-items--company-presentation.html.twig outputs:
 * .features-grid > .field.field__items > article × 3 (no per-delta wrappers).
 * Grid applies to the .field__items element so the three cards are columns.
 */
.company-presentation__features-grid {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  box-sizing: border-box;
}

.company-presentation__features-grid .field__items {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(2rem, 5vw, 4rem);
  align-items: center;
  width: 90%;
  margin: 0 auto;
  padding: 0;
  box-sizing: border-box;
}

.company-presentation__features-grid .field__item {
  margin: 0;
  padding: 0;
  min-width: 0;
}

.company-presentation__feature {
  display: flex;
  flex-direction: column;
  align-items: anchor-center;
  text-align: left;
  max-width: 26rem;
}

.company-presentation__feature-icon {
  position: relative;
  width: 6.25rem;
  height: 6.25rem;
  flex-shrink: 0;
  margin: 0 0 1.5rem;
}

.company-presentation__feature-icon-ring {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  background:
    repeating-radial-gradient(
      circle at center,
      transparent 0,
      transparent 3px,
      rgba(0, 0, 0, 0.045) 3px,
      rgba(0, 0, 0, 0.045) 4px
    ),
    radial-gradient(
      circle at 30% 30%,
      rgba(255, 255, 255, 0.4) 0%,
      transparent 55%
    );
  box-shadow: inset 0 0 0 1px rgba(0, 0, 0, 0.04);
  opacity: 1;
}

.company-presentation__feature-icon-media {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.125rem;
}

.company-presentation__feature-icon-media img,
.company-presentation__feature-icon-media picture img {
  max-width: 100%;
  max-height: 3.25rem;
  width: auto;
  height: auto;
  object-fit: contain;
  filter: brightness(0);
}

.company-presentation__feature-title {
  font-family:'Scala Sans Pro', sans-serif;
  font-size: clamp(1.125rem, 1.65vw, 1.35rem);
  font-weight: 400;
  color: #b0916e;
  margin: 0 0 1rem;
  text-align: left;
  line-height: 1.25;
}

.company-presentation__feature-body {
  font-family:'Scala Sans Pro', sans-serif;
  font-size: clamp(0.9rem, 1.15vw, 1rem);
  font-weight: 400;
  line-height: 1.7;
  color: #555;
  margin: 0;
  text-align: center;
}

.company-presentation__quote {
  margin: clamp(2.5rem, 5vw, 3.5rem) auto 0;
  padding: 0 clamp(1rem, 3vw, 1.5rem);
  max-width: 52rem;
  border: none;
  text-align: center;
}

.company-presentation__quote-text div{
  font-family:'Scala Sans Pro', sans-serif;
  font-size: clamp(0.8rem, 1.15vw, 0.95rem);
  font-weight: 500;
  letter-spacing: 0.06em;
  line-height: 1.65;
  text-transform: uppercase;
  color: #888;
  margin: 0;
}

.company-presentation__quote-text strong {
  font-weight: 700;
  color: #6a6a6a;
}

/* Hide field labels if any formatter still outputs them */
.company-presentation .field__label,
.company-presentation__feature .field__label {
  display: none !important;
}

@media (max-width: 992px) {
  .company-presentation__features-grid .field__items {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: clamp(2rem, 4vw, 2.5rem);
  }

  .company-presentation__feature {
    max-width: none;
  }
}

@media (max-width: 767px) {
  .company-presentation__intro {
    grid-template-columns: 1fr;
  }

  .company-presentation__features-grid .field__items {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .company-presentation__feature {
    max-width: 100%;
  }
}

/* Landing page layout adjustments */
body.node-type-landing_page #header.header,
body.node-type-landing_page #navigation.navigation,
body.path-landing #header.header,
body.path-landing #navigation.navigation {
  display: none;
}

body.node-type-landing_page #footer.footer,
body.path-landing #footer.footer {
  display: none;
}
