/* footer.css — Figma "Frame 1621508670" (1920 × 1039) */

.siteFooter {
  background: var(--white);
  padding-top: calc(31 * var(--s));
}

.siteFooter__main {
  background: linear-gradient(180deg, var(--white) 55.327%, #f6a191 94.937%);
}

.siteFooter__stage {
  height: calc(948 * var(--s));
}

.siteFooter__intro {
  position: absolute;
  left: calc(120 * var(--s));
  top: calc(42 * var(--s));
  width: calc(687 * var(--s));
  display: flex;
  flex-direction: column;
  gap: calc(20 * var(--s));
}

.siteFooter__title {
  font-size: calc(44 * var(--s));
  font-weight: 500;
  line-height: normal;
  letter-spacing: calc(-1.76 * var(--s));
}

.siteFooter__text {
  font-size: calc(22 * var(--s));
  line-height: 1.5;
}

.siteFooter__brand {
  position: absolute;
  left: calc(120.5 * var(--s));
  top: calc(214 * var(--s));
  width: calc(1679 * var(--s));
  height: calc(289 * var(--s));
}

.siteFooter__logo {
  position: absolute;
  left: 0;
  top: calc(37 * var(--s));
  width: calc(778 * var(--s));
  height: calc(193 * var(--s));
  overflow: hidden;
}

.siteFooter__logo img {
  position: absolute;
  left: 0;
  top: -0.19%;
  width: 100%;
  height: 152%;
  max-width: none;
}

.siteFooter__year {
  position: absolute;
  left: calc(5 * var(--s));
  top: calc(282 * var(--s));
  transform: translateY(-50%);
  font-size: calc(60 * var(--s));
  font-weight: 900;
  line-height: normal;
  color: var(--coral);
}

.siteFooter__divider {
  position: absolute;
  left: calc(1046 * var(--s));
  top: calc(70 * var(--s));
  width: calc(2 * var(--line));
  height: calc(367 * var(--s));
  background: var(--ink);
}

.siteFooter__script {
  position: absolute;
  left: calc(1379.35 * var(--s));
  top: calc(206.63 * var(--s));
  width: calc(512 * var(--s));
  transform: translate(-50%, -50%) rotate(-7.51deg);
  font-family: var(--font-caveat);
  font-size: calc(120 * var(--s));
  font-weight: 500;
  line-height: 0.8;
  letter-spacing: calc(-4.8 * var(--s));
  color: var(--coral);
  text-align: center;
  white-space: nowrap;
}

.siteFooter__actions {
  position: absolute;
  left: calc(120 * var(--s));
  top: calc(569 * var(--s));
  display: flex;
  align-items: center;
  gap: calc(22 * var(--s));
}

.siteFooter__bottom {
  position: absolute;
  left: calc(117 * var(--s));
  top: calc(755 * var(--s));
  width: calc(1682 * var(--s));
  display: flex;
  align-items: flex-start;
  gap: calc(222 * var(--s));
}

.siteFooter__about {
  display: flex;
  align-items: center;
  gap: calc(60 * var(--s));
  width: calc(914 * var(--s));
}

.siteFooter__badge {
  flex-shrink: 0;
  width: calc(136 * var(--s));
  padding: calc(12 * var(--s)) calc(8 * var(--s));
  border-radius: 999px;
  background: var(--white);
}

.siteFooter__badge img {
  width: 100%;
  height: auto;
  aspect-ratio: 100 / 90;
  object-fit: cover;
}

.siteFooter__aboutText {
  width: calc(718 * var(--s));
  font-size: calc(24 * var(--s));
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: calc(-0.96 * var(--s));
}

.siteFooter__contact {
  display: flex;
  flex-direction: column;
  gap: calc(10 * var(--s));
  margin-top: calc(17 * var(--s));
  font-style: normal;
}

.siteFooter__contactRow {
  display: flex;
  align-items: flex-start;
  gap: calc(20 * var(--s));
}

.siteFooter__contactIcon {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: calc(44 * var(--s));
  height: calc(44 * var(--s));
  border-radius: 50%;
  background: var(--ink);
}

.siteFooter__contactIcon img {
  width: calc(24 * var(--s));
  height: calc(24 * var(--s));
}

.siteFooter__contactLink {
  font-size: calc(24 * var(--s));
  font-weight: 500;
  line-height: 1.5;
  letter-spacing: calc(-0.96 * var(--s));
  white-space: nowrap;
}

.siteFooter__contactLink--underline {
  text-decoration: underline;
  text-decoration-thickness: var(--line);
  text-underline-offset: calc(5 * var(--s));
}

.siteFooter__contactLink a:hover,
.siteFooter__contactLink--underline:hover {
  color: var(--orange);
}

.siteFooter__copyright {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(60 * var(--s));
  background: var(--ink);
  color: var(--white);
  font-family: var(--font-helvetica);
  font-size: calc(24 * var(--s));
  line-height: normal;
}

/* ---------- Tablet & mobile ---------- */
@media (max-width: 1023px) {
  .siteFooter {
    padding-top: 0;
  }

  .siteFooter__stage {
    height: auto;
    padding-block: 48px 40px;
    display: flex;
    flex-direction: column;
    gap: 28px;
  }

  .siteFooter__intro,
  .siteFooter__brand,
  .siteFooter__actions,
  .siteFooter__bottom {
    position: relative;
    left: auto;
    top: auto;
    width: 100%;
  }

  .siteFooter__intro {
    gap: 12px;
  }

  .siteFooter__title {
    font-size: clamp(26px, 4.6vw, 40px);
    letter-spacing: -0.04em;
  }

  .siteFooter__text {
    font-size: clamp(15px, 2.1vw, 19px);
  }

  .siteFooter__brand {
    height: auto;
    display: grid;
    grid-template-columns: auto 2px 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    column-gap: clamp(16px, 4vw, 40px);
  }

  .siteFooter__logo {
    position: relative;
    top: auto;
    width: clamp(200px, 42vw, 400px);
    height: auto;
    aspect-ratio: 778 / 193;
    grid-column: 1;
    grid-row: 1;
  }

  .siteFooter__year {
    position: static;
    transform: none;
    grid-column: 1;
    grid-row: 2;
    font-size: clamp(30px, 5vw, 48px);
  }

  .siteFooter__divider {
    position: static;
    grid-column: 2;
    grid-row: 1 / span 2;
    height: 100%;
    min-height: 120px;
  }

  .siteFooter__script {
    position: static;
    grid-column: 3;
    grid-row: 1 / span 2;
    width: auto;
    transform: rotate(-7.51deg);
    font-size: clamp(36px, 7vw, 72px);
    letter-spacing: -0.04em;
    white-space: normal;
  }

  .siteFooter__actions {
    flex-wrap: wrap;
    gap: 12px;
  }

  .siteFooter__bottom {
    flex-direction: column;
    gap: 28px;
  }

  .siteFooter__about {
    width: 100%;
    gap: 20px;
  }

  .siteFooter__badge {
    width: 88px;
    padding: 8px 6px;
  }

  .siteFooter__aboutText {
    width: auto;
    font-size: clamp(15px, 2.2vw, 20px);
    letter-spacing: -0.02em;
  }

  .siteFooter__contact {
    margin-top: 0;
  }

  .siteFooter__contactRow {
    align-items: center;
    gap: 14px;
  }

  .siteFooter__contactIcon {
    width: 40px;
    height: 40px;
  }

  .siteFooter__contactIcon img {
    width: 20px;
    height: 20px;
  }

  .siteFooter__contactLink {
    font-size: clamp(15px, 2.2vw, 20px);
    letter-spacing: -0.02em;
    white-space: normal;
  }

  .siteFooter__copyright {
    height: 52px;
    font-size: 16px;
  }
}

@media (max-width: 580px) {
  .siteFooter__brand {
    grid-template-columns: 1fr;
    row-gap: 16px;
  }

  .siteFooter__logo,
  .siteFooter__year,
  .siteFooter__script {
    grid-column: 1;
    grid-row: auto;
  }

  .siteFooter__divider {
    display: none;
  }

  .siteFooter__script {
    text-align: left;
    margin-top: 8px;
  }

  .siteFooter__actions {
    flex-direction: column;
    align-items: stretch;
  }

  .siteFooter__actions .pillBtn {
    white-space: normal;
    text-align: center;
  }

  .siteFooter__about {
    flex-direction: column;
    align-items: flex-start;
  }
}

@media (max-width: 768px) {
  .siteFooter__stage {
    gap: calc(20 * var(--m, 1px));
    padding-block: calc(28 * var(--m, 1px)) calc(32 * var(--m, 1px));
  }

  .siteFooter__intro {
    gap: calc(8 * var(--m, 1px));
  }

  .siteFooter__title {
    font-size: calc(28 * var(--m, 1px));
  }

  .siteFooter__text {
    font-size: calc(15 * var(--m, 1px));
  }

  .siteFooter__brand {
    display: grid;
    grid-template-columns: minmax(0, 1.15fr) auto minmax(0, 0.95fr);
    align-items: center;
    column-gap: calc(10 * var(--m, 1px));
  }

  .siteFooter__logo {
    grid-column: 1;
    grid-row: 1;
    width: 100%;
  }

  .siteFooter__year {
    grid-column: 1;
    grid-row: 2;
    margin-top: calc(2 * var(--m, 1px));
    font-size: calc(32 * var(--m, 1px));
  }

  .siteFooter__divider {
    display: block;
    grid-column: 2;
    grid-row: 1 / span 2;
    align-self: stretch;
    width: max(1px, calc(2 * var(--m, 1px)));
    height: auto;
    min-height: calc(72 * var(--m, 1px));
    margin-block: calc(6 * var(--m, 1px));
    background: var(--ink);
  }

  .siteFooter__script {
    grid-column: 3;
    grid-row: 1 / span 2;
    align-self: center;
    margin-top: 0;
    font-size: calc(26 * var(--m, 1px));
    line-height: 0.9;
    letter-spacing: calc(-0.6 * var(--m, 1px));
    text-align: center;
    transform: rotate(-6deg);
    transform-origin: center;
  }

  .siteFooter__actions {
    flex-direction: column;
    align-items: stretch;
    gap: calc(10 * var(--m, 1px));
  }

  .siteFooter__actions .pillBtn {
    width: 100%;
    padding: calc(14 * var(--m, 1px)) calc(16 * var(--m, 1px));
    font-size: calc(13 * var(--m, 1px));
    white-space: normal;
    text-align: center;
  }

  .siteFooter__bottom {
    gap: calc(18 * var(--m, 1px));
  }

  .siteFooter__about {
    flex-direction: row;
    align-items: center;
    gap: calc(14 * var(--m, 1px));
  }

  .siteFooter__badge {
    width: calc(72 * var(--m, 1px));
    padding: calc(6 * var(--m, 1px));
  }

  .siteFooter__aboutText {
    font-size: calc(15 * var(--m, 1px));
  }

  .siteFooter__contact {
    gap: calc(10 * var(--m, 1px));
  }

  .siteFooter__contactRow {
    gap: calc(12 * var(--m, 1px));
  }

  .siteFooter__contactIcon {
    width: calc(36 * var(--m, 1px));
    height: calc(36 * var(--m, 1px));
  }

  .siteFooter__contactIcon img {
    width: calc(18 * var(--m, 1px));
    height: calc(18 * var(--m, 1px));
  }

  .siteFooter__contactLink {
    font-size: calc(14 * var(--m, 1px));
  }

  span.siteFooter__contactLink {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    column-gap: 0.35em;
    row-gap: 0.15em;
  }

  span.siteFooter__contactLink a {
    white-space: nowrap;
  }

  .siteFooter__copyright {
    height: calc(48 * var(--m, 1px));
    font-size: calc(14 * var(--m, 1px));
  }
}
