:root {
  --poder-navy: #071426;
  --poder-ink: #10223a;
  --poder-muted: #657892;
  --poder-orange: #ff6a00;
  --poder-line: #dce4ed;
  --poder-ice: #eef3f8;
}

.poder-page {
  overflow-x: clip;
  background: #fff;
  color: var(--poder-ink);
}

.poder-page .site-header {
  position: absolute;
  z-index: 20;
  background: rgb(7 20 38 / 62%);
  backdrop-filter: blur(1rem);
}

.poder-page .site-header.site-header--scrolled {
  position: fixed;
  background: rgb(255 255 255 / 98%);
  backdrop-filter: none;
}

.poder-hero {
  position: relative;
  display: grid;
  min-height: min(52rem, 100vh);
  overflow: hidden;
  background: var(--poder-navy);
}

.poder-hero__image,
.poder-hero::after {
  position: absolute;
  inset: 0;
}

.poder-hero__image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.poder-hero::after {
  background: linear-gradient(
    90deg,
    #071426 0%,
    rgb(7 20 38 / 96%) 35%,
    rgb(7 20 38 / 45%) 64%,
    rgb(7 20 38 / 4%) 100%
  );
  content: "";
}

.poder-hero__content,
.poder-intro,
.poder-tour__chapters,
.poder-contact {
  width: min(100% - 3rem, 82rem);
  margin-inline: auto;
}

.poder-hero__content {
  position: relative;
  z-index: 1;
  align-self: center;
  margin-top: 5rem;
  padding: 5rem 0 4.5rem;
  color: #fff;
}

.poder-hero h1,
.poder-intro h2,
.poder-tour h2,
.poder-contact h2 {
  margin: 0;
  letter-spacing: -0.04em;
}

.poder-hero h1 {
  max-width: 42rem;
  font-size: clamp(3rem, 5.6vw, 5.65rem);
  line-height: 0.98;
}

.poder-hero__content > p {
  max-width: 35rem;
  margin: 1.45rem 0 0;
  color: rgb(255 255 255 / 78%);
  font-size: 1.1rem;
  line-height: 1.75;
}

.poder-hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  margin-top: 2rem;
}

.poder-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 3.35rem;
  padding: 0.75rem 1.25rem;
  border: 1px solid transparent;
  border-radius: 999px;
  font: inherit;
  font-weight: 800;
  text-decoration: none;
  cursor: pointer;
  transition:
    transform 180ms ease,
    background-color 180ms ease,
    border-color 180ms ease;
}

.poder-button:hover {
  transform: translateY(-0.12rem);
}

.poder-button--primary {
  background: var(--poder-orange);
  color: var(--poder-navy);
}

.poder-button--primary span {
  margin-left: 0.7rem;
}

.poder-button--secondary {
  border-color: rgb(255 255 255 / 38%);
  background: rgb(255 255 255 / 8%);
  color: #fff;
}

