:root {
  --blue: #004899;
  --pink: #f7bbb2;
  --olive: #888c71;
  --bg: #ffffff;
  --text: #004899;
  --top-offset: 34px;
  --arrow-size-desktop: 62px;
  --arrow-size-mobile: 52px;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
  min-height: 100%;
}

body {
  font-family: "Work Sans", sans-serif;
  font-weight: 400;
  background: var(--bg);
  color: var(--text);
}

.page-wrap {
  max-width: 1560px;
  margin: 0 auto;
  min-height: 100vh;
  padding: 22px 44px 34px;
  position: relative;
}

.top-link {
  position: relative;
  float: right;
  width: var(--arrow-size-desktop);
  margin-top: var(--top-offset);
  margin-left: 14px;
  text-decoration: none;
}

.top-link svg,
.top-link img {
  display: block;
  width: 100%;
  height: auto;
}

.top-link:focus-visible {
  outline: 2px solid var(--blue);
  outline-offset: 6px;
}

h1,
h2 {
  margin: 0;
  font-weight: 600;
}

strong {
  font-weight: 400;
}

.start-hero {
  min-height: calc(100vh - 56px);
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 14px 0 8px;
}

.start-copy p,
.start-copy a {
  margin: 10px 0 0;
  font-size: clamp(2.1rem, 4.35vw, 4.05rem);
  line-height: 1.06;
  font-weight: 600;
}

.start-copy a {
  display: block;
  text-decoration: none;
  width: fit-content;
}

.start-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  width: fit-content;
  max-width: 100%;
  margin: 0 auto;
}

.start-contact-row {
  margin-top: 4px;
  display: grid;
  grid-template-columns: 1fr auto;
  align-items: end;
  column-gap: clamp(18px, 3vw, 40px);
}

.start-contact-lines {
  display: flex;
  flex-direction: column;
}

.start-copy .blue-link {
  color: var(--blue);
}

.start-copy .pink-link {
  color: var(--pink);
  white-space: nowrap;
}

.start-copy .olive-link {
  color: var(--olive);
}

.email-address-image {
  display: block;
  margin-top: 10px;
  height: 1em;
  width: auto;
}

.start-copy a:focus-visible {
  outline: 2px solid #2b2b2b;
  outline-offset: 6px;
}

.logo-stage {
  display: flex;
  justify-content: center;
  align-items: flex-end;
}

.logo-stage img {
  width: clamp(160px, 14.2vw, 250px);
  height: auto;
}

.section-title {
  font-size: clamp(2rem, 4vw, 3.2rem);
  color: var(--blue);
  margin: var(--top-offset) 0 22px;
  font-weight: 600;
}

.about-kicker {
  margin: var(--top-offset) 0 2px;
  color: var(--pink);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
}

.about-main {
  margin: 0 0 26px;
  color: var(--olive);
  font-size: clamp(2rem, 4vw, 3.4rem);
  font-weight: 600;
}

.copy-block {
  max-width: 760px;
  font-size: clamp(1.08rem, 1.4vw, 1.35rem);
  line-height: 1.6;
}

.copy-block p {
  margin: 0 0 14px;
}

.status-panel {
  max-width: 920px;
  border: 4px solid var(--blue);
  background: repeating-linear-gradient(
    -28deg,
    var(--pink) 0 22px,
    #f5cfc8 22px 44px
  );
  padding: 24px;
  border-radius: 10px;
  text-align: center;
}

.status-panel h2 {
  font-size: clamp(1.9rem, 5vw, 3rem);
  margin-bottom: 8px;
  color: var(--blue);
}

.status-panel p {
  margin: 0;
  font-size: clamp(1.15rem, 2vw, 1.55rem);
  font-weight: 400;
  color: var(--blue);
}

.contact-card {
  margin-top: 42px;
  max-width: 760px;
  border: 0;
  background: transparent;
  border-radius: 0;
  padding: 0;
}

.contact-item {
  margin: 0 0 10px;
  font-size: clamp(1.15rem, 2vw, 1.5rem);
  font-weight: 600;
}

.contact-item strong {
  color: var(--blue);
}

.whatsapp-link {
  display: inline-flex;
  align-items: center;
  color: var(--olive);
  text-decoration: none;
}

.whatsapp-link svg {
  width: 1.45em;
  height: 1.45em;
  display: block;
  filter: invert(1) drop-shadow(0 1px 2px rgba(0, 0, 0, 0.22));
}

.mail-box {
  margin-top: 18px;
  max-width: 760px;
  border: 2px solid #b9b9b9;
  border-radius: 10px;
  background: #fff;
  padding: 18px;
}

