/* Main site (webdebarrio.es): sector picker on top of the hub styles. */

.sectors {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
  margin-top: 32px;
}

.sector {
  display: flex;
  flex-direction: column;
  background: var(--white);
  border: 1.5px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  text-decoration: none;
  transition: border-color 0.2s var(--ease);
}

.sector-art {
  position: relative;
  height: 300px;
  overflow: hidden;
  background: var(--green-soft);
}

.sector.tattoo .sector-art {
  background: #ece6e1;
}

.sector-art img {
  position: absolute;
  bottom: -70px;
  width: 30%;
  aspect-ratio: 390 / 844;
  object-fit: cover;
  object-position: top;
  border-radius: 18px;
  border: 5px solid #111;
  box-shadow: 0 20px 40px -14px rgba(0, 0, 0, 0.45);
  transition: translate 0.6s var(--ease);
}

.sector-art img:nth-child(1) {
  left: 9%;
  rotate: -9deg;
}

.sector-art img:nth-child(2) {
  left: 35%;
  bottom: -40px;
  z-index: 2;
}

.sector-art img:nth-child(3) {
  right: 9%;
  rotate: 9deg;
}

.sector-body {
  display: grid;
  gap: 6px;
  padding: 22px 24px 26px;
}

.sector-body small {
  font-weight: 600;
  color: var(--accent-ink);
}

.sector-body h3 {
  font-size: clamp(26px, 3vw, 34px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
}

.sector-body p {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.5;
}

.sector-body .go {
  margin-top: 10px;
  justify-self: start;
}

@media (hover: hover) and (pointer: fine) {
  .sector:hover {
    border-color: var(--green);
  }

  .sector:hover .sector-art img {
    translate: 0 -14px;
  }
}

.other {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 16px 28px;
  margin-top: 18px;
  padding: clamp(22px, 3vw, 30px);
  border: 1.5px dashed var(--accent-ink);
  border-radius: var(--radius);
}

.other h3 {
  font-size: 22px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: var(--green);
}

.other p {
  margin-top: 4px;
  color: var(--muted);
  max-width: 52ch;
}

.price-strip {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px 14px;
  margin-top: 28px;
  font-size: 19px;
}

.price-strip b {
  font-size: clamp(30px, 4vw, 40px);
  font-weight: 800;
  letter-spacing: -0.04em;
  color: var(--green);
}

.price-strip span {
  color: var(--muted);
}

@media (max-width: 820px) {
  .sectors {
    grid-template-columns: 1fr;
  }

  .sector-art {
    height: 240px;
  }
}
