@font-face {
  font-family: "Gilroy-medium";
  src: url("../fonts/Gilroy-MediumItalic.woff2") format("woff2"),
    url("../fonts/Gilroy-MediumItalic.woff") format("woff");
  font-style: italic;
  font-weight: 500;
}

@font-face {
  font-family: "Gilroy-semibold";
  src: url("../fonts/Gilroy-SemiBoldItalic.woff2") format("woff2"),
    url("../fonts/Gilroy-SemiBoldItalic.woff") format("woff");
  font-style: italic;
  font-weight: 600;
}

:root {
  --purple-deep: #1a0033;
  --navy: #1c1c4d;
  --mustard: #d9a441;
  --magenta: #a1005d;
  --input-bg: #ebebeb;
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Gilroy-medium", sans-serif;
  font-style: italic;
  font-weight: 500;
  color: #fff;
  background-color: var(--purple-deep);
  background-image: url("../images/bg_site.webp");
  background-position: center top;
  background-size: cover;
  background-repeat: no-repeat;
}

body::after {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 9999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

img {
  display: block;
  max-width: 100%;
  height: auto;
}

a {
  color: inherit;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

strong {
  font-weight: 600;
}

.container {
  width: min(100% - 4rem, 78rem);
  margin-inline: auto;
}

/* Reveal animations */

@keyframes reveal-up {
  from {
    opacity: 0;
    transform: translateY(2.5rem);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes reveal-left {
  from {
    opacity: 0;
    transform: translateX(-2.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-right {
  from {
    opacity: 0;
    transform: translateX(2.5rem);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes reveal-scale {
  from {
    opacity: 0;
    transform: scale(0.92);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.reveal {
  opacity: 0;
  will-change: opacity, transform;
}

.reveal.is-visible {
  animation-duration: 0.9s;
  animation-timing-function: cubic-bezier(0.22, 1, 0.36, 1);
  animation-fill-mode: forwards;
}

.reveal--up.is-visible {
  animation-name: reveal-up;
}

.reveal--left.is-visible {
  animation-name: reveal-left;
}

.reveal--right.is-visible {
  animation-name: reveal-right;
}

.reveal--scale.is-visible {
  animation-name: reveal-scale;
}

.reveal--slow.is-visible {
  animation-duration: 1.15s;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    opacity: 1;
  }

  .reveal.is-visible {
    animation: none;
    opacity: 1;
    transform: none;
  }
}

/* Hero */

.hero {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: url(../images/hero_gradient.webp) center;
  height: 100dvh;
  display: flex;
  background-size: cover;
}

.hero__image {
  width: 100%;
  height: auto;
  display: block;
}

.hero__content {
  inset: auto 0 0;
  display: grid;
  grid-template-columns: 1fr 1.3fr;
  align-items: end;
  gap: 2rem 5rem;
  padding: 0 clamp(1.5rem, 4vw, 3.5rem) clamp(2.5rem, 5vw, 4rem);
  align-items: center;
}

.hero__logo {
  width: min(100%, 23rem);
  align-self: end;
  justify-self: end;
}

.hero__tagline {
  margin: 0 0 1.5rem;
  font-size: clamp(1.35rem, 2.6vw, 2.3rem);
  font-weight: 500;
  line-height: 1;
  align-self: self-end;
  letter-spacing: -0.01em;
  font-family: 'Gilroy-medium';
}

/* Intro + Video */

.intro {
  padding: 20vh 0 0;
  min-height: 100vh;
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.intro__grid {
  display: grid;
  grid-template-columns: 1fr 1.6fr;
  gap: 2rem 3rem;
  align-items: center;
}

.intro__text p {
  margin: 0;
  font-size: clamp(1.35rem, 1.55vw, 1.6rem);
  line-height: 1.5;
}

.intro__text p:last-child {
  margin-bottom: 0;
}

.intro__lead {
  display: inline;
  margin: 0 !important;
  padding: 0.05em 0.25em;
  font-size: clamp(1.15rem, 1.8vw, 1.45rem) !important;
  font-weight: 600;
  line-height: 1.2;
  background: var(--navy);
  color: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline-block;
}

.intro__highlight {
  display: inline;
  padding: 0.02em 0.2em;
  /* font-weight: 600; */
  background: var(--mustard);
  color: #fff;
  box-decoration-break: clone;
  -webkit-box-decoration-break: clone;
  display: inline-block;
  line-height: 1.2;
}

.intro__video-wrap {
  position: relative;
  width: 100%;
  /* max-width: 26rem; */
  justify-self: end;
  margin-top: -1rem;
}

.intro__video-frame {
  position: relative;
  padding: 0.75rem 0.75rem 0.75rem 0.5rem;
  background: url("../images/bg_video.svg") left top / 100% 100% no-repeat;
}

.intro__video-trigger {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  cursor: pointer;
  background: #2a1045;
  aspect-ratio: 231 / 143;
  overflow: hidden;
}

.intro__video-thumb {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
  transition: transform 0.3s ease;
}

.intro__video-trigger:hover .intro__video-thumb {
  transform: scale(1.03);
}

.intro__video-trigger iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
}

.intro__play {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, 0.15);
  transition: background 0.2s;
}

.intro__video-trigger:hover .intro__play {
  background: rgba(0, 0, 0, 0.25);
}

.intro__play-icon {
  width: 0;
  height: 0;
  border-style: solid;
  border-width: 1.1rem 0 1.1rem 1.85rem;
  border-color: transparent transparent transparent rgba(255, 255, 255, 0.75);
  margin-left: 0.35rem;
}

.intro__caption-wrap {
  margin-top: clamp(4rem, 6vw, 6rem);
  display: flex;
  justify-content: center;
}

.intro__caption {
  margin: 0;
  text-align: center;
  font-size: clamp(1.8rem, 1.45vw, 11.15rem);
  line-height: 1;
  padding: 0rem 1rem;
  background: rgba(28, 28, 77, 0.72);
  display: block;
  letter-spacing: -0.1rem;
}

/* About */

.about {
  padding: 20vh 0;
  /* min-height: 100vh; */
  display: flex;
  flex-flow: column;
  justify-content: center;
}

.about__grid {
  display: grid;
  grid-template-columns: 5fr 1fr 7fr;
  align-items: center;
}

.about__title {
  margin: 0;
  grid-column: 1;
  font-size: 3rem;
  font-weight: 600;
  line-height: 1;
  text-align: right;
  font-family: 'Gilroy-medium';
}

.about__text {
  grid-column: 3;
}

.about__text p {
  margin: 0 0 1.35rem;
  font-size: clamp(1.08rem, 1.65vw, 1.6rem);
  line-height: 1.25;
  text-align: justify;
  flex-wrap: balance;
}

.about__text p:last-child {
  margin-bottom: 0;
  font-size: clamp(1.68rem, 1.65vw, 2.4rem);
  font-family: 'Gilroy-medium';
  line-height: 1;
}

/* Signup + Footer block */

.signup {
  padding: clamp(2rem, 5vw, 4rem) 0 clamp(3rem, 6vw, 5rem);
}

.signup__header {
  text-align: center;
  margin-bottom: clamp(2rem, 4vw, 2.75rem);
  max-width: 500px;
  margin: 0 auto 3rem;
}

.signup__title {
  margin: 0 0 0.65rem;
  font-size: clamp(2.78rem, 1.65vw, 3rem);
  font-weight: 600;
  line-height: 1;
  font-family: 'Gilroy-medium';
}

.signup__subtitle {
  margin: 0 auto;
  font-size: 1.3rem;
  line-height: 1;
  max-width: 36rem;
  font-weight: 500;
}

.signup__form {
  display: grid;
  gap: 0.85rem;
  max-width: 48rem;
  margin-inline: auto;
}

.signup__row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.85rem;
}

.signup__field input,
.signup__field textarea {
  width: 100%;
  border: none;
  border-radius: 6px;
  padding: 0.9rem 1.1rem;
  font: inherit;
  font-style: italic;
  font-weight: 500;
  color: #555;
  background: var(--input-bg);
}

.signup__field input::placeholder,
.signup__field textarea::placeholder {
  color: #888;
}

.signup__field textarea {
  min-height: 7.5rem;
  resize: vertical;
}

.signup__actions {
  display: flex;
  justify-content: center;
  margin-top: 0.5rem;
}

.signup__submit {
  border: none;
  border-radius: 6px;
  background: var(--mustard);
  color: #fff;
  font: inherit;
  font-weight: 600;
  font-style: italic;
  padding: 0.95rem 3rem;
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.signup__submit:hover {
  background: #c49238;
  transform: translateY(-1px);
}

.signup__submit:active {
  transform: translateY(0);
}

.signup__submit:disabled {
  opacity: 0.7;
  cursor: wait;
  transform: none;
}

.signup__panel {
  max-width: 48rem;
  margin-inline: auto;
}

.signup__success {
  text-align: center;
  padding: clamp(2rem, 5vw, 3.5rem) clamp(1.5rem, 4vw, 2.5rem);
  background: rgba(28, 28, 77, 0.55);
  border-radius: 12px;
  opacity: 0;
  transform: translateY(1.5rem);
  transition: opacity 0.6s ease, transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
}

.signup__success.is-visible {
  opacity: 1;
  transform: translateY(0);
}

.signup__success-icon {
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: var(--mustard);
  color: #fff;
  font-size: 2rem;
  font-style: normal;
  font-weight: 700;
  line-height: 1;
}

.signup__success-title {
  margin: 0 0 1rem;
  font-size: clamp(1.75rem, 3vw, 2.25rem);
  font-weight: 600;
  line-height: 1.15;
  font-family: "Gilroy-medium";
}

.signup__success-text {
  margin: 0;
  font-size: clamp(1.05rem, 1.5vw, 1.25rem);
  line-height: 1.45;
  max-width: 34rem;
  margin-inline: auto;
}

.signup__feedback {
  margin: 0.75rem 0 0;
  text-align: center;
  font-size: 1rem;
  line-height: 1.4;
}

.signup__feedback--success {
  color: #b8f0c8;
}

.signup__feedback--error {
  color: #ffb3b3;
}

.footer {
  padding: 0 0 6rem;
}

.footer__grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem 2rem;
  align-items: center;
  width: 560px;
}

.footer__contact-title {
  margin: 0 0 1rem;
  font-size: clamp(0.95rem, 1.3vw, 1.15rem);
  font-weight: 500;
  line-height: 1;
}

.footer__links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.55rem;
}

.footer__links li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: clamp(0.92rem, 1.25vw, 1.3rem);
}

.footer__links span{
    font-size: 1.6rem;
    font-family: 'Gilroy-semibold';
}

.footer__links a {
  font-weight: 600;
  font-style: italic;
}

.footer__icon {
  flex-shrink: 0;
  width: 1.25rem;
  height: 1.25rem;
  fill: currentColor;
}

.footer__logo {
  width: min(100%, 13rem);
  justify-self: end;
}

/* Responsive */

@media (max-width: 900px) {
  .hero__content {
    /* grid-template-columns: 1fr; */
    gap: 1.25rem;
    padding-bottom: 2rem;
    padding: 0 0 4rem 0;
  }

  .hero__tagline {
    text-align: left;
    justify-self: start;
    max-width: none;
    margin-bottom: 0;
  }

  .hero__logo {
    width: min(100%, 20rem);
  }

  .intro__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }

  .intro__video-wrap {
    justify-self: center;
    /* max-width: 22rem; */
    margin-top: 0;
  }
.signup__title{
    font-size: 2.1rem;
}
  .about__grid {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .about__title {
    text-align: left;
    font-size: 2rem;
  }

  .about__text {
    grid-column: 1;
  }
.about__text p{text-align: left;}
  .footer__grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
    display: flex;
    flex-flow: column;
  }
.footer__contact, .footer__links li{
    text-align: center;
    align-items: center;
    justify-content: center;
}
  .footer__logo {
    justify-self: start;
    width: min(100%, 11rem);
  }
}

/* WhatsApp float */

.whatsapp-float {
  position: fixed;
  right: 1.25rem;
  bottom: 1.25rem;
  z-index: 10000;
  display: flex;
  align-items: center;
  text-decoration: none;
  color: #fff;
  filter: drop-shadow(0 6px 20px rgba(26, 0, 51, 0.45));
  transition: transform 0.25s ease, filter 0.25s ease;
}

.whatsapp-float:hover {
  transform: translateY(-2px);
  filter: drop-shadow(0 10px 28px rgba(26, 0, 51, 0.55));
  text-decoration: none;
  color: #fff;
}

.whatsapp-float__icon {
  position: relative;
  z-index: 2;
  flex-shrink: 0;
  display: grid;
  place-items: center;
  width: 4rem;
  height: 4rem;
  border-radius: 50%;
  background: var(--mustard);
  border: 3px solid #fff;
}

.whatsapp-float__icon svg {
  width: 2rem;
  height: 2rem;
  fill: #fff;
}

.whatsapp-float__label {
  position: relative;
  z-index: 1;
  margin-left: -1.75rem;
  padding: 0.85rem 1.35rem 0.65rem 2.5rem;
  background: linear-gradient(135deg, var(--magenta) 0%, var(--purple-deep) 100%);
  border-radius: 0 999px 999px 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  line-height: 1;
  font-family: "Gilroy-semibold", Georgia, serif;
  font-style: italic;
}

.whatsapp-float__line {
  display: block;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  white-space: nowrap;
}

.whatsapp-float__line--name {
  font-size: 1.35rem;
  letter-spacing: 0.06em;
  line-height: 1;
}

@media (max-width: 600px) {
  .hero{}
  .container {
    width: min(100% - 2rem, 68rem);
  }

  .signup__row {
    grid-template-columns: 1fr;
  }

  .intro__caption {
    width: 100%;
  }

  .whatsapp-float__label {
    padding: 0.55rem 1rem 0.55rem 2.75rem;
  }

  .whatsapp-float__line {
    font-size: 0.72rem;
  }

  .whatsapp-float__line--name {
    font-size: 0.95rem;
  }

  .whatsapp-float__icon {
    width: 3.25rem;
    height: 3.25rem;
  }

  .whatsapp-float__icon svg {
    width: 1.65rem;
    height: 1.65rem;
  }
}