.mail-head {
  margin: 0 0 8px;
  font-size: 1rem;
  color: var(--blue);
}

.mail-input {
  width: 100%;
  border: 1px solid #adadad;
  border-radius: 5px;
  background: #fff;
  padding: 10px;
  font: inherit;
  margin-bottom: 10px;
}

textarea.mail-input {
  min-height: 120px;
  resize: vertical;
}

.flow-note {
  margin-top: 24px;
  color: var(--blue);
  font-size: 0.96rem;
}

.tape-page {
  min-height: calc(100vh - 90px);
  margin-top: 20px;
  border-radius: 12px;
  position: relative;
  overflow: hidden;
}

body.references-page .page-wrap {
  max-width: none;
  width: 100%;
  padding: 0;
}

body.references-page .top-link {
  position: absolute;
  float: none;
  right: 18px;
  top: var(--top-offset);
  margin: 0;
  z-index: 5;
}

body.references-page .tape-page {
  min-height: 100vh;
  margin: 0;
  border-radius: 0;
}

body.references-page .tape-page::before {
  top: 34%;
}

body.references-page .tape-page::after {
  top: 70%;
}

.tape-page::before,
.tape-page::after {
  content: "";
  position: absolute;
  left: -14%;
  right: -14%;
  height: 120px;
  background: repeating-linear-gradient(-34deg, var(--pink) 0 36px, #fff 36px 72px);
  border-top: 4px solid var(--pink);
  border-bottom: 4px solid var(--pink);
}

.tape-page::before {
  top: 24%;
  transform: rotate(-12deg);
}

.tape-page::after {
  top: 56%;
  transform: rotate(8deg);
}

.tape-label {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  font-size: clamp(1.5rem, 4vw, 2.6rem);
  font-weight: 400;
  text-transform: uppercase;
  color: var(--blue);
  background: rgba(255, 255, 255, 0.75);
  border: 2px solid;
  border-radius: 10px;
  padding: 12px 20px;
  text-align: center;
}

.contact-item a,
.contact-item a:visited,
.contact-item a:hover,
.contact-item a:active {
  color: var(--blue);
  text-decoration: none;
}

.contact-form-wrap {
  margin-top: 26px;
  max-width: 760px;
}

.contact-form {
  display: grid;
  gap: 10px;
}

.form-label {
  font-size: 0.95rem;
  color: var(--blue);
}

.form-input {
  width: 100%;
  border: 1px solid #9fb2cb;
  border-radius: 8px;
  padding: 10px 12px;
  font: inherit;
  color: var(--blue);
  background: #fff;
}

.form-textarea {
  min-height: 130px;
  resize: vertical;
}

.form-button {
  width: fit-content;
  border: 0;
  border-radius: 999px;
  background: var(--blue);
  color: #fff;
  font: inherit;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
}

.form-status {
  margin: 4px 0 0;
  min-height: 1.3em;
  font-size: 0.92rem;
  color: var(--blue);
}

.form-status.error {
  color: #ad2d2d;
}

.hp-field {
  position: absolute;
  left: -9999px;
  width: 1px;
  height: 1px;
  opacity: 0;
  pointer-events: none;
}

.contact-page .section-title {
  color: var(--olive);
}

.contact-page .js-contact-wa,
.contact-page .js-contact-wa:visited,
.contact-page .js-contact-wa:hover,
.contact-page .js-contact-wa:active {
  color: var(--olive);
}

@media (max-width: 880px) {
  .page-wrap {
    padding: 18px 20px 28px;
  }

  .start-hero {
    display: flex;
    min-height: 100vh;
    align-items: center;
    gap: 0;
    padding: 22px 0;
    position: relative;
  }

  .logo-stage {
    position: absolute;
    top: var(--top-offset);
    right: 0;
    justify-content: flex-end;
    align-items: flex-start;
  }

  .start-contact-row {
    display: block;
    margin-top: 0;
  }

  .start-copy {
    width: 100%;
    margin: 0;
  }

  .logo-stage img {
    width: var(--arrow-size-mobile);
  }

  .top-link {
    width: var(--arrow-size-mobile);
    margin-top: var(--top-offset);
    margin-left: 10px;
  }

  .section-title {
    font-size: clamp(1.55rem, 6.2vw, 2.05rem);
    margin-top: 34px;
  }

  .about-kicker {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
    margin-top: 34px;
  }

  .about-main {
    font-size: clamp(1.45rem, 6vw, 1.95rem);
    margin-bottom: 18px;
  }

  .start-copy a {
    font-size: clamp(2rem, 8.8vw, 2.8rem);
  }
}