.poder-intro {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(0, 0.8fr);
  gap: clamp(2rem, 8vw, 9rem);
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.poder-intro h2,
.poder-tour h2,
.poder-contact h2 {
  font-size: clamp(2.2rem, 4vw, 4.1rem);
  line-height: 1.04;
}

.poder-intro p,
.poder-tour__chapter p,
.poder-contact__intro p {
  margin: 0;
  color: var(--poder-muted);
  font-size: 1.08rem;
  line-height: 1.75;
}

.poder-tour {
  position: relative;
  min-height: 400vh;
  background: var(--poder-ice);
}

.poder-tour__sticky {
  position: sticky;
  top: 0;
  display: grid;
  place-items: center;
  width: min(100% - 3rem, 82rem);
  height: 100vh;
  margin-inline: auto;
  margin-bottom: 0;
  pointer-events: none;
}

.poder-tour__browser {
  position: absolute;
  left: 0;
  width: min(56vw, 50rem);
  overflow: hidden;
  border: 1px solid #37393e;
  border-radius: 0.75rem;
  background: #101113;
  box-shadow: 0 2.2rem 4.2rem rgb(7 20 38 / 26%);
  transform: translate3d(0, 0, 0);
  transform-origin: center;
  will-change: transform;
}

.poder-tour__screens img {
  display: block;
  width: 100%;
}

.poder-browser__toolbar {
  display: grid;
  grid-template-columns: auto auto minmax(0, 1fr);
  align-items: center;
  gap: clamp(0.3rem, 0.8vw, 0.65rem);
  min-height: clamp(2.05rem, 3.2vw, 2.65rem);
  padding: 0.32rem clamp(0.55rem, 1vw, 0.8rem);
  border-bottom: 1px solid #34363b;
  background: linear-gradient(180deg, #282a2e, #18191b);
}

.poder-browser__traffic,
.poder-browser__navigation {
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

.poder-browser__traffic span {
  width: clamp(0.38rem, 0.7vw, 0.55rem);
  height: clamp(0.38rem, 0.7vw, 0.55rem);
  border-radius: 50%;
  background: #ff5f57;
}

.poder-browser__traffic span:nth-child(2) {
  background: #febc2e;
}

.poder-browser__traffic span:nth-child(3) {
  background: #28c840;
}

.poder-browser__navigation span {
  display: grid;
  width: clamp(1rem, 1.8vw, 1.35rem);
  height: clamp(1rem, 1.8vw, 1.35rem);
  place-items: center;
  color: #b7bbc1;
}

.poder-browser__navigation span:first-child,
.poder-browser__navigation span:nth-child(2) {
  background: transparent;
}

.poder-browser__navigation .is-muted {
  color: #64676d;
}

.poder-browser__toolbar svg {
  width: 58%;
  height: 58%;
  fill: none;
  stroke: currentcolor;
  stroke-linecap: round;
  stroke-linejoin: round;
  stroke-width: 1.8;
}

.poder-browser__address {
  display: flex;
  min-width: 0;
  align-items: center;
  justify-content: center;
  height: 1.35rem;
  padding: 0 0.55rem;
  color: #aeb2b8;
}

.poder-browser__address span {
  overflow: hidden;
  font-size: clamp(0.42rem, 0.9vw, 0.82rem);
  font-weight: 600;
  letter-spacing: -0.02em;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.poder-tour__screens {
  position: relative;
  aspect-ratio: 1.95 / 1;
  overflow: hidden;
  background: #101113;
}

.poder-tour__screens img {
  position: absolute;
  inset: 0;
  height: 100%;
  object-fit: contain;
  opacity: 0;
  transition: opacity 260ms ease;
}

.poder-tour__screens img.is-current {
  opacity: 1;
}

.poder-tour__notice {
  position: absolute;
  bottom: clamp(1.5rem, 5vh, 3.5rem);
  left: 0;
  margin: 0;
  padding: 0.5rem 0.75rem;
  border: 1px solid rgb(255 106 0 / 35%);
  border-radius: 999px;
  background: #fff5ed;
  color: #a44700;
  font-size: 0.76rem;
  font-weight: 700;
}

.poder-tour__controls {
  display: none;
}

.poder-tour__chapters {
  position: absolute;
  inset: 0;
  z-index: 2;
  height: auto;
  pointer-events: none;
}

.poder-tour__chapter {
  position: absolute;
  inset: 0;
  display: grid;
  grid-template-columns: minmax(0, 0.33fr);
  justify-content: end;
  gap: 1rem;
  min-height: 100%;
  margin: 0;
  padding: 0;
  align-content: center;
  opacity: 0;
  visibility: hidden;
  transition:
    opacity 240ms ease,
    visibility 0s linear 240ms;
}

.poder-tour__chapter:nth-child(even) {
  justify-content: start;
}

.poder-tour__chapter.is-current {
  opacity: 1;
  visibility: visible;
  transition-delay: 0s;
}

.poder-tour__chapter p {
  margin-top: 1.35rem;
}

.poder-contact-band {
  background: var(--poder-navy);
}

.poder-contact {
  padding: clamp(5rem, 10vw, 9rem) 0;
}

.poder-contact__intro {
  display: grid;
  grid-template-columns: minmax(0, 0.95fr) minmax(16rem, 0.7fr);
  gap: clamp(2rem, 7vw, 8rem);
  margin-bottom: 2.5rem;
}

.poder-contact__intro h2 {
  color: #fff;
}

.poder-contact__intro p {
  color: rgb(255 255 255 / 72%);
}

.poder-contact__card {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(18rem, 0.86fr);
  overflow: hidden;
  border-radius: 1rem;
  background: #fff;
  box-shadow: 0 1.5rem 3.8rem rgb(7 20 38 / 12%);
}

.poder-contact__form {
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  gap: 1rem;
  padding: clamp(1.5rem, 4vw, 3rem);
}

.poder-contact__form label {
  display: grid;
  gap: 0.38rem;
  color: var(--poder-ink);
  font-size: 0.84rem;
  font-weight: 800;
}

.poder-contact__form b {
  color: var(--poder-orange);
}

.poder-contact__form input,
.poder-contact__form textarea {
  width: 100%;
  border: 1px solid #ced9e5;
  border-radius: 0.7rem;
  padding: 0.78rem 0.85rem;
  background: #fff;
  color: var(--poder-ink);
  font: inherit;
}

.poder-contact__form input:focus,
.poder-contact__form textarea:focus {
  border-color: var(--poder-orange);
  outline: 0.18rem solid rgb(255 106 0 / 18%);
}

.poder-contact__form textarea {
  min-height: 7rem;
  resize: vertical;
}

.poder-contact__message,
.poder-contact__form > p,
.poder-contact__consent,
.poder-contact__form button,
.poder-contact__feedback {
  grid-column: 1 / -1;
}

.poder-contact__form > p {
  margin: -0.5rem 0 0;
  color: var(--poder-muted);
  font-size: 0.73rem;
}

.poder-contact__consent {
  grid-template-columns: 1rem 1fr !important;
  align-items: start;
}

.poder-contact__consent input {
  width: 1rem;
  height: 1rem;
  margin-top: 0.15rem;
  accent-color: var(--poder-orange);
}

.poder-contact__form button[type="submit"] {
  min-height: 3.25rem;
  border: 0;
  border-radius: 0.7rem;
  background: var(--poder-orange);
  color: var(--poder-navy);
  font: inherit;
  font-weight: 800;
  cursor: pointer;
}

.poder-contact__feedback {
  color: #b3261e !important;
}

.poder-contact__feedback.is-success {
  color: #15733a !important;
}

.poder-contact__image {
  min-height: 100%;
  margin: 0;
  background: var(--poder-navy);
}

.poder-contact__image img {
  width: 100%;
  height: 100%;
  min-height: 39rem;
  object-fit: cover;
  object-position: center;
}

@media (max-width: 62rem) {
  .poder-page .site-header {
    position: absolute;
    background: rgb(7 20 38 / 74%);
  }

  .poder-page .site-header.site-header--scrolled {
    position: fixed;
    background: rgb(255 255 255 / 98%);
  }

  .poder-hero {
    min-height: 43rem;
  }

  .poder-hero::after {
    background: linear-gradient(
      90deg,
      rgb(7 20 38 / 95%) 0%,
      rgb(7 20 38 / 62%) 68%,
      rgb(7 20 38 / 18%) 100%
    );
  }

  .poder-hero__image img {
    object-position: 70% center;
  }

  .poder-intro,
  .poder-contact__intro,
  .poder-contact__card {
    grid-template-columns: 1fr;
  }

  .poder-tour {
    min-height: auto;
    padding: 4.5rem 0;
  }

  .poder-tour__sticky {
    position: relative;
    width: min(100% - 2rem, 48rem);
    height: auto;
    min-height: 0;
    margin-bottom: 0;
  }

  .poder-tour__browser {
    position: relative;
    width: 100%;
    left: auto;
  }

  .poder-tour__notice {
    position: relative;
    bottom: auto;
    left: auto;
    justify-self: start;
    margin-top: 1rem;
  }

  .poder-tour__controls {
    display: flex;
    flex-wrap: wrap;
    gap: 0.55rem;
    justify-self: start;
    margin-top: 1rem;
    pointer-events: auto;
  }

  .poder-tour__controls button {
    min-height: 2.55rem;
    border: 1px solid #c9d6e4;
    border-radius: 999px;
    padding: 0.45rem 0.8rem;
    background: #fff;
    color: var(--poder-ink);
    font: inherit;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
  }

  .poder-tour__controls button.is-current {
    border-color: var(--poder-orange);
    background: var(--poder-orange);
    color: var(--poder-navy);
  }

  .poder-tour__controls button:focus-visible {
    outline: 0.2rem solid rgb(255 106 0 / 32%);
    outline-offset: 0.15rem;
  }

  .poder-tour__chapters {
    position: relative;
    top: auto;
    display: grid;
    gap: 3rem;
    height: auto;
    width: min(100% - 2rem, 48rem);
    margin-top: 3rem;
  }

  .poder-tour__chapter,
  .poder-tour__chapter:nth-child(even) {
    position: relative;
    inset: auto;
    grid-template-columns: minmax(0, 1fr);
    justify-content: stretch;
    min-height: auto;
    opacity: 1;
    visibility: visible;
  }

  .poder-tour__chapter:not(.is-current) {
    display: none;
  }

  .poder-contact__image {
    max-height: 32rem;
    order: -1;
  }

  .poder-contact__image img {
    min-height: 0;
    max-height: 32rem;
  }
}

@media (max-width: 40rem) {
  .poder-hero {
    min-height: 43rem;
  }

  .poder-hero__content,
  .poder-intro,
  .poder-contact {
    width: min(100% - 2rem, 78rem);
  }

  .poder-hero__content {
    align-self: end;
    margin-top: 0;
    padding: 10rem 0 3rem;
  }

  .poder-hero::after {
    background: linear-gradient(
      180deg,
      rgb(7 20 38 / 12%) 0%,
      rgb(7 20 38 / 34%) 38%,
      rgb(7 20 38 / 88%) 72%,
      rgb(7 20 38 / 98%) 100%
    );
  }

  .poder-hero h1 {
    font-size: clamp(2rem, 9.2vw, 2.65rem);
  }

  .poder-hero__content > p {
    font-size: 0.98rem;
  }

  .poder-hero__actions,
  .poder-contact__form {
    grid-template-columns: 1fr;
  }

  .poder-hero__actions {
    display: grid;
  }

  .poder-button {
    width: 100%;
  }

  .poder-intro,
  .poder-contact {
    padding-top: 4.5rem;
    padding-bottom: 4.5rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  .poder-button,
  .poder-tour__screens img,
  .poder-tour__chapter {
    transition: none;
  }

  .poder-button:hover {
    transform: none;
  }
}
