/* ––––––––– HERO ––––––– */

section.hero {
  position: relative;
  padding-top: calc(var(--section-padding) + var(--header-height));

  background-position: center center;
  background-size: cover;
  isolation: isolate;
}

section.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(to left, rgba(2, 25, 45, 0) 0%, rgba(2, 25, 45, 0.6) 114.62%);
  z-index: -1;

  pointer-events: none;
  user-select: none;
}
section.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: inherit;
  background-size: cover;
  background-position: center;
  filter: blur(20px);
  mask-image: linear-gradient(to right, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0.5) 70%, rgba(0, 0, 0, 0.1) 100%);
  z-index: -1;

  pointer-events: none;
  user-select: none;
}

section.hero .container {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
  padding-bottom: 4rem;
}
section.hero .container::after {
  content: "";
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  display: block;
  width: 40%;
  height: 2px;
  background-color: var(--btn-bg);
}
section.hero .container img {
  max-width: 220px;
  margin-bottom: 1rem;
}
section.hero .container h1 {
  font-family: var(--font-playfair);
  font-size: var(--text-2xl);
  line-height: 1.1;
  letter-spacing: 0.01em;
  color: var(--color-white);
  margin-bottom: 1rem;
}
section.hero .container p {
  font-weight: 400;
  font-size: 1rem;
  line-height: 1;
  letter-spacing: 0.01em;
  text-align: center;
  color: var(--color-white);
}

section.services ul > li {
  cursor: pointer;
  transition: color 0.3s var(--ease);
}
@media (hover: hover) {
  section.services ul > li:hover {
    color: var(--hover-primary);
  }
}
section.services ul > li:active {
    color: var(--active-primary);
  }

/* –––––––––––––– ACTIONS –––––––––––– */

section.actions > div {
  display: grid;
  gap: 2rem;
  margin-top: 2rem;
}
section.actions > div article {
  display: grid;
  grid-template-rows: subgrid;
  grid-row: span 3;
  row-gap: 1rem;
}

section.actions .btn {
  margin-top: 3rem;
  width: 100%;
}

@media screen and (min-width: 640px) {
  section.actions > div {
    grid-template-columns: repeat(auto-fill, minmax(min(275px, 100%), 1fr));
  }
}
@media screen and (min-width: 1024px) {
  section.actions > div {
    grid-template-columns: repeat(2, minmax(min(375px, 100%), 1fr));
  }
}
