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

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

:root {
  --color-primary: #05be50;
  --color-text: #030835;
  --color-text-secondary: #636682;
  --color-link: #4871f0;
  --color-caption: #9597aa;
  --color-white: #ffffff;
  --font: 'Poppins', sans-serif;
}

body {
  background: var(--color-white);
  font-family: var(--font);
  -webkit-font-smoothing: antialiased;
}

/* ─── Layout ─────────────────────────────────────── */

.landing {
  display: flex;
  flex-direction: row;
  overflow: hidden;
  min-height: 100vh;
}

/* ─── Left column ─────────────────────────────────── */

.landing__left {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 24px;
  padding: 40px 24px;
  width: 100%;
  min-height: 100vh;
}

.landing__logo {
  height: 40px;
  width: auto;
  display: block;
}

.landing__intro {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.landing__title {
  margin: 0;
  font-weight: 600;
  font-size: 20px;
  line-height: 28px;
  color: var(--color-text);
}

.landing__subtitle {
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 22px;
  color: var(--color-text-secondary);
}

/* ─── Connect component ───────────────────────────── */

.landing__connect {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  width: 100%;
}

.landing__card {
  background: var(--color-white);
  border-radius: 8px;
  box-shadow: 0px 8px 15px rgba(20, 3, 53, 0.1);
  padding: 24px;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.landing__card-title {
  margin: 0;
  font-weight: 600;
  font-size: 16px;
  line-height: 24px;
  color: var(--color-text);
  text-align: center;
}

.landing__btn {
  width: fit-content;
  background: var(--color-primary);
  border: none;
  border-radius: 7.875px;
  padding: 9.92px 16px;
  font-family: var(--font);
  font-weight: 600;
  font-size: 16px;
  line-height: normal;
  color: var(--color-white);
  letter-spacing: 0.08px;
  cursor: pointer;
  text-align: center;
  transition: background 0.15s ease;
}

.landing__btn:hover {
  background: #04a845;
}

.landing__card-text {
  display: none;
  margin: 0;
  font-weight: 400;
  font-size: 14px;
  line-height: 20px;
  color: var(--color-text-secondary);
  text-align: center;
}

.landing__card-link {
  display: block;
  font-weight: 400;
  font-size: 11px;
  line-height: 12px;
  color: var(--color-link);
  text-align: center;
  text-decoration: underline;
  text-underline-position: from-font;
  text-decoration-skip-ink: none;
}

/* ─── Powered by caption ──────────────────────────── */

.landing__powered {
  display: flex;
  align-items: center;
  gap: 6px;
}

.landing__powered-text {
  font-weight: 400;
  font-size: 12px;
  color: var(--color-caption);
  letter-spacing: 0.06px;
  white-space: nowrap;
}

.landing__powered-logo {
  height: 11px;
  width: 55px;
}

/* ─── Spacer ──────────────────────────────────────── */

.landing__spacer {
  display: none;
}

/* ─── Right column — hidden on mobile ────────────── */

.landing__right {
  display: none;
}

.landing__hero-wrap {
  position: relative;
  overflow: hidden;
}

.landing__hero {
  display: block;
  max-width: none;
}

/* ─── Tablet 768–1024px ───────────────────────────── */

@media (min-width: 768px) and (max-width: 1023px) {
  .landing__left {
    align-items: center;
    gap: 32px;
    padding: 48px 24px;
    max-width: 560px;
    margin: 0 auto;
    min-height: 100vh;
  }

  .landing__logo {
    height: 44px;
  }

  .landing__intro {
    align-items: center;
    text-align: center;
    gap: 12px;
  }

  .landing__title {
    font-size: 24px;
    line-height: 32px;
  }

  .landing__subtitle {
    font-size: 16px;
    line-height: 24px;
  }

  .landing__btn {
    height: 57px;
    font-size: 17.719px;
    letter-spacing: 0.0886px;
  }
}

/* ─── Desktop pequeño 1025–1365px ────────────────── */

@media (min-width: 1024px) and (max-width: 1365px) {
  body {
    min-width: 1024px;
  }

  .landing {
    height: 100vh;
    align-items: stretch;
  }

  /* Left */
  .landing__left {
    width: 475px;
    min-height: unset;
    height: 100vh;
    flex-shrink: 0;
    flex-grow: 0;
    align-items: flex-start;
    justify-content: center;
    padding: 0 32px 0 60px;
    gap: 28px;
  }

  .landing__logo {
    height: 40px;
    margin-bottom: 160px;
  }

  .landing__intro {
    align-items: flex-start;
    text-align: left;
    gap: 12px;
    margin-top: -140px;
    margin-bottom: 140px;
  }

  .landing__title {
    font-size: 30px;
    line-height: 40px;
  }

  .landing__subtitle {
    font-size: 20px;
    line-height: 30px;
  }

  .landing__btn {
    height: 52px;
    font-size: 15px;
  }

  /* Spacer */
  .landing__spacer {
    display: block;
    flex: 1;
  }

  /* Right */
  .landing__right {
    display: flex;
    align-items: stretch;
    padding: 24px 24px 24px 0;
    flex-shrink: 0;
    flex-grow: 0;
  }

  .landing__hero-wrap {
    position: relative;
    border-radius: 48px;
    overflow: hidden;
    width: 450px;
    height: calc(100vh - 48px);
    flex-shrink: 0;
  }

  .landing__hero {
    width: auto;
    height: 103%;
    margin: 23px 0 0 -205px;
  }
}

/* ─── Desktop mediano 1366–1919px ────────────────── */

@media (min-width: 1366px) and (max-width: 1919px) {
  body {
    min-width: 1366px;
  }

  .landing {
    height: 100vh;
    align-items: stretch;
  }

  /* Left */
  .landing__left {
    width: 570px;
    min-height: unset;
    height: 100vh;
    flex-shrink: 0;
    flex-grow: 0;
    align-items: flex-start;
    justify-content: center;
    padding: 0 40px 0 80px;
    gap: 32px;
  }

  .landing__logo {
    height: 47px;
    margin-bottom: 200px;
  }

  .landing__intro {
    align-items: flex-start;
    text-align: left;
    gap: 16px;
    margin-top: -177px;
    margin-bottom: 167px;
  }

  .landing__title {
    font-size: 36px;
    line-height: 44px;
  }

  .landing__subtitle {
    font-size: 24px;
    line-height: 34px;
  }

  .landing__btn {
    height: 57px;
    font-size: 16px;
  }

  /* Spacer */
  .landing__spacer {
    display: block;
    flex: 1;
  }

  /* Right */
  .landing__right {
    display: flex;
    align-items: stretch;
    padding: 27px 27px 27px 0;
    flex-shrink: 0;
    flex-grow: 0;
  }

  .landing__hero-wrap {
    position: relative;
    border-radius: 60px;
    overflow: hidden;
    width: 600px;
    height: calc(100vh - 54px);
    flex-shrink: 0;
  }

  .landing__hero {
    position: absolute;
    width: auto;
    height: 104%;
    left: -9%;
    top: 2%;
  }
}

/* ─── Desktop grande 1920px+ ─────────────────────── */

@media (min-width: 1920px) {
  body {
    min-width: 1920px;
  }

  .landing {
    height: 100vh;
    align-items: stretch;
  }

  /* Left */
  .landing__left {
    width: 750px;
    min-height: unset;
    height: 100vh;
    flex-shrink: 0;
    flex-grow: 0;
    align-items: flex-start;
    justify-content: center;
    padding: 0 48px 0 116px;
    gap: 48px;
  }

  .landing__logo {
    height: 56px;
    margin-bottom: 260px;
  }

  .landing__intro {
    align-items: flex-start;
    text-align: left;
    gap: 20px;
    margin-top: -220px;
    margin-bottom: 220px;
  }

  .landing__title {
    font-size: 42.18px;
    line-height: 52.77px;
  }

  .landing__subtitle {
    font-size: 28.12px;
    line-height: 42.18px;
  }

  .landing__btn {
    height: 64px;
    font-size: 18px;
    border-radius: 10px;
  }

  /* Spacer */
  .landing__spacer {
    display: block;
    flex: 1;
  }

  /* Right */
  .landing__right {
    display: flex;
    align-items: stretch;
    padding: 40px 40px 40px 0;
    flex-shrink: 0;
    flex-grow: 0;
  }

  .landing__hero-wrap {
    position: relative;
    border-radius: 100px;
    overflow: hidden;
    width: 800px;
    height: calc(100vh - 80px);
    flex-shrink: 0;
  }

  .landing__hero {
    position: absolute;
    width: auto;
    height: 94%;
    left: -31%;
    top: 6%;
  }
}