/* =========================================================
   Minimal Productivity – Landing
   Archivo: resources/css/style.css
   Autor: Renzo Capurro
   Versión refactorizada: v2
========================================================= */


/* =========================================================
   1) VARIABLES
========================================================= */

:root {
  --clr-grad-header: linear-gradient(
    295deg,
    rgba(156, 175, 213, 1) 0%,
    rgba(156, 175, 213, 0.5) 25%,
    rgba(235, 197, 214, 0.5) 75%,
    rgba(235, 197, 214, 1) 100%
  );

  --clr-gray: #b1b1b1;
  --clr-base: #f2f5fa;
  --clr-black: #333333;
  --clr-active: #1473e6;
  --clr-white: #ffffff;

  --font-main: "Inter", system-ui, -apple-system, sans-serif;

  --radius-card: 10px;
  --radius-card-lg: 18px;
  --radius-pill: 40px;

  --btn-height: 80px;

  --hero-img-h: clamp(380px, 60vw, 850px);
  --hero-img-maxw: min(96vw, 1300px);

  --bonus-img-h: clamp(280px, 45vw, 620px);
  --bonus-img-maxw: min(92vw, 1000px);

  --fs-fluid: clamp(14px, 1.5dvw, 22px);
}


/* =========================================================
   2) RESET / BASE
========================================================= */

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

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  font-family: var(--font-main);
  color: var(--clr-black);
  background: var(--clr-white);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
}

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

main {
  display: block;
  padding: 0 !important;
  margin: 0 !important;
}

h5 {
  font-size: clamp(16px, 1.6vw, 24px);
  font-weight: 600;
  margin-bottom: 1rem;
}

.espacio {
  display: block;
  content: "";
  height: 0;
  margin-top: 13px;
}


/* =========================================================
   3) LAYOUT GENERAL
========================================================= */

.degrade {
  background: var(--clr-grad-header);
}

.section {
  padding: 0;
}

.section--after-hero {
  padding-top: calc(var(--hero-img-h) / 2);
}

.section__title {
  text-align: center;
  font-size: clamp(38px, 2.2vw, 38px);
  font-weight: 800;
}

.section__text {
  width: min(900px, 85vw);
  padding: 0 50px;
  margin: 0 auto;
  text-align: center;
  font-size: var(--fs-fluid);
  line-height: 1.65;
}

.section__kicker {
  text-align: center;
  font-size: var(--fs-fluid);
  text-transform: uppercase;
  letter-spacing: 4px;
  font-weight: 600;
}


/* Divisores */

.divider-v {
  width: 100%;
  height: 60px;
  margin: 0 !important;
  position: relative;
  display: block;
}

.divider-v::after,
.divider-v-full::after {
  content: "";
  position: absolute;
  left: calc(50% - 0.5px);
  top: 0;
  bottom: 0;
  width: 1px;
  background: var(--clr-gray);
  opacity: 0.9;
}

.divider-v-full {
  width: 100%;
  flex: 1 1 auto;
  position: relative;
  margin: 0 !important;
  display: block;
}


/* =========================================================
   4) BOTONES
========================================================= */

.btn-cta {
  height: var(--btn-height);
  padding: 0 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--clr-active);
  color: var(--clr-white);
  border: none;
  border-radius: var(--radius-pill);
  font-size: clamp(14px, 1.5dvw, 22px);
  font-weight: 600;
  letter-spacing: 0.2px;
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.btn-cta:hover {
  background: var(--clr-black);
  transform: translateY(-2px);
  color: var(--clr-white);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.2),
    0 1px 4px rgba(0, 0, 0, 0.2);
}


/* CTA flotante desktop */

.cta-float-desktop {
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 9999;

  height: 62px;
  padding: 0 28px;
  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--clr-active);
  color: var(--clr-white);
  text-decoration: none;

  font-weight: 700;
  font-size: 16px;
  letter-spacing: .2px;

  box-shadow: 0 10px 24px rgba(0, 0, 0, .18);
  transition: transform 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.cta-float-desktop:hover {
  background: var(--clr-black);
  color: var(--clr-white);
  transform: translateX(-50%) translateY(-2px);
  box-shadow: 0 14px 28px rgba(0, 0, 0, .22);
}


/* CTA mobile */

.cta-mobile-only {
  display: none;
}


/* =========================================================
   5) HERO
========================================================= */

.hero-section {
  position: relative;
  overflow: visible;
}

.hero-section__container {
  padding-bottom: calc(var(--hero-img-h) / 2);
}

.hero-section__logo {
  width: 100%;
  display: flex;
  justify-content: center;
  padding: 40px 0;
}

.hero-section__mark {
  width: clamp(56px, 7vw, 78px);
}

.hero-section__title {
  font-size: clamp(44px, 5vw, 80px);
  font-weight: 800;
  letter-spacing: -0.9px;
  line-height: 1.05;
  text-align: center;
}

.hero-section__subtitle {
  font-size: clamp(20px, 2.2vw, 26px);
  font-weight: 600;
  line-height: 1.25;
  text-align: center;
}

.hero-section__lead {
  width: min(900px, 92vw);
  margin: 0 auto;
  text-align: center;
  font-size: var(--fs-fluid);
  line-height: 1.8;
}

.hero-section__quote {
  width: min(88%, 42ch);
  margin: 0 auto;
  padding: 0 14px;
  font-size: clamp(18px, 2vw, 22px);
  font-weight: 700;
  line-height: 1.25;
  text-align: center;
  text-wrap: balance;
}

.hero-media {
  position: absolute;
  left: 50%;
  top: 100%;
  transform: translate(-50%, -50%);
  width: var(--hero-img-maxw);
  z-index: 50;
  pointer-events: none;
}

.hero-media__img {
  width: 100%;
  height: var(--hero-img-h);
  object-fit: contain;
}


/* =========================================================
   6) CARDS / BLOQUES
========================================================= */

.card-problem {
  min-height: 180px;
  padding: 20px;
  border: 1px solid var(--clr-gray);
  border-radius: var(--radius-card);
  background: var(--clr-white);
  text-align: center;

  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;

  transition: transform .15s ease, background .15s ease;
}

.card-problem p {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 200;
  margin: 0;
  line-height: 1.1;
}

.card-problem:hover {
  transform: translateY(-2px);
  background: var(--clr-base);
}


.card-feature,
.card-bonus {
  padding: 40px;
  border-radius: var(--radius-card);
  background: var(--clr-base);
  text-align: left;
}

.card-feature__title,
.card-bonus__title {
  display: block;
  width: 100%;
  margin: 0 0 24px;
  text-align: left;
  font-weight: 800;
}

.card-feature__title {
  font-weight: 600;
}


/* Bonus cards */

.card-bonus {
  border-radius: var(--radius-card-lg);
}

.bonus {
  padding: 53px;
  border-radius: var(--radius-card-lg);
  background: var(--clr-white);
}

.card-bonus p,
.bonus p {
  font-size: var(--fs-fluid);
  line-height: 1.8;
}

.card-bonus__header,
.bonus__header {
  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 16px;
}

.card-bonus__icon,
.bonus__icon {
  flex: 0 0 30px;
  max-height: 30px;
  width: auto;
}

.card-bonus__label,
.bonus__label {
  margin: 0;
  flex: 0 0 auto;
  line-height: 1.05;
  text-align: left;
  font-weight: 800;
}

.card-bonus__category,
.bonus__category {
  font-weight: 700;
  opacity: .8;
  padding: 20px 0;
}

.bonus__title {
  font-weight: 800;
}


/* Separador vertical entre columnas */

.row-divider {
  position: relative;
}

@media (min-width: 992px) {
  .row-divider::after {
    content: "";
    position: absolute;
    left: calc(50% - 0.5px);
    top: 0;
    bottom: 0;
    width: 1px;
    background: var(--clr-gray);
    opacity: 0.9;
    z-index: 1;
    shape-rendering: crispEdges;
  }
}


/* =========================================================
   7) LISTAS / CHIPS
========================================================= */

.list-iconized,
.list-checked {
  width: 100%;
  list-style: none;
  padding: 0;
  margin: 0;
}

.list-iconized li span,
.list-checked li,
.list-iconized__item,
.list-checked__item {
  font-size: var(--fs-fluid);
  line-height: 1.45;
}

.list-iconized__item,
.list-checked__item {
  width: 100%;
  margin: 0;
  padding: 12px 0;

  display: flex;
  align-items: flex-start;
  justify-content: flex-start;
  gap: 14px;

  text-align: left;
  white-space: normal;
  overflow-wrap: anywhere;
}

.list-iconized__icon,
.list-checked__icon {
  flex: 0 0 30px;
  max-height: 30px;
  margin-top: 2px;
}

.list-iconized__item span,
.list-checked__item > span {
  flex: 1;
  min-width: 0;
  text-align: left;
}

.list-checked__item > span {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  font-size: 1.25rem;
  line-height: 1.3;
}

.list-checked__item > span strong {
  font-size: inherit;
  line-height: 1.3;
}

.list-checked__item .price {
  display: block;
  margin-top: 2px;
  font-size: 1.15rem;
  font-weight: 700;
  line-height: 1.2;
  color: #555;
}


/* Chips */

.chips-group {
  width: min(800px, 90vw);
  margin: 0 auto 100px auto;
  display: flex;
  flex-direction: column;
  gap: 16px;
  text-align: left;
}

.ui-chip {
  min-height: 80px;
  padding: 0 24px 0 28px;
  border: 1px solid var(--clr-gray);
  border-radius: var(--radius-pill);
  background: var(--clr-white);

  display: flex;
  align-items: center;
  justify-content: flex-start;
  gap: 18px;

  font-size: var(--fs-fluid);
  text-align: left;
  transition: transform .15s ease, background .15s ease;
}

.ui-chip:hover {
  transform: translateY(-2px);
  background: var(--clr-base);
}

.ui-chip__icon {
  flex: 0 0 30px;
  max-height: 30px;
  width: auto;
}


/* =========================================================
   8) SECCIONES ESPECÍFICAS
========================================================= */

/* Gift */

.gift-section {
  position: relative;
  margin-bottom: calc(var(--bonus-img-h) / 2);
}

.gift-section__base {
  background: var(--clr-grad-header);
  border-radius: var(--radius-card-lg);
  padding: 60px 0 calc(var(--bonus-img-h) / 2);
}

.gift-section__content {
  width: min(900px, 96vw);
  margin: 0 auto;
  text-align: center;
}

.gift-media {
  position: absolute;
  left: 50%;
  bottom: 0;
  transform: translate(-50%, 50%);
  width: var(--bonus-img-maxw);
  pointer-events: none;
}

.gift-media__img {
  width: 100%;
  height: var(--bonus-img-h);
  object-fit: contain;
}


/* CTA final */

.cta-card {
  padding: 50px;
  background: var(--clr-base);
  border-radius: var(--radius-card-lg);
}

.cta-card__title {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 800;
}

.cta-card__subtitle {
  padding: 0 0 22px 0;
  font-weight: 200;
  font-size: clamp(26px, 2.6vw, 36px);
}


/* Oferta */

.offer-box {
  margin-top: 32px !important;
  margin-bottom: 32px !important;
}

.offer-box p {
  margin: 0 0 12px;
  font-size: 20px !important;
  line-height: 1.45;
}

.offer-old,
.offer-price,
.offer-save,
.offer-note {
  font-size: 20px !important;
  line-height: 1.45;
}

.offer-old span {
  text-decoration: line-through;
  opacity: .65;
}

.offer-price {
  font-weight: 700;
}

.offer-box strong {
  font-size: inherit !important;
}

.offer-save {
  font-weight: 700;
  color: var(--clr-active) !important;
}

.offer-note {
  color: #666;
  margin-top: 20px !important;
}


/* Mensaje final */

.final-message {
  padding: 80px 0 0 0;
  text-align: center;
}

.final-message p {
  font-size: clamp(26px, 2.6vw, 36px);
  font-weight: 200;
}

.cierre {
  padding: 60px 0 80px 0;
  text-align: center;
}

.cierre p {
  font-size: clamp(18px, 1.8vw, 26px);
  line-height: 1.6;
}


/* =========================================================
   9) FOOTER
========================================================= */

.footer {
  background: var(--clr-base);
  padding: 0;
}

.footer__mark {
  width: 72px;
  margin: 0 auto;
}

.footer__text {
  line-height: 1.7;
}

.footer__social {
  display: flex;
  gap: 14px;
  align-items: center;
}

.footer__social a {
  display: inline-block;
  text-decoration: none;
}

.footer__social img {
  display: block;
  width: auto;
  height: 26px;
  filter: brightness(0) saturate(100%);
  opacity: 0.95;
  transition: opacity 0.2s ease;
}

.footer__social a:hover img {
  opacity: 0.7;
}

.footer-divider-h {
  height: 100px;
  position: relative;
}

.footer-divider-h::after {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: color-mix(in srgb, var(--clr-gray) 20%, transparent);
}

.footer__payments {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 18px;
  flex-wrap: nowrap;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.footer__payments img {
  flex: 0 0 auto;
  width: auto !important;
  height: 72px !important;
  max-height: 72px !important;
}

.footer__copy {
  padding: 35px 0 10px 0;
  margin: 0;
  font-size: 14px;
  font-weight: 400;
  opacity: .85;
}

.footer__links a {
  display: block;
  color: var(--clr-black);
  text-decoration: none;
  transition: all 0.3s ease;
}

.footer__links a:hover {
  color: var(--clr-active);
  text-underline-offset: 4px;
  opacity: 0.8;
}

.footer__links a:active,
.footer__links a.active {
  color: var(--clr-active) !important;
}

.padding-derecho-especial {
  padding-right: 80px;
}


/* =========================================================
   10) HERRAMIENTAS
========================================================= */

.tools-grid {
  padding: 0 0 100px 0;
}

.tool-card {
  min-height: 420px;
  padding: 50px;
  border-radius: 12px;

  background: var(--clr-white);
  color: var(--clr-black);

  display: flex;
  flex-direction: column;
  justify-content: space-between;

  box-shadow:
    0 10px 30px rgba(0, 0, 0, .06),
    0 1px 3px rgba(0, 0, 0, .06);

  transition: background 160ms ease, color 160ms ease, transform 160ms ease, box-shadow 160ms ease;
}

.tool-card__title {
  margin: 0 0 18px;
  font-weight: 800;
  font-size: clamp(22px, 2.0vw, 30px);
  line-height: 1.12;
  letter-spacing: -0.2px;
}

.tool-card__text {
  margin: 0 0 26px;
  font-size: clamp(14px, 1.5vw, 20px);
  line-height: 1.55;
  opacity: .95;
}

.tool-card__btn {
  height: var(--btn-height);
  width: min(240px, 100%);
  border-radius: var(--radius-pill);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background: var(--clr-black);
  color: var(--clr-white);

  text-decoration: none;
  font-weight: 700;
  letter-spacing: .2px;

  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.tool-card:hover {
  background: var(--clr-black);
  color: var(--clr-white);
  transform: translateY(-2px);
  box-shadow:
    0 14px 36px rgba(0, 0, 0, .10),
    0 3px 10px rgba(0, 0, 0, .10);
}

.tool-card:hover .tool-card__btn {
  background: var(--clr-white);
  color: var(--clr-black);
  transform: translateY(-2px);
}

.tool-card__btn:focus-visible {
  outline: 3px solid rgba(20, 115, 230, .35);
  outline-offset: 4px;
}

/* =========================================================
   CABECERA DE MARCA
========================================================= */

.minimal-t {
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  font-size: clamp(32px, 3vw, 48px);
  font-weight: 500;
  line-height: 1.15;
}

.minimal-s {
  margin-left: 0;
  margin-right: 0;
  text-align: center;
  font-size: clamp(20px, 2vw, 30px);
  font-weight: 400;
  line-height: 1.3;
}

/* =========================================================
   11) INDEX – SELECTOR DE IDIOMA
========================================================= */

.mp-index #header.degrade {
  min-height: 100vh;
  display: flex;
  align-items: center;
}

.mp-index #header.degrade > .container {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.mp-index .mp-index__actions {
  margin: auto 0;
  padding: 18px 0 34px;

  display: flex;
  gap: 22px;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
}

.mp-index .mp-lang-btn {
  height: var(--btn-height, 80px);
  padding: 0 34px;
  border-radius: var(--radius-pill, 40px);

  background: var(--clr-black);
  color: var(--clr-white);

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;

  transition: background 160ms ease, color 160ms ease, transform 160ms ease;
}

.mp-index .mp-lang-btn:hover {
  background: var(--clr-white);
  color: var(--clr-black);
  transform: translateY(-2px);
}

.mp-index .mp-lang-btn:focus-visible {
  outline: 3px solid rgba(20, 115, 230, .35);
  outline-offset: 4px;
}


/* =========================================================
   12) RESPONSIVE
========================================================= */

/* Tablet / iPad */

@media (max-width: 1199.98px) {
  .footer__payments img {
    height: 50px !important;
    max-height: 50px !important;
  }
}


/* Ocultar CTA flotante en tablet y móvil */

@media (max-width: 991.98px) {
  .cta-float-desktop {
    display: none !important;
  }
}


/* Mobile */

@media (max-width: 575.98px) {
  html,
  body {
    overflow-x: hidden;
  }

  .container {
    padding-left: 16px !important;
    padding-right: 16px !important;
  }

  .section__text,
  .hero-section__lead,
  .footer__text {
    font-size: clamp(16px, 4.2vw, 19px) !important;
    line-height: 1.7 !important;
  }

  .section__title {
    font-size: clamp(30px, 7vw, 38px) !important;
    line-height: 1.08 !important;
    padding-left: 8px;
    padding-right: 8px;
  }

  .btn-cta {
    width: 100%;
    max-width: 520px;
    height: 74px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 26px;
    padding-right: 26px;

    font-size: clamp(16px, 4.6vw, 20px);
    line-height: 1.1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .cta-mobile-only {
    display: inline-flex;
  }

  .card-feature,
  .card-bonus,
  .bonus {
    padding: 28px;
  }

  .padding-derecho-especial {
    padding-right: 0 !important;
  }

  .list-iconized__item,
  .list-checked__item {
    gap: 12px;
    align-items: flex-start;
    text-align: left;
    overflow-wrap: break-word;
  }

  .list-iconized__icon,
  .list-checked__icon,
  .card-bonus__icon {
    width: 26px;
    height: 26px;
    max-height: 26px;
    flex: 0 0 26px;
    margin-top: 2px;
  }

  .list-iconized__item span {
    min-width: 0;
    flex: 1;
    overflow-wrap: break-word;
  }

  .list-iconized li span,
  .list-checked li {
    font-size: clamp(16px, 4.2vw, 19px) !important;
    line-height: 1.55 !important;
    text-align: left !important;
  }

  .chips-group {
    width: 100% !important;
    margin-bottom: 70px;
    text-align: left !important;
  }

  .ui-chip {
    width: 100%;
    min-height: auto;
    padding: 16px 18px;
    border-radius: 22px;
    gap: 12px;
    justify-content: flex-start !important;
    align-items: center;
    text-align: left !important;
  }

  .ui-chip__icon {
    width: 28px;
    height: 28px;
    max-height: 28px;
    flex: 0 0 28px;
  }

  .card-bonus,
  .bonus {
    text-align: left !important;
  }

  .card-bonus__header,
  .bonus__header {
    justify-content: flex-start !important;
    align-items: center !important;
    text-align: left !important;
  }

  .card-bonus__label {
    white-space: nowrap;
  }

  .hero-media {
    width: 140% !important;
    left: 50%;
    transform: translate(-50%, -50%);
  }

  .cta-card {
    padding: 22px 14px !important;
  }

  .cta-card .cta-media {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  .cta-card img.img-fluid {
    width: 100% !important;
    max-width: 100% !important;
    height: auto !important;
    display: block;
  }

  .footer > .container > .row > div {
    margin-bottom: 36px;
  }

  .footer > .container > .row > div:last-child {
    margin-bottom: 0 !important;
  }

  .footer h5 {
    margin-bottom: 18px;
  }

  .footer__text {
    font-size: 15px !important;
    line-height: 1.75 !important;
  }

  .footer__copy {
    max-width: 34ch;
    margin: 0 auto !important;
    padding-left: 14px;
    padding-right: 14px;
    padding-bottom: 10px !important;
    text-align: center;
  }

  .footer__social {
    justify-content: center !important;
    margin-top: 20px;
  }

  .footer__payments {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 14px;
  }

  .footer__payments img {
    height: 30px !important;
    max-height: 30px !important;
    max-width: 90px;
    width: auto !important;
  }

  .tool-card {
    min-height: auto;
    padding: 34px 28px;
  }

  .tool-card__btn {
    width: 100%;
    max-width: 520px;
    margin-top: 26px;
  }

  .minimal-t {
    letter-spacing: 6px;
    font-size: clamp(24px, 11vw, 34px);
    padding-inline: 10px;
    white-space: normal;
    overflow-wrap: anywhere;
  }

  .mp-index .mp-index__actions {
    width: 100%;
    padding-left: 16px;
    padding-right: 16px;
    gap: 14px;
  }

  .mp-index .mp-lang-btn {
    width: 100%;
    max-width: 520px;
  }
}


/* Reducir movimiento */

@media (prefers-reduced-motion: reduce) {
  .tool-card,
  .tool-card__btn {
    transition: none !important;
  }
}