/* Variables de color de Planappetit */
        :root {
            --backClaro:var(--c-tinte);
            --plnAppClr:var(--c-primario);
            --scnPlnAppClr:var(--c-primario);
            --txtColor:var(--c-texto2);
            --backOscuro:var(--c-fondo);

            --primary-color: var(--c-medio);
            --secondary-color: var(--c-primario);
            --accent-color: var(--c-primario);
            --light-color: var(--c-tinte);
            --dark-color: var(--c-texto);
            --gray-color: var(--c-texto2);
            --light-gray: var(--c-fondo);
            --white: #ffffff;
            --shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
            --transition: all 0.3s ease;
        }


   /***log in**/
  .modalMainLogIn{
   position: fixed;
      inset: 0; /* top: 0; right: 0; bottom: 0; left: 0; */
      display: none;
      align-items: center;
      justify-content: center;
      z-index: 999999999999999999999999999999;

    width: 100%; /* Full width */
    height: 100%; /* Full height */
    overflow: auto; /* Enable scroll if needed */
    background-color: rgba(77, 77, 77, 0.774); /* Fallback color */
    animation-name: loadModal;
    animation-duration: 0.3s;
  }

  @keyframes loadModal {
    0% {
      opacity: 0;
      transform: translateZ(70%);
    } 100% {
      opacity: 1;
      transform: translateZ(0%);
    }
  }
  /* Añade esto a tu CSS existente */
@keyframes unloadModal {
    0% {
        opacity: 1;
        transform: scale(1);
    }
    100% {
        opacity: 0;
        transform: scale(0.7);
    }
}
.mainMdl {
  /* Activamos Flexbox para centrar la imagen perfectamente a los ejes */
  display: flex;
  align-items: center;
  justify-content: center;

  /* Mantener dimensiones exactas solicitadas */
  width: 200px;
  height: 200px;
  max-width: 90%;
  margin: 0;

  /* Evita que el borde y el padding sumen tamaño extra a los 440px */
  box-sizing: border-box;

  /* Borde grueso del color exacto var(--c-primario) */
  border: 4px solid var(--c-primario);
  border-radius: 55px; /* Ajustado para que la curvatura coincida con el grosor del borde */
  padding: 20px;
  background-color: rgb(255, 255, 255);

  /* Sombreado premium usando tu color base var(--c-primario) con transparencias (RGBA) */
  box-shadow: 0 16px 32px rgba(var(--c-primario-rgb),0.3),
              0 4px 12px rgba(var(--c-primario-rgb),0.15);
}

#imgIcnPlnApp {
  /* Hacemos que la imagen sea totalmente flexible dentro del contenedor */
  max-width: 110%;
  max-height: 110%;

  object-fit: contain; /* Conserva la proporción exacta del logo sin distorsionarlo */
  border-radius: 25px;
  transform: translateY(7px);
}
  form {
    width: 440px;
    height: 570px;
    max-width: 90%; /* Para responsive en pantallas pequeñas */
    margin: 0; /* Eliminado el margin anterior */

    border-radius: 30px;
    padding: 15px 15px;
    background-color: white;
    box-shadow:0 12px 15px 0 rgba(0,0,0,.24),0 17px 50px 0 rgba(0,0,0,.19);
  }
  .txtShwPw{
    padding-left: 7px;
    font-family:'poppinsRegular';
  }
  .dvAmgImg{
    text-align: center;
    padding-top: 70px;
    padding-bottom: 46px;
  }
  /* AUDITORÍA 2026-10-05: el logo del pie tenía el mismo id (duplicado); se renombró a
     #imgAmbgLogFooter y se copia aquí el estilo que ya recibía, para que se vea igual. */
  #imgAmbgLog,
  #imgAmbgLogFooter{
    width: 91%;
  }
  .divEml{
    margin-left: 7%;
    margin-right: 7%;
  }
  #loginEmail{
    background-color: white;
    text-align: center;
    width:96%;
    height: 34px;
    font-size: 17px;
    padding: 7px 7px 7px 10px;
    outline: none;
    border: 1px solid var(--c-primario);
    border-radius: 12px;
    background-image: url("../../folder/img/Correo.svg");
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 1% 45%;
    font-family:'poppinsLight';
  }
  #loginEmail:focus{
    background-image: url("../../folder/img/Correo.svg");
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 1% 45%;
    outline: none;
  }
  #loginEmail:active{
    background-image: url("../../folder/img/Correo.svg");
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 1% 45%;
    outline: none;
  }
  .divPass{
    margin-left: 7%;
    margin-right: 7%;
    margin-top: 3%;
  }
  #loginPassword{
    text-align: center;
    width: 96%;
    padding: 7px;
    height: 34px;
    font-size: 17px;
    border: 1px solid var(--c-primario);
    border-radius: 12px;
    background-image: url("../../folder/img/Contraseña.svg");
    background-size: 30px 30px;
    background-repeat: no-repeat;
    background-position: 1% 45%;
  }
  .dvShwPs{
    text-align: left;
    margin-top: 4%;
  }
  .txBxPss{
    margin-left: 7%;
  }
  .txBxPss:hover{
    cursor: pointer;
  }
  .txtRcvPw{
    margin-left: 7%;
    font-size: px;
    font-family:'poppinsLight';
    text-decoration: underline;
  }
  .txtRcvPw:hover{
    cursor: pointer;
    color: var(--c-primario);
  }
  .dvLgBtn{
    text-align: center;
  }
  .dvGl{
    text-align: center;
    margin-top: 4%;
  }
  .dvGlB{
    text-align: center;
    margin-top: 5%;
  }
  .btnRgst{
    padding: 7px 55px 7px 55px;
    color: white;
    background-color: var(--c-primario);
    font-size: 17px;
    font-family: 'poppinsRegular';
    margin: 30px 0px 0px;
    text-align: center;
    border: 0.5px solid var(--c-primario);
    border-radius: 20px;
    font-family:'poppinsLight';
  }
  .btnRgst:hover{
    cursor:pointer;
    transform: scale(1.02);
    background-color: var(--c-primario);
    box-shadow: 5px 5px 5px var(--c-borde);
    opacity: 0.9;
  }
   button {
    padding: 18px 20px;
    color: white;
    background-color: var(--c-primario);
    font-size: 1rem;
    font-family: 'poppinsRegular';
    margin: 30px 0px 0px;
    width: 50%;
    height: auto;
    padding: 20px;
    text-align: center;
    line-height: 0px;
    border: 0.5px solid var(--c-primario);
    border-radius: 20px;
  }

  button:hover{
    cursor:pointer;
    transform: scale(1.02);
    background-color: var(--c-primario);
    box-shadow: 5px 5px 5px var(--c-borde);
    opacity: 0.9;
  }

        /*Modal de recuperación de contraseña*/
        /* Estilos del modal */
        .modal {
            display: none;
            position: fixed;
            z-index: 99999999999999999999999999999999999999999999999;
            left: 0;
            top: 0;
            width: 100%;
            height: 100%;
            background-color: rgba(0, 0, 0, 0.5);
            animation: fadeIn 0.3s;
        }
        .mnTxRcvPw{
          font-size: 27px;
          font-family:'poppinsSemiBold';
        }
        .sbTxtRcvPw{
          font-size: 14px;
          font-family:'poppinsLight';
        }
        .btnRcvPw{
          font-size: 17px;
          font-family:'poppinsLight';
          padding: 5px 25px 5px 25px;
          background-color: var(--c-medio);
          color: white;
          border: 3px solid var(--c-medio);
          border-radius: 25px;
        }
        .btnRcvPw:hover{
          cursor: pointer;
          box-shadow: 2px 2px 7px var(--c-suave);

        }
        .modal-content {
            background-color: #fefefe;
            margin: 10% auto;
            padding: 25px;
            border-radius: 8px;
            width: 90%;
            height: auto;
            max-width: 500px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            animation: slideDown 0.3s;
            align-items: center;
            text-align: center;
        }
        @keyframes slideDown {
            from { transform: translateY(-50px); opacity: 0; }
            to { transform: translateY(0); opacity: 1; }
        }
        .close-modal {
            color: var(--c-suave);
            float: right;
            font-size: 28px;
            font-weight: bold;
            cursor: pointer;
            transition: color 0.3s;
        }
        .close-modal:hover {
            color: var(--c-texto);
        }
        /* Estilos del formulario */
        .form-group {
            margin-bottom: 20px;
        }
        .form-group label {
            display: block;
            margin-bottom: 8px;
            font-weight: bold;
            color: var(--c-texto);
        }
        .form-group input {
            width: 100%;
            padding: 12px;
            border: 1px solid var(--c-borde);
            border-radius: 4px;
            box-sizing: border-box;
            font-size: 16px;
            transition: border 0.3s;
        }
        .form-group input:focus {
            border-color: var(--c-medio);
            outline: none;
        }
        .btn-submit {
            background-color: var(--c-medio);
            color: white;
            padding: 12px 20px;
            border: none;
            border-radius: 4px;
            cursor: pointer;
            font-size: 16px;
            width: 100%;
            transition: background-color 0.3s;
        }
        .btn-submit:hover {
            background-color: var(--c-medio);
        }
        /* Estilos del mensaje */
        .message {
            margin-top: 20px;
            padding: 12px;
            border-radius: 4px;
            text-align: center;
            display: none;
        }
        .success {
            background-color: #dff0d8;
            color: var(--c-medio);
            border: 1px solid #d6e9c6;
            display: block;
        }
        .error {
            background-color: #f2dede;
            color: #a94442;
            border: 1px solid #ebccd1;
            display: block;
        }
        /* Estilos para el título */
        h2 {
            color: var(--c-texto);
            margin-top: 0;
            text-align: center;
        }
        p {
            color: var(--c-texto2);
            text-align: center;
            margin-bottom: 25px;
        }


/*******  Modal email confirmation *********/

.modalConfirm {
  display: none;
  position: fixed;
  z-index: 999999999999999999999999999999999999999999999999999999999999999999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.6);
  justify-content: center;
  align-items: center;
}
.modalContentConfirm {
  background-color: #fefefe;
  margin: auto;
  margin-top: 7.7%;
  padding: 25px;
  border-radius: 12px;
  border: 1px solid var(--backOscuro);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  width: 90%;
  max-width: 450px;
  text-align: center;
  animation: modalFadeIn 0.3s;
}

@keyframes modalFadeIn {
  from {opacity: 0; transform: translateY(-20px);}
  to {opacity: 1; transform: translateY(0);}
}
.tpTxt{
  color: var(--plnAppClr);
  margin-bottom: 15px;
  font-size: 27px;
  font-family: "poppinsSemiBold";
}
.sbtpTxt{
  text-align: justify;
  color: var(--txtColor);
  margin-bottom: 15px;
  line-height: 1.5;
  font-family: "poppinsLight";
  font-size: 17px;
}
.smltpTxt{
  text-align: justify;
  color: var(--txtColor);
  margin-bottom: 15px;
  line-height: 1.5;
  font-family: "poppinsLight";
  font-size: 14px;
}
.sbsbTxt{
  color: var(--txtColor);
  font-size: 14px;
  font-family: "poppinsSemiBold";
}
.modal-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 0px;
}
.dvMdlVrf{
  width: 100%;
  text-align: right;
}
.clsMdlEmlVrf{
  font-family:'poppinsLight';
  font-size: 22px;
  color: var(--txtColor);
}
.clsMdlEmlVrf:hover{
  cursor: pointer;
  color: var(--plnAppClr);
  font-size: 23px;
}
.resend-btn, .logout-btn {
  border: none;
  cursor: pointer;
  font-weight: 500;
  transition: var(--transition);
}
.resend-btn {
  display: inline-block;
  padding: 8px 30px;
  background-color: var(--scnPlnAppClr);
  color: white;
  border-radius: 50px;
  font-family: "poppinsLight";
  font-size: 14px;
  box-shadow: var(--shadow);
}
.resend-btn:hover {
  background-color: var(--plnAppClr);
}
.rsndTimer {
  font-family: "poppinsLight";
  font-size: 14px;
  color: var(--txtColor);
  padding: 0;
}
.logout-btn {
  background-color: var(--c-medio);
  color: #ffffff;
  border-radius: 25px;
}
.logout-btn:hover {
  background-color: var(--c-borde);
}

        /* Estilos generales */
        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background-color: white;
            color: var(--dark-color);
            line-height: 1.6;
            overflow-x: hidden;
        }

        @font-face{
      font-family:'poppinsExtraBold';
      src:url("/flsCss/filesCss/fonts/Poppins-ExtraBold.ttf")
  }@font-face{
      font-family:'poppinsExtraBoldItalic';
      src:url('/flsCss/filesCss/fonts/Poppins-ExtraBoldItalic.ttf');
  }@font-face{
      font-family:'poppinsSemiBold';
      src:url('/flsCss/filesCss/fonts/Poppins-SemiBold.ttf');
  }
  @font-face{
      font-family:'poppinsRegular';
      src:url('/flsCss/filesCss/fonts/Poppins-Regular.ttf');
  }@font-face{
      font-family:'poppinsLight';
      src:url('/flsCss/filesCss/fonts/Poppins-Light.ttf');
  }


        .container {
            width: 90%;
            max-width: 1200px;
            margin: 0 auto;
            padding: 0 20px;
        }

        section {
            padding: 100px 0;
            position: relative;

        }

        /* Tipografía */
        h1, h2, h3, h4 {
            color: var(--plnAppClr);
            line-height: 1.3;
            margin-bottom: 20px;
        }

        h1 {
            font-size: 2.9rem;
            font-family:'poppinsRegular';
        }


        h2 {
            font-size: 2.5rem;
            text-align: center;
            margin-bottom: 50px;
            position: relative;
        }

        h2:after {
            content: '';
            position: absolute;
            width: 80px;
            height: 4px;
            background-color: var(--accent-color);
            bottom: -15px;
            left: 50%;
            transform: translateX(-50%);
            border-radius: 2px;
        }

        .btnTxt{
                color: var(red);
            }
        h3 {
            font-size: 1.8rem;
            margin-bottom: 15px;
        }

        p {
            margin-bottom: 20px;
            font-size: 1.1rem;
            color: var(--gray-color);
             font-family:'poppinsRegular';

        }
        .sbTxt{
            text-align: justify;
            color: var(--txtColor);
        }
        .nvImg{
            width: 250px;
            height: auto;
        }
        .mnTxt{
            color: var(--txtColor);
            font-family:'poppinsRegular';
            font-size: 2.2rem;
        }
        .highlight {
            color: var(--accent-color);
            font-family:'poppinsRegular';
            font-size: 2.2rem;
        }
        .highlightB {
            color: var(--plnAppClr);
            font-family:'poppinsRegular';
            font-size: 2.2rem;
        }
        .highlightBtn {
            color: var(--txtColor);
            font-family:'poppinsRegular';
        }

        /* Botones */
        .btn {
            display: inline-block;
            padding: 4px 40px;
            background-color: var(--scnPlnAppClr);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 1.1rem;
            font-family:'poppinsRegular';
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            box-shadow: var(--shadow);
        }

        .btn:hover {
            background-color: var(--plnAppClr);
            transform: translateY(-3px);
            box-shadow: 0 8px 20px rgba(var(--c-primario-rgb),0.3);
        }
        .btnTp{
            display: inline-block;
            padding: 1px 20px;
            background-color: var(--scnPlnAppClr);
            color: white;
            border: none;
            border-radius: 50px;
            font-size: 15px;
            font-family:'poppinsRegular';
            cursor: pointer;
            transition: var(--transition);
            text-decoration: none;
            box-shadow: var(--shadow);
        }

        .btnTp:hover {
            background-color: var(--plnAppClr);
            transform: translateY(-3px);
            box-shadow: 0 2px 2px rgba(var(--c-primario-rgb),0.3);
            color: white;
            text-decoration: none;
        }

        .btn-accent {
            background-color: var(--accent-color);
        }

        .btn-accent:hover {
            background-color: var(--c-primario);
            color: white;
        }

        /* Header */
        header {
            background-color: var(--white);
            box-shadow: var(--shadow);
            position: fixed;
            width: 100%;
            top: 0;
            z-index: 1000;
            padding: 21px 0;
            transition: var(--transition);
        }

        header.scrolled {
            padding: 15px 0;
        }

        .header-container {
            display: flex;
            justify-content: space-between;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 15px;
        }


        .logo h1 {
            font-size: 1.8rem;
            margin-bottom: 0;
        }

        nav ul {
            display: flex;
            list-style: none;
            gap: 30px;
            padding: 5px 30px;
        }

        nav a {
            font-family:'poppinsRegular';
            text-decoration: none;
            color: var(--txtColor);
            transition: var(--transition);
            font-size: 17px;
        }

        nav a:hover {
            color: var(--plnAppClr);
            text-decoration: underline;
        }

        .mobile-menu-btn {
            display: none;
            background: none;
            border: none;
            font-size: 1.5rem;
            color: var(--primary-color);
            cursor: pointer;
            margin: 0px;
            width: 30px;
        }
        .mobile-menu-btn:hover{
            color: var(--primary-color);
        }

        /* Hero Section */
        .hero {
            padding-top: 180px;
            padding-bottom: 100px;
            background-color: var(--backClaro);
            overflow: hidden;
        }

        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 50px;
        }

        .hero-text {

            flex: 1;
            opacity: 0;
            transform: translateX(-50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }


        .hero-text.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .hero-image {
            flex: 1;
            text-align: center;
            opacity: 0;
            transform: translateX(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .hero-image.animate {
            opacity: 1;
            transform: translateX(0);
        }

        .hero-image img {
            max-width: 100%;
            border-radius: 20px;
            box-shadow: var(--shadow);
            animation: float 3s ease-in-out infinite;
        }

        @keyframes float {
            0%, 100% { transform: translateY(0); }
            50% { transform: translateY(-20px); }
        }


        /* Beneficios Section */

        .section-container {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 60px;
            max-width: 1100px;
            margin: 80px auto; /* Centrado automático */
            padding: 20px;
            opacity: 0; /* Inicialmente oculto para la animación */
            transform: translateY(50px);
            transition: all 0.8s ease-out;
            border-bottom: 0.2px solid var(--c-borde);
            border-top: 0.2px solid var(--c-borde);
            border-left: 0.2px solid var(--c-borde);
            border-right: 0.2px solid var(--c-borde);
            border-radius: 25px;
        }

        .section-containerB {
            display: flex;
            align-items: center;
            justify-content: center;
            gap: 60px;
            max-width: 1100px;
            margin: 80px auto; /* Centrado automático */
            padding: 20px;
            opacity: 0; /* Inicialmente oculto para la animación */
            transform: translateY(50px);
            transition: all 0.8s ease-out;
            border-bottom: 0.2px solid var(--c-borde);
            border-top: 0.2px solid var(--c-borde);
            border-left: 0.2px solid var(--c-borde);
            border-right: 0.2px solid var(--c-borde);
            border-radius: 25px;
        }

        /* Clase que activa la animación */
        .section-container.visible {
            opacity: 1;
            transform: translateY(0);
        }
        .section-containerB.visible {
            opacity: 1;
            transform: translateY(0);
        }
         /* --- LADO IZQUIERDO: LA TARJETA --- */
        .card {
            position: relative;
             width: 100%;
            max-width: 500px;
            height: 320px;
            border-radius: 24px;
            overflow: hidden;
            display: flex;
            box-shadow: 0 20px 40px rgba(0,0,0,0.15);
            flex-shrink: 0;
            background-color: var(--backClaro);
        }

        .card-left {
            background-color: var(--backClaro);
            width: 100%;
            padding: 30px;
            display: flex;
            flex-direction: column;
            justify-content: center;
            z-index: 2;
            opacity: 0;

        }
        .card-left img {
            width: 100%;
            opacity: 0.8;
            height: auto;
            max-height: 180px;
            object-fit: contain;
            filter: drop-shadow(0 5px 10px rgba(0,0,0,0.1));

        }
        .ftsTxt{
            padding: 10px 20px;
            margin: 0px;
            color: var(--txtColor);
            font-family:'poppinsLight';

            font-size: 35px;
        }
        .ftsTxtB{
            padding:10px 20px;
            margin: 30px;
            color: var(--txtColor);
            font-family:'poppinsLight';

            font-size: 35px;
        }
        .txtPlnAppA{
            color: var(--plnAppClr);
            font-size: 38px;
            font-family:'poppinsLight';
        }
        .txtPlnAppB{
            color: var(--plnAppClr);
            font-size: 38px;
            font-family:'poppinsSemiBold';

        }
        /* Logo "Planappetit" como imagen, en lugar del texto en dos tonos.
           (No aplica a la intro del chat: ahí se dejó el texto original). */
        .imgPlanTxt {
            display: inline-block;
            width: 300px;
            vertical-align: middle;
            object-fit: contain;
        }
        .imgPlanTxtHero {
            height: 76px;
        }
        .imgPlanTxtHeading {
            height: 77px;
        }
        /* Cuando la sección es visible, activamos la animación de la card-left */
        .section-container.visible .card-left,
        .section-containerB.visible .card-left {
            animation: cardExpandAnimation 1s ease-out forwards;
        }

        /* Animación que comienza en 90% y termina en 45% */
        @keyframes cardExpandAnimation {
            0% {
                width: 1000%;
                opacity: 0.7;
            }
            40% {
                opacity: 1;
            }
            60% {
                width: 90%;
            }
            100% {
                width: 45%;
                opacity: 1;
            }
        }


        .card-right {
            background-color: var(--light-beige);
            width: 55%;
            position: relative;
        }

        .brand-logoLft {
            color: white;
            font-weight: bold;
            font-size: 20px;
            margin-bottom: 40px;
            position: absolute;
            top: 25px;
            right: 25px;
        }
        .brand-logoRgt {
            color: white;
            font-weight: bold;
            font-size: 20px;
            margin-bottom: 40px;
            position: absolute;
            top: 25px;
            left: 25px;
        }
        .bicycle-img {
            position: absolute;
            right: -20px;
            top: 50%;
            transform: translateY(-50%);
            height: 85%;
            object-fit: contain;
        }
        /* Badge de "% de coincidencia" sobre la tarjeta de recetas novedosas.
           El valor (92%) es ilustrativo para este mockup; en producción debe
           venir calculado dinámicamente por receta, igual que en la página
           de "Aprovecha tus ingredientes". */
        .compatBadge {
            position: absolute;
            bottom: 18px;
            left: 18px;
            z-index: 3;
            background-color: var(--white);
            color: var(--plnAppClr);
            font-family: 'poppinsSemiBold';
            font-size: 14px;
            padding: 7px 16px;
            border-radius: 20px;
            box-shadow: var(--shadow);
        }
        /* --- LADO DERECHO: TEXTO --- */
        .content-right {
            max-width: 450px;
        }
        .label {
            color: var(--txtColor);
            text-transform: uppercase;
            font-weight: bold;
            font-size: 13px;
            letter-spacing: 1px;
            margin-bottom: 15px;
            display: block;
        }
        .section-container.visible .label,
        .section-containerB.visible .label {
            animation-duration:1s;
            animation-name: uptToDwn;
        }
        .main-title {
            font-size: 35px;
            line-height: 1.1;
            margin: 0 0 20px 0;
            font-weight: 600;

        }
        .section-container.visible .main-title,
        .section-containerB.visible .main-title{
             animation-duration:1.5s;
            animation-name: uptToDwn;
        }
        .description {
            font-size: 18px;
            line-height: 1.5;
            color: var(--txtColor);
            text-align: left;

        }
        .section-container.visible .description,
        .section-containerB.visible .description{
            animation-duration:2s;
            animation-name: uptToDwn;
        }
        .miniChips {
            display: flex;
            flex-wrap: wrap;
            gap: 10px;
            margin-top: 6px;
        }
        .miniChip {
            display: inline-flex;
            align-items: center;
            gap: 6px;
            padding: 7px 14px;
            border-radius: 20px;
            background-color: var(--backClaro);
            color: var(--plnAppClr);
            font-family: 'poppinsRegular';
            font-size: 13px;
            white-space: nowrap;
            border: 1px solid var(--backOscuro);
        }
        .section-container.visible .miniChips,
        .section-containerB.visible .miniChips{
            animation-duration:2.3s;
            animation-name: uptToDwn;
        }
        @media (max-width: 480px) {
            .miniChip { font-size: 12px; padding: 6px 11px; }
        }

        /* Responsive */

         /* Tablets y Laptops pequeñas */
        @media (max-width: 1024px) {
            .section-container, .section-containerB {
                gap: 30px;
                padding: 40px;
            }
            .main-title { font-size: 28px; }
            .card { height: 280px; }
        }

        /* Celulares y Tablets Verticales */
        @media (max-width: 768px) {
            .section-container, .section-containerB {
                flex-direction: column !important; /* Apilar vertical */
                text-align: center;
                margin: 40px auto;
            }

            /* En móviles, la sección B invierte orden para que imagen salga arriba */
            .section-containerB {
                flex-direction: column-reverse !important;
            }

            .card {
                max-width: 100%;
                height: 250px;
            }

            .content-right {
                max-width: 100%;
            }
            @keyframes cardExpandAnimation {
                0% { width: 100%; opacity: 0.7; }
                100% { width: 50%; opacity: 1; }
            }
        }
        /* Celulares pequeños */
        @media (max-width: 480px) {
            .main-title { font-size: 24px; }
            .description { font-size: 16px; }
            .card { height: 200px; }
        }
        @media (max-width: 900px) {
            .section-container {
                flex-direction: column;
                text-align: center;
            }
            .section-containerB {
                flex-direction: column;
                text-align: center;
            }
            .card {
                width: 100%;
                max-width: 450px;
            }
        }

@keyframes uptToDwn {
  0%, 50% { /* Los primeros 50% son de espera */
        opacity: 0;
        transform: translateY(70%);
    }
    100% {
        opacity: 1;
        transform: translateY(0%);
    }
}

        .beneficios {
            background-color: var(--white);
            padding: 20px 20px 5px 20px;
        }

        .beneficios-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
            gap: 40px;
        }

        .beneficio-card {
            background-color: var(--white);
            border-radius: 15px;
            padding: 40px 30px;
            text-align: center;
            box-shadow: var(--shadow);
            transition: var(--transition);
            opacity: 0;
            transform: translateY(50px);
        }

        .beneficio-card.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .beneficio-card:nth-child(1) { transition-delay: 0.1s; }
        .beneficio-card:nth-child(2) { transition-delay: 0.2s; }
        .beneficio-card:nth-child(3) { transition-delay: 0.3s; }
        .beneficio-card:nth-child(4) { transition-delay: 0.4s; }

        .beneficio-card:hover {
            transform: translateY(-10px);
            box-shadow: 0 15px 30px rgba(0, 0, 0, 0.15);
        }

        .beneficio-icon {
            font-size: 3.5rem;
            color: var(--primary-color);
            margin-bottom: 20px;
        }

        /* Como funciona Section */
        .como-funciona {
            background-color: var(--backOscuro);
        }
        .hwWrk{
            color: var(--txtColor);
        }

        .pasos-container {
            display: flex;
            flex-wrap: wrap;
            justify-content: center;
            gap: 40px;
        }

        .paso {
            flex: 1;
            min-width: 250px;
            max-width: 350px;
            text-align: center;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
        }

        .paso.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .paso:nth-child(1) { transition-delay: 0.1s; }
        .paso:nth-child(2) { transition-delay: 0.3s; }
        .paso:nth-child(3) { transition-delay: 0.5s; }

        .paso-numero {
            width: 70px;
            height: 70px;
            background-color: var(--primary-color);
            color: white;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2rem;
            font-weight: 700;
            margin: 0 auto 25px;
            position: relative;
        }

        .paso-numero:after {
            content: '';
            position: absolute;
            width: 100%;
            height: 100%;
            border: 2px solid var(--primary-color);
            border-radius: 50%;
            animation: pulse 2s infinite;
        }

        @keyframes pulse {
            0% { transform: scale(1); opacity: 1; }
            100% { transform: scale(1.5); opacity: 0; }
        }

        /* Testimonios Section */
        .testimonios {
            background-color: var(--white);
        }

        .testimonios-container {
            max-width: 800px;
            margin: 0 auto;
            position: relative;
            overflow: hidden;
        }

        .testimonio-slider {
            display: flex;
            transition: transform 0.5s ease;
        }

        .testimonio {
            min-width: 100%;
            padding: 40px;
            background-color: var(--backClaro);
            border-radius: 15px;
            text-align: left;
            box-shadow: var(--shadow);
        }

        .testimonio-img {
            width: 100px;
            height: 100px;
            border-radius: 50%;
            object-fit: cover;
            margin-bottom: 20px;
            border: 5px solid var(--white);
            box-shadow: var(--shadow);
        }

        .testimonio-text {
            font-style: italic;
            font-size: 1.2rem;
            margin-bottom: 20px;
        }

        .testimonio-author {
            font-weight: 700;
            color: var(--primary-color);
        }

        .slider-controls {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin-top: 30px;
        }

        .slider-btn {
            width: 1px;
            height: 1px;
            border-radius: 50%;
            background-color: var(--light-gray);
            border: none;
            cursor: pointer;
            transition: var(--transition);
        }

        .slider-btn.active {
            background-color: var(--primary-color);
            transform: scale(1.2);
        }

        /* CTA Section */
        .cta {
            background-color: var(--backClaro);
            text-align: center;
        }

        .cta-content {
            max-width: 800px;
            margin: 0 auto;
            opacity: 0;
            transform: translateY(50px);
            transition: opacity 0.8s ease, transform 0.8s ease;
            text-align: left;
        }

        .cta-content.animate {
            opacity: 1;
            transform: translateY(0);
        }

        .cta-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 40px;
            flex-wrap: wrap;
        }

        /* Footer */
        footer {
            background-color: var(--plnAppClr);
            color: white;
            padding: 70px 0 30px;
        }
        .ftrTxt{
            color: white;
            padding-left: 80px;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            flex-wrap: wrap;
            gap: 40px;
            margin-bottom: 10px;
        }

        .footer-column {
            flex: 1;
            min-width: 250px;
        }

        .footer-column h3 {
            color: white;
            margin-bottom: 25px;
            font-size: 1.5rem;
        }

        .footer-links {
            list-style: none;
        }

        .footer-links li {
            margin-bottom: 15px;
        }

        .footer-links a {
            color: #fff;
            text-decoration: none;
            transition: var(--transition);
        }

        .footer-links a:hover {
            color: white;
            padding-left: 5px;
        }

        .social-icons {
            display: flex;
            gap: 20px;
            margin-top: 20px;
        }

        .social-icons a {
            display: inline-flex;
            align-items: center;
            justify-content: center;
            width: 45px;
            height: 45px;
            background-color: rgba(255, 255, 255, 0.1);
            border-radius: 50%;
            color: white;
            font-size: 1.2rem;
            transition: var(--transition);
        }

        .social-icons a:hover {
            background-color: var(--primary-color);
            transform: translateY(-5px);
        }

        .copyright {
            text-align: center;
            padding-top: 30px;
            border-top: 1px solid rgba(255, 255, 255, 0.35);
            color: #fff;
            font-size: 0.9rem;
        }

        /* Responsive */
        @media (max-width: 992px) {
            h1 {
                font-size: 2.8rem;
            }

            h2 {
                font-size: 2.2rem;
            }

            .hero-content {
                flex-direction: column;
                text-align: center;
            }

            .hero-text, .hero-image {
                transform: translateY(50px);
            }

            .hero-text.animate, .hero-image.animate {
                transform: translateY(0);
            }
        }

        @media (max-width: 768px) {
            .mobile-menu-btn {
                display: block;
            }

            nav {
                position: fixed;
                top: 80px;
                left: 0;
                width: 100%;
                background-color: var(--white);
                box-shadow: var(--shadow);
                padding: 20px;
                transform: translateY(-100%);
                opacity: 0;
                visibility: hidden;
                transition: var(--transition);
            }

            nav.active {
                transform: translateY(0);
                opacity: 1;
                visibility: visible;
            }

            nav ul {
                flex-direction: column;
                gap: 15px;
            }

            h1 {
                font-size: 2.5rem;
            }

            h2 {
                font-size: 2rem;
            }

            section {
                padding: 80px 0;
            }
        }

        @media (max-width: 576px) {
            h1 {
                font-size: 2.2rem;
            }

            h2 {
                font-size: 1.8rem;
            }

            .btn {
                padding: 12px 25px;
            }

            .cta-buttons {
                flex-direction: column;
                align-items: center;
            }
        }



        /* ==========================================
   NUEVOS ESTILOS PARA LA METAMORFOSIS PREMIUM
   ========================================== */

/* 1. Estado inicial del Formulario (Oculto al arrancar la animación) */
#login-form {
 display: none;
  opacity: 0;
  filter: blur(8px);
  /* Ajustado a 0.7s para que aparezca con presencia pero sin flotar lento */
  transition: opacity 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              filter 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              transform 0.7s cubic-bezier(0.16, 1, 0.3, 1),
              width 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              height 0.9s cubic-bezier(0.16, 1, 0.3, 1),
              border-radius 0.9s ease;
}

/* ==========================================
   TRANSICIÓN A MODO CHAT (disparada por goRgt)
   ========================================== */

/* Fase 1: se desvanece el contenido actual (logo, inputs, botones, links).
   Se excluyen .chatIntro y .chatBody porque también son <div> hijos
   directos del form y no deben quedar atrapados por este !important. */
#login-form.form-emptying > div:not(.chatIntro):not(.chatBody) {
  opacity: 0 !important;
  filter: blur(6px);
  transform: translateY(-8px);
  transition: opacity 0.4s ease, filter 0.4s ease, transform 0.4s ease;
  pointer-events: none;
}

/* Fase 2: el contenedor crece para dar espacio al chat (todavía vacío) */
#login-form.chat-mode {
  /* display:block explícito porque este flujo puede llegar aquí sin haber
     pasado nunca por .show-form (entrada directa al cuestionario desde
     goQstTop / goQstMidl / CTA) — sin esto el form seguiría en su
     display:none de reposo. */
  display: block !important;
  position: absolute;
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
  width: 760px;
  height: 830px;
  max-width: 92vw;
  max-height: 88vh;
  border-radius: 26px;
}

/* Botón "X" para cerrar el modo chat (único cierre permitido en ese modo) */
.closeChatModal {
  display: none;
  position: absolute;
  top: 16px;
  right: 22px;
  font-size: 30px;
  line-height: 1;
  color: var(--c-suave);
  cursor: pointer;
  z-index: 5;
  font-family: 'poppinsLight';
  opacity: 0;
  transition: opacity 0.4s ease, color 0.2s ease;
}
.closeChatModal:hover {
  color: var(--c-texto);
}
#login-form.chat-mode .closeChatModal {
  display: block;
  opacity: 1;
}

/* ==========================================
   INTRO DEL CHAT: "¡Hola! Soy Planappetit"
   (tomado de cuestionario.html/css, adaptado
   al tamaño y tiempos del modal de chat)
   ========================================== */
.chatIntro {
  display: none;
  position: absolute;
  inset: 0;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 20px;
  opacity: 0;
}

#login-form.chat-mode.show-chat-intro .chatIntro,
#login-form.chat-mode.chat-intro-exiting .chatIntro {
  display: flex;
  opacity: 1;
}

#login-form.chat-mode.chat-intro-exiting .chatIntro {
  opacity: 0;
  transition: opacity 0.5s ease;
}
.chatIntro .frstTxtB,
.chatIntro .txtPlnAppA {
  display: inline-block;
  opacity: 0;
  font-size: 30px;
  padding-left: 6px;
  color: var(--plnAppClr);
}

.chatIntro .frstTxt,
.chatIntro .txtPlnAppB {
  display: inline-block;
  opacity: 0;
  font-size: 30px;
  color: var(--plnAppClr);
}

.chatIntro .frstTxt,
.chatIntro .frstTxtB {
  font-family: 'poppinsLight';
}

.chatIntro .txtPlnAppA {
  font-family: 'poppinsLight';
}

.chatIntro .txtPlnAppB {
  font-family: 'poppinsSemiBold';
}

/* "¡Hola! " entra desde el fondo con blur */
#login-form.chat-mode.show-chat-intro .chatIntro .frstTxt {
  transform: translateZ(-200px) scale(0.6);
  filter: blur(12px);
  animation: chatHolaForward 0.9s cubic-bezier(.16,.84,.44,1) forwards;
  animation-delay: 0.1s;
}

/* "Soy" / "Plan" / "appetit" caen en cascada */
#login-form.chat-mode.show-chat-intro .chatIntro .frstTxtB {
  transform: translateY(-40px);
  animation: chatCascadeDown 0.6s cubic-bezier(.16,.84,.44,1) forwards;
  animation-delay: 0.45s;
}

#login-form.chat-mode.show-chat-intro .chatIntro .txtPlnAppA {
  transform: translateY(-40px);
  animation: chatCascadeDown 0.6s cubic-bezier(.16,.84,.44,1) forwards;
  animation-delay: 0.6s;
}

#login-form.chat-mode.show-chat-intro .chatIntro .txtPlnAppB {
  transform: translateY(-40px);
  animation: chatCascadeDown 0.6s cubic-bezier(.16,.84,.44,1) forwards;
  animation-delay: 0.75s;
}

@keyframes chatHolaForward {
  0% { opacity: 0; transform: translateZ(-200px) scale(0.6); filter: blur(12px); }
  60% { opacity: 1; filter: blur(4px); }
  100% { opacity: 1; transform: translateZ(0) scale(1); filter: blur(0); }
}

@keyframes chatCascadeDown {
  0% { opacity: 0; transform: translateY(-40px); }
  60% { opacity: 1; transform: translateY(6px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Área del chat: por ahora vacía, aparece después del intro */
.chatBody {
  display: none;
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.5s ease;
  flex-direction: column;
}

#login-form.chat-mode.show-chat-body .chatBody {
  display: flex;
  opacity: 1;
}

/* ==========================================
   CHAT DE CHEFAI, ADAPTADO A LA MARCA PLANAPPETIT
   (colores/tipografía propios; la lógica del
   cuestionario/chat vive en lndPgs.js)
   ========================================== */

#chatBody .chatLetrero {
  flex-shrink: 0;
  text-align: center;
  padding: 14px 40px 12px 10px;
  font-family: 'poppinsSemiBold';
  font-size: 27px;
  color: var(--plnAppClr);
  border-bottom: 1px solid var(--backOscuro);
  overflow: hidden;
}

#chatBody .chatLetrero.letrero-subir {
  animation: letreroSubir .6s cubic-bezier(0.22, 1.6, 0.36, 1) both;
}

@keyframes letreroSubir {
  0% { transform: translateY(140%); opacity: 0; }
  70% { transform: translateY(-6%); opacity: 1; }
  100% { transform: translateY(0); opacity: 1; }
}

#chatBody .burbujaUsuarioWrap {
  align-self: flex-end;
  display: flex;
  align-items: center;
  gap: 6px;
  max-width: 85%;
}

#chatBody .burbujaUsuarioWrap .burbuja.usuario {
  max-width: 100%;
}

#chatBody .editarIcono {
  flex-shrink: 0;
  font-size: 13px;
  color: var(--accent-color);
  cursor: pointer;
  transition: color .15s;
}

#chatBody .editarIcono:hover { color: var(--plnAppClr); }

#chatBody main#chat {
  flex: 1;
  min-height: 0;
  width: 100%;
  overflow-y: auto;
  padding: 40px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

#chatBody .burbuja {
  max-width: 85%;
  padding: 10px 14px;
  border-radius: 16px;
  line-height: 1.5;
  font-size: 17px;
  font-family: 'poppinsRegular';
  animation: chatPop .45s cubic-bezier(.34,1.56,.64,1) both;
}

@keyframes chatSubir {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: none; }
}

/* Efecto "pop": la burbuja crece un poco más de su tamaño y se acomoda */
@keyframes chatPop {
  0% { opacity: 0; transform: translateY(8px) scale(.9); }
  55% { opacity: 1; transform: translateY(0) scale(1.12); }
  100% { opacity: 1; transform: scale(1); }
}

#chatBody .asistente {
  align-self: flex-start;
  background: var(--white);
  border: 1px solid var(--backOscuro);
  border-left: 4px solid var(--plnAppClr);
  color: var(--txtColor);
}

#chatBody .usuario {
  align-self: flex-end;
  background: var(--plnAppClr);
  color: var(--white);
}

#chatBody .burbuja strong { color: inherit; font-family: 'poppinsSemiBold'; }
#chatBody .burbuja ul { margin: 6px 0 0 18px; }

/* ==========================================
   TARJETA DE RESUMEN DE PERFIL (dentro de la burbuja final)
   ========================================== */
#chatBody .perfilResumenCard {
  margin-top: 10px;
  background: var(--backClaro);
  border-radius: 12px;
  padding: 16px;
}

#chatBody .perfilResumenCluster {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 14px;
}

#chatBody .perfilResumenClusterEmoji {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.08);
  flex-shrink: 0;
}

#chatBody .perfilResumenClusterNombre {
  font-family: 'poppinsSemiBold';
  font-size: 16px;
  color: var(--plnAppClr);
}

#chatBody .perfilResumenSeccion {
  border-top: 1px solid var(--backOscuro);
  padding-top: 12px;
  margin-bottom: 12px;
}

#chatBody .perfilResumenSeccion:last-child {
  margin-bottom: 0;
}

#chatBody .perfilResumenLabel {
  font-family: 'poppinsRegular';
  font-size: 11px;
  letter-spacing: .03em;
  text-transform: uppercase;
  color: var(--scnPlnAppClr);
  margin-bottom: 7px;
}

#chatBody .perfilResumenTags {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

#chatBody .perfilResumenTag {
  background: var(--white);
  border: 1px solid var(--backOscuro);
  border-radius: 999px;
  padding: 5px 12px;
  font-size: 13px;
  font-family: 'poppinsRegular';
  color: var(--txtColor);
}

#chatBody .escribiendo {
  display: flex;
  gap: 5px;
  padding: 12px 16px;
}

#chatBody .punto {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--txtColor);
  animation: chatParpadeo 1.2s infinite;
}

#chatBody .punto:nth-child(2) { animation-delay: .2s; }
#chatBody .punto:nth-child(3) { animation-delay: .4s; }

@keyframes chatParpadeo {
  0%, 80%, 100% { opacity: .25; }
  40% { opacity: 1; }
}

#chatBody .chips {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 8px;
  width: 100%;
  animation: chatSubir .35s ease both;
}

#chatBody .chip {
  width: 100%;
  margin: 0;
  line-height: 1.3;
  font-family: 'poppinsRegular';
  font-weight: 700;
  font-size: .85rem;
  padding: 9px 12px;
  border-radius: 12px;
  background: var(--white);
  color: var(--plnAppClr);
  border: 2px solid var(--plnAppClr);
  cursor: pointer;
  transition: background .15s, color .15s;
}

#chatBody .chip:hover { background: var(--plnAppClr); color: var(--white); }

#chatBody .chip.sel {
  background: var(--plnAppClr);
  color: var(--white);
}

#chatBody .chips .confirmar {
  grid-column: 1 / -1;
  margin-top: 4px;
}

#chatBody .chips .cambiarCatalogoProteinas {
  grid-column: 1 / -1;
  text-align: center;
  margin-top: 2px;
  font-size: 12px;
  font-family: 'poppinsRegular';
  color: var(--scnPlnAppClr);
  text-decoration: underline;
  cursor: pointer;
}

#chatBody .chips .cambiarCatalogoProteinas:hover {
  color: var(--plnAppClr);
}

#chatBody .chip .num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 20px;
  height: 20px;
  margin-right: 6px;
  border-radius: 50%;
  background: var(--accent-color);
  color: var(--white);
  font-size: .75rem;
  font-weight: 700;
}

#chatBody .confirmar {
  margin: 0;
  line-height: 1.3;
  width: auto;
  font-family: 'poppinsRegular';
  font-weight: 700;
  font-size: .9rem;
  padding: 9px 20px;
  border: none;
  border-radius: 999px;
  background: var(--scnPlnAppClr);
  color: var(--white);
  cursor: pointer;
  animation: chatSubir .35s ease both;
}

#chatBody .confirmar:hover { background: var(--plnAppClr); }

#chatBody .confirmar:disabled {
  background: var(--backOscuro);
  color: var(--txtColor);
  cursor: default;
}

#chatBody .entrada {
  flex-shrink: 0;
  display: flex;
  gap: 6px;
  padding: 10px 10px 14px;
  border-top: 1px solid var(--backOscuro);
}

#chatBody .entrada input {
  flex: 1;
  font-family: 'poppinsRegular';
  font-size: 17px;
  padding: 10px 12px;
  border: 1px solid var(--backOscuro);
  border-radius: 12px;
  background: var(--white);
  color: var(--txtColor);
}

#chatBody .entrada input:focus { outline: none; border-color: var(--plnAppClr); }

#chatBody .entrada button {
  margin: 0;
  line-height: 1.3;
  width: auto;
  font-family: 'poppinsRegular';
  font-size: 17px;
  padding: 0 16px;
  flex-shrink: 0;
  border: 0.5px solid var(--plnAppClr);
  border-radius: 20px;
  background: var(--plnAppClr);
  color: var(--white);
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

#chatBody .entrada button:hover:not(:disabled) {
  transform: scale(1.02);
  box-shadow: 5px 5px 5px var(--c-borde);
  opacity: 0.9;
}

#chatBody .entrada button:disabled {
  background: var(--backOscuro);
  border-color: var(--backOscuro);
  color: var(--txtColor);
  cursor: default;
}

/* ==========================================
   FORMULARIO DE REGISTRO DENTRO DEL CHAT
   ========================================== */
#chatBody .registroCard {
  background: var(--white);
  border: 1px solid var(--backOscuro);
  border-radius: 18px;
  padding: 20px 34px 20px 34px;
  width: 90%;
  margin: 0 auto;
  box-shadow: 0 4px 14px rgba(0,0,0,0.06);
  animation: chatSubir .35s ease both;
}

/* Entrada más marcada del registroCard (clase .entradaFuerte; hoy sin uso, el registro es una pantalla). */
#chatBody .registroCard.entradaFuerte {
  animation: registroEntradaFuerte .6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes registroEntradaFuerte {
  0% { opacity: 0; transform: translateY(46px) scale(.95); }
  60% { opacity: 1; transform: translateY(-6px) scale(1.01); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}

#chatBody .registroCard > * {
  opacity: 0;
  animation: registroItemEntra .45s cubic-bezier(0.22, 1, 0.36, 1) both;
}

#chatBody .registroCard > *:nth-child(1) { animation-delay: 0s; }
#chatBody .registroCard > *:nth-child(2) { animation-delay: .09s; }
#chatBody .registroCard > *:nth-child(3) { animation-delay: .18s; }
#chatBody .registroCard > *:nth-child(4) { animation-delay: .27s; }
#chatBody .registroCard > *:nth-child(5) { animation-delay: .36s; }
#chatBody .registroCard > *:nth-child(6) { animation-delay: .45s; }

@keyframes registroItemEntra {
  0% { opacity: 0; transform: translateY(18px); }
  100% { opacity: 1; transform: translateY(0); }
}

#chatBody .registroTitulo {
  font-family: 'poppinsSemiBold';
  font-size: 27px;
  color: var(--txtColor);
  text-align: center;
  margin-bottom: 32px;
}

#chatBody .registroCampo { margin-bottom: 16px; }

#chatBody .registroCampo label {
  display: block;
  font-family: 'poppinsLight';
  font-size: 17px;
  color: var(--txtColor);
  margin-bottom: 5px;
}

#chatBody .registroCampoHead {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 6px;
}

#chatBody .registroCampo input[type="email"],
#chatBody .registroCampo input[type="date"],
#chatBody .registroPassWrap input {
  width: 100%;
  padding: 11px 12px;
  border: 0.5px solid var(--c-borde);
  border-radius: 12px;
  font-size: 17px;
  text-align: center;
  font-family: 'poppinsLight';
  color: var(--txtColor);
}

#chatBody .registroPassWrap {
  display: flex;
  align-items: center;
  gap: 6px;
}

#chatBody .registroPassWrap input { flex: 1; }

#chatBody .registroTogglePw {
  cursor: pointer;
  color: var(--c-borde);
  font-size: 15px;
  flex-shrink: 0;
  transition: color .15s;
}

#chatBody .registroTogglePw:hover { color: var(--plnAppClr); }

#chatBody .registroAdvertencia {
  opacity: 0;
  font-size: 11px;
  font-family: 'poppinsLight';
  color: var(--plnAppClr);
  transition: opacity .2s ease;
}

#chatBody .registroTerminos {
  display: flex;
  align-items: flex-start;
  gap: 8px;
  margin: 20px 0 4px;
}

#chatBody .registroTerminos span {
  font-size: 14px;
  font-family: 'poppinsLight';
  color: var(--txtColor);
  line-height: 1.5;
}

#chatBody .registroTerminosLink {
  text-decoration: underline;
  color: var(--plnAppClr);
  cursor: pointer;
  font-family:'poppinsSemiBold';
}

#chatBody .registroCheckbox {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  flex-shrink: 0;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  border: 2px solid var(--plnAppClr);
  border-radius: 4px;
  background: transparent;
  position: relative;
}

#chatBody .registroCheckbox:checked { background: var(--plnAppClr); }

#chatBody .registroCheckbox:checked::after {
  content: '✔';
  position: absolute;
  color: white;
  font-size: 14px;
  top: -3px;
  left: 1px;
}

#chatBody .registroBtnWrap {
  text-align: center;
  margin-top: 40px;
}

#chatBody .registroBtnWrap .confirmar {
  font-size: 15px;
  padding: 10px 34px;
}

/* 2. Preparar el div mayor y su imagen para transiciones fluidas */
.mainMdl {
 transition: width 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              height 1.4s cubic-bezier(0.16, 1, 0.3, 1),
              opacity 1.0s ease-in-out,
              border-color 1.0s ease-in-out,
              box-shadow 1.4s cubic-bezier(0.16, 1, 0.3, 1);
}
#imgIcnPlnApp {
  transition: opacity 0.4s ease, filter 0.4s ease;
}

/* ==========================================
   OPCIONES DE ANIMACIÓN DE ENTRADA (.mainMdl)
   ========================================== */

/* Opción A: Estilo Apple Premium (Suave escalado con desenfoque cinemático) */
@keyframes entradaApple {
  0% { opacity: 0; transform: scale(0.85); filter: blur(8px); }
  100% { opacity: 1; transform: scale(1); filter: blur(0); }
}
.entrada-apple {
  animation: entradaApple 0.65s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* Opción B: Rebote Elástico (Divertido, interactivo y moderno) */
@keyframes entradaRebote {
  0% { opacity: 0; transform: scale(0.4); }
  50% { opacity: 0.9; transform: scale(1.05); }
  75% { transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}
.entrada-rebote {
  animation: entradaRebote 0.75s cubic-bezier(0.175, 0.885, 0.32, 1.15) forwards;
}

/* Opción C: Deslizamiento de Impacto (Entra desde abajo con velocidad controlada) */
@keyframes entradaSlide {
  0% { opacity: 0; transform: translateY(50px) scale(0.95); }
  100% { opacity: 1; transform: translateY(0) scale(1); }
}
.entrada-slide {
  animation: entradaSlide 0.6s cubic-bezier(0.33, 1, 0.68, 1) forwards;
}


/* ==========================================
   CLASES DE TRANSICIÓN INTERMEDIA (Fases de la Metamorfosis)
   ========================================== */

/* Fase 1: Difuminar y desaparecer la imagen interna */
.mainMdl.fade-out-image #imgIcnPlnApp {
 opacity: 0;
  filter: blur(12px); /* Desenfoque cinemático */
  transition: opacity 0.8s ease-in-out, filter 0.8s ease-in-out;
}

/* Fase 2: El div mayor adopta la altura exacta del form (570px) y se desvanece */
.mainMdl.morph-to-form {
    width: 440px !important;   /* ← OBLIGATORIO: Pon aquí el mismo 'width' que tenga tu formulario */
  height: 570px !important; /* Altura de tu formulario */
  opacity: 0.2; /* No lo mates a 0 de golpe para que se vea el viaje del contenedor */
  border-color: rgba(var(--c-primario-rgb),0); /* El borde se desvanece elegantemente */
  box-shadow: 0 12px 15px 0 rgba(0,0,0,.15); /* Cambia suavemente al peso del form */
}

/* Fase 2b (variante): cuando se entra directo al cuestionario (goQstTop,
   goQstMidl, CTA), el contenedor crece UNA sola vez directo al tamaño del
   chat (680x760, igual que #login-form.chat-mode), en vez de detenerse
   primero en el tamaño de login. Así el "agrandado" y la aparición del
   cuestionario ocurren en el mismo movimiento. */
.mainMdl.morph-to-chat {
  width: 760px !important;
  height: 830px !important;
  max-width: 92vw !important;
  max-height: 88vh !important;
  opacity: 0.2;
  border-color: rgba(var(--c-primario-rgb),0);
  box-shadow: 0 12px 15px 0 rgba(0,0,0,.15);
}


/* ==========================================
   ANIMACIÓN DE ENTRADA DEL FORMULARIO Y ELEMENTOS
   ========================================== */
@keyframes entradaForm {
  0% { opacity: 0; transform: scale(0.97); }
  100% { opacity: 1; transform: scale(1); }
}
#login-form.show-form {
  display: block !important;
  position: absolute; /* Clave: Se monta encima del div sin empujarlo hacia abajo */
  opacity: 1;
  filter: blur(0px);
  transform: scale(1);
}

/* Efecto escalonado (Staggered) para los inputs y botones internos del form */
#login-form.show-form > div {
  animation: entradaElementos 0.5s cubic-bezier(0.16, 1, 0.3, 1) both;
}
/* Delays matemáticos para que aparezcan uno tras otro elegantemente */
#login-form.show-form > div:nth-child(1) { animation-delay: 0.08s; } /* Logo texto */
#login-form.show-form > div:nth-child(2) { animation-delay: 0.16s; } /* Input Email */
#login-form.show-form > div:nth-child(3) { animation-delay: 0.24s; } /* Input Pass */
#login-form.show-form > div:nth-child(4) { animation-delay: 0.32s; } /* Checkbox */
#login-form.show-form > div:nth-child(5) { animation-delay: 0.40s; } /* Olvidaste contraseña */
#login-form.show-form > div:nth-child(6) { animation-delay: 0.48s; } /* Botón Ingresar */
#login-form.show-form > div:nth-child(7) { animation-delay: 0.56s; } /* Registro */

@keyframes entradaElementos {
  0% { opacity: 0; transform: translateY(12px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* ============================================================
   2026-10-08 · Enlace "Descarga la app" (encabezado y footer)
   En el footer el enlace hereda .footer-links a (sin CSS nuevo).
   ============================================================ */
nav a.navDsc{
    display: inline-block;
    white-space: nowrap;
    color: var(--c-oscuro);                 /* contraste 5.98:1 sobre blanco */
    border: 1.5px solid var(--c-oscuro);
    border-radius: 50px;
    padding: 2px 16px;
    font-size: 16px;
}
nav a.navDsc:hover{
    background-color: var(--c-oscuro);
    color: #fff;
    text-decoration: none;
}
/* Entre 769 y 1100 px la barra tiene 7 elementos: se reduce el espacio entre ellos para que no se desborde */
@media (min-width: 769px) and (max-width: 1100px){
    nav ul{ gap: 16px; padding: 5px 10px; }
}

/* AUDITORÍA 2026-10-12: salida del modal de verificación de correo (enlace + panel de confirmación).
   OJO: la regla global `button {width:50%; line-height:0; margin:30px 0 0; padding:20px; color:white; background:var(--c-primario)}`
   (~línea 223) afecta a estos botones, por eso cada propiedad se fija aquí con selector de id para ganarle. */
#emailVerificationModal .vrfSalida { text-align: center; margin-top: 4px; }
#emailVerificationModal .vrfLnk {
  width: auto;
  height: auto;
  margin: 0;
  padding: 6px 10px;
  line-height: 1.4;
  background: none;
  border: none;
  box-shadow: none;
  border-radius: 0;
  cursor: pointer;
  font-family: "poppinsLight";
  font-size: 14px;
  color: var(--txtColor);
  text-decoration: underline;
  white-space: normal;
}
#emailVerificationModal .vrfLnk:hover { color: var(--plnAppClr); transform: none; background: none; box-shadow: none; }
/* El contenido del modal puede ser más alto que la pantalla (móvil, panel abierto): que se pueda desplazar. */
#emailVerificationModal { overflow-y: auto; }
#emailVerificationModal .modalContentConfirm { margin-top: 5vh; margin-bottom: 5vh; }



/* ============================================================
   COLORES — PALETA DEL DISEÑO (CoKo). Mismos valores que mainPage_v2.css.
   Para cambiar un color basta con cambiarlo aquí (una sola línea).
   ============================================================ */
:root{
  --c-primario:#5CAC1F; --c-primario-rgb:92,172,31;   /* verde de marca: botones, enlaces, detalles */
  --c-oscuro:#5CAC1F;                                  /* detalles oscuros (hover) */
  --c-medio:#5CAC1F;                                   /* textos y bordes de marca */
  --c-suave:#878787;                                   /* detalles suaves */
  --c-texto:#2E332D;                                   /* títulos */
  --c-texto2:#2E332D;                                  /* descripciones */
  --c-borde:#CCCCCC;                                   /* bordes */
  --c-fondo:#EAEDDD;                                   /* fondos de sección oscuros */
  --c-tinte:#E8F3E0;                                   /* fondo de sección claro (derivado del verde, 14 %) */
  --c-pie:#9FC415;                                     /* fondo del pie de página */
}
footer{ background-color:var(--c-pie) }

/* PARCHE: pégalo AL FINAL de tu lndPgs.css actual (no reemplaza nada, solo agrega). */

/* Botón "Descarga la app" del encabezado (verde oscuro, contraste 5.24:1 sobre blanco) */
nav a.navDsc{
    display: inline-block;
    white-space: nowrap;
    color: #3F7A12;
    border: 1.5px solid #3F7A12;
    border-radius: 50px;
    padding: 2px 16px;
    font-size: 16px;
}
nav a.navDsc:hover{
    background-color: #3F7A12;
    color: #fff;
    text-decoration: none;
}
@media (min-width: 769px) and (max-width: 1100px){
    nav ul{ gap: 16px; padding: 5px 10px; }
}

/* Subtítulo de las opciones de "¿Para cuántas personas cocinas?" */
#chatBody .chip small{
    display: block;
    font-weight: 400;
    font-size: .72rem;
    color: var(--txtColor);
    margin-top: 2px;
}
#chatBody .chip:hover small,
#chatBody .chip.sel small{ color: inherit; }

/* ==========================================================================
   2026-10-23 · AJUSTES RESPONSIVOS PARA CELULAR
   Todo vive dentro de @media (max-width): no cambia la versión de escritorio
   ni ningún color. Va AL FINAL del CSS para ganar por orden.
   ========================================================================== */

/* ---------- Tablets verticales y celulares (landing) ---------- */
@media (max-width: 768px){
    /* El hero tenía 180px arriba pensando en escritorio */
    .hero{ padding-top: 130px; padding-bottom: 60px; }

    /* El logo en imagen (300px fijos) nunca debe salirse de la pantalla */
    .imgPlanTxt{ max-width: 100%; }
    .imgPlanTxtHero, .imgPlanTxtHeading{ height: auto; max-height: 76px; }

    /* Menú desplegable: si hay muchas opciones o la pantalla es baja, que haga scroll */
    nav{ max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; }

    /* Secciones con tarjeta: menos aire para ganar ancho */
    .section-container, .section-containerB{ padding: 16px; gap: 24px; }
    .card-left{ padding: 18px; }
    .ftsTxt{ font-size: 28px; padding: 8px 12px; }
    .ftsTxtB{ font-size: 28px; padding: 8px 12px; margin: 10px; }

    /* Footer: columnas a todo el ancho y sin sangría de 80px */
    footer{ padding: 50px 0 24px; }
    .footer-content{ gap: 28px; }
    .footer-column{ min-width: 0; flex: 1 1 100%; }
    .ftrTxt{ padding-left: 0; text-align: center; }
}

/* ---------- Celulares (modal de login y chat de registro) ---------- */
@media (max-width: 600px){
    /* Login: ancho real de la pantalla, altura que se adapta y scroll si no cabe
       (antes: 570px fijos, se cortaba en celulares bajos o con el teclado abierto) */
    #login-form{
        width: 92vw;
        max-width: 440px;
        height: auto;
        min-height: min(570px, 92vh);
        max-height: 92vh;
        max-height: 92dvh;
        overflow-y: auto;
    }
    .dvAmgImg{ padding-top: 34px; padding-bottom: 16px; }

    /* Animación del contenedor: mismos tamaños, pero sin pasar del ancho/alto de la pantalla */
    .mainMdl.morph-to-form{
        width: min(440px, 92vw) !important;
        height: min(570px, 92vh) !important;
    }
    .mainMdl.morph-to-chat{
        width: 96vw !important;
        max-width: 96vw !important;
        height: 94vh !important;
        height: 94dvh !important;
        max-height: 94dvh !important;
    }

    /* Chat: casi a pantalla completa */
    #login-form.chat-mode{
        width: 96vw;
        max-width: 96vw;
        height: 94vh;
        height: 94dvh;
        max-height: 94dvh;
        border-radius: 20px;
        overflow: hidden;
    }
    .closeChatModal{ top: 8px; right: 14px; }
    .chatIntro{ padding: 12px; }
    .chatIntro .frstTxt, .chatIntro .frstTxtB,
    .chatIntro .txtPlnAppA, .chatIntro .txtPlnAppB{ font-size: 26px; }
    #chatBody .chatLetrero{ font-size: 22px; padding: 12px 36px 10px 10px; }
    #chatBody main#chat{ padding: 16px 12px; gap: 10px; }
    #chatBody .burbuja{ max-width: 92%; font-size: 16px; }
    #chatBody .burbujaUsuarioWrap{ max-width: 92%; }
    #chatBody .entrada{ padding: 8px 8px 12px; }
    #chatBody .entrada input{ min-width: 0; }   /* 16px+ evita el zoom automático de iOS */
    #chatBody .entrada button{ padding: 0 14px; font-size: 16px; }
}

/* ---------- Celulares muy pequeños (320-360px) ---------- */
@media (max-width: 360px){
    .container{ padding: 0 12px; }
    .ftsTxt, .ftsTxtB{ font-size: 24px; }
    #chatBody .chips{ grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
    #chatBody .chip{ font-size: .8rem; padding: 8px 8px; }
}


/* ==========================================================================
   2026-10-23 · AJUSTES RESPONSIVOS PARA CELULAR
   Todo vive dentro de @media (max-width): no cambia la versión de escritorio
   ni ningún color. Va AL FINAL del CSS para ganar por orden.
   ========================================================================== */

/* ---------- Tablets verticales y celulares (landing) ---------- */
@media (max-width: 768px){
    /* El hero tenía 180px arriba pensando en escritorio */
    .hero{ padding-top: 130px; padding-bottom: 60px; }

    /* El logo en imagen (300px fijos) nunca debe salirse de la pantalla */
    .imgPlanTxt{ max-width: 100%; }
    .imgPlanTxtHero, .imgPlanTxtHeading{ height: auto; max-height: 76px; }

    /* Menú desplegable: si hay muchas opciones o la pantalla es baja, que haga scroll */
    nav{ max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; }

    /* Secciones con tarjeta: menos aire para ganar ancho */
    .section-container, .section-containerB{ padding: 16px; gap: 24px; }
    .card-left{ padding: 18px; }
    .ftsTxt{ font-size: 28px; padding: 8px 12px; }
    .ftsTxtB{ font-size: 28px; padding: 8px 12px; margin: 10px; }

    /* Footer: columnas a todo el ancho y sin sangría de 80px */
    footer{ padding: 50px 0 24px; }
    .footer-content{ gap: 28px; }
    .footer-column{ min-width: 0; flex: 1 1 100%; }
    .ftrTxt{ padding-left: 0; text-align: center; }
}

/* ---------- Textos: nada encimado, nada justificado, nada fuera de la pantalla ---------- */
@media (max-width: 768px){
    h1, h2, h3, p, .main-title, .description, .label{ overflow-wrap: break-word; }
    .sbTxt{ text-align: left; }                 /* antes justificado: huecos enormes entre palabras */
    section p{ font-size: 1rem; }
    h3{ font-size: 1.4rem; }
    .imgPlanTxtHeading{ max-height: 56px; }

    /* "Cómo funciona": los 3 pasos se apilan (en fila se encimaban los textos) */
    .pasos-container{ flex-direction: column; align-items: center; gap: 36px; }
    .paso{ flex: 0 0 auto; width: 100%; max-width: 420px; min-width: 0; }

    /* Beneficios y testimonios */
    .beneficios-grid{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
    .beneficio-card{ padding: 28px 20px; }
    .testimonio{ padding: 24px 18px; }
    .testimonio-text{ font-size: 1.05rem; }
    .brand-logoLft, .brand-logoRgt{ font-size: 16px; top: 16px; }
    .compatBadge{ font-size: 12px; padding: 5px 12px; bottom: 12px; left: 12px; }
}

/* ---------- Celulares (modal de login y chat de registro) ---------- */
@media (max-width: 600px){
    /* Login: ancho real de la pantalla, altura que se adapta y scroll si no cabe
       (antes: 570px fijos, se cortaba en celulares bajos o con el teclado abierto) */
    #login-form{
        width: 92vw;
        max-width: 440px;
        height: auto;
        min-height: min(570px, 92vh);
        max-height: 92vh;
        max-height: 92dvh;
        overflow-y: auto;
    }
    .dvAmgImg{ padding-top: 34px; padding-bottom: 16px; }

    /* Animación del contenedor: mismos tamaños, pero sin pasar del ancho/alto de la pantalla */
    .mainMdl.morph-to-form{
        width: min(440px, 92vw) !important;
        height: min(570px, 92vh) !important;
    }
    .mainMdl.morph-to-chat{
        width: 96vw !important;
        max-width: 96vw !important;
        height: 94vh !important;
        height: 94dvh !important;
        max-height: 94dvh !important;
    }

    /* Chat: casi a pantalla completa */
    #login-form.chat-mode{
        width: 96vw;
        max-width: 96vw;
        height: 94vh;
        height: 94dvh;
        max-height: 94dvh;
        border-radius: 20px;
        overflow: hidden;
    }
    .closeChatModal{ top: 8px; right: 14px; }
    .chatIntro{ padding: 12px; }
    .chatIntro .frstTxt, .chatIntro .frstTxtB,
    .chatIntro .txtPlnAppA, .chatIntro .txtPlnAppB{ font-size: 26px; }
    #chatBody .chatLetrero{ font-size: 22px; padding: 12px 36px 10px 10px; }
    #chatBody main#chat{ padding: 16px 12px; gap: 10px; }
    #chatBody .burbuja{ max-width: 92%; font-size: 16px; }
    #chatBody .burbujaUsuarioWrap{ max-width: 92%; }
    #chatBody .entrada{ padding: 8px 8px 12px; }
    #chatBody .entrada input{ min-width: 0; }   /* 16px+ evita el zoom automático de iOS */
    #chatBody .entrada button{ padding: 0 14px; font-size: 16px; }
}

/* ---------- Celulares muy pequeños (320-360px) ---------- */
@media (max-width: 360px){
    .container{ padding: 0 12px; }
    .ftsTxt, .ftsTxtB{ font-size: 24px; }
    #chatBody .chips{ grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
    #chatBody .chip{ font-size: .8rem; padding: 8px 8px; }
}


/* ==========================================================================
   2026-10-23 · AJUSTES RESPONSIVOS PARA CELULAR
   Todo vive dentro de @media (max-width): no cambia la versión de escritorio
   ni ningún color. Va AL FINAL del CSS para ganar por orden.
   ========================================================================== */

/* ---------- Tablets verticales y celulares (landing) ---------- */
@media (max-width: 768px){
    /* El hero tenía 180px arriba pensando en escritorio */
    .hero{ padding-top: 130px; padding-bottom: 60px; }

    /* El logo en imagen (300px fijos) nunca debe salirse de la pantalla */
    .imgPlanTxt{ max-width: 100%; }
    .imgPlanTxtHero, .imgPlanTxtHeading{ height: auto; max-height: 76px; }

    /* Menú desplegable: si hay muchas opciones o la pantalla es baja, que haga scroll */
    nav{ max-height: calc(100vh - 80px); max-height: calc(100dvh - 80px); overflow-y: auto; }

    /* Secciones con tarjeta: menos aire para ganar ancho */
    .section-container, .section-containerB{ padding: 16px; gap: 24px; }
    .card-left{ padding: 18px; }
    .ftsTxt{ font-size: 28px; padding: 8px 12px; }
    .ftsTxtB{ font-size: 28px; padding: 8px 12px; margin: 10px; }

    /* Footer: columnas a todo el ancho y sin sangría de 80px */
    footer{ padding: 50px 0 24px; }
    .footer-content{ gap: 28px; }
    .footer-column{ min-width: 0; flex: 1 1 100%; }
    .ftrTxt{ padding-left: 0; text-align: center; }
}

/* ---------- Textos: nada encimado, nada justificado, nada fuera de la pantalla ---------- */
@media (max-width: 768px){
    h1, h2, h3, p, .main-title, .description, .label{ overflow-wrap: break-word; }
    .sbTxt, .hero-text p{ text-align: left !important; hyphens: none; }   /* antes justificado: huecos enormes entre palabras */
    section p{ font-size: 1rem; }
    h3{ font-size: 1.4rem; }
    .imgPlanTxtHeading{ max-height: 56px; }

    /* "Cómo funciona": los 3 pasos se apilan (en fila se encimaban los textos) */
    .pasos-container{ flex-direction: column; align-items: center; gap: 36px; }
    .paso{ flex: 0 0 auto; width: 100%; max-width: 420px; min-width: 0; }

    /* Beneficios y testimonios */
    .beneficios-grid{ grid-template-columns: repeat(auto-fit, minmax(min(100%, 300px), 1fr)); gap: 24px; }
    .beneficio-card{ padding: 28px 20px; }
    .testimonio{ padding: 24px 18px; }
    .testimonio-text{ font-size: 1.05rem; }
    .brand-logoLft, .brand-logoRgt{ font-size: 16px; top: 16px; }
    .compatBadge{ font-size: 12px; padding: 5px 12px; bottom: 12px; left: 12px; }
}

/* ---------- Celulares (modal de login y chat de registro) ---------- */
@media (max-width: 600px){
    /* Login: ancho real de la pantalla, altura que se adapta y scroll si no cabe
       (antes: 570px fijos, se cortaba en celulares bajos o con el teclado abierto) */
    #login-form{
        width: 92vw;
        max-width: 440px;
        height: auto;
        min-height: min(570px, 92vh);
        max-height: 92vh;
        max-height: 92dvh;
        overflow-y: auto;
    }
    .dvAmgImg{ padding-top: 34px; padding-bottom: 16px; }

    /* Animación del contenedor: mismos tamaños, pero sin pasar del ancho/alto de la pantalla */
    .mainMdl.morph-to-form{
        width: min(440px, 92vw) !important;
        height: min(570px, 92vh) !important;
    }
    .mainMdl.morph-to-chat{
        width: 96vw !important;
        max-width: 96vw !important;
        height: 94vh !important;
        height: 94dvh !important;
        max-height: 94dvh !important;
    }

    /* Chat: casi a pantalla completa */
    #login-form.chat-mode{
        width: 96vw;
        max-width: 96vw;
        height: 94vh;
        height: 94dvh;
        max-height: 94dvh;
        border-radius: 20px;
        overflow: hidden;
    }
    .closeChatModal{ top: 8px; right: 14px; }
    .chatIntro{ padding: 12px; }
    .chatIntro .frstTxt, .chatIntro .frstTxtB,
    .chatIntro .txtPlnAppA, .chatIntro .txtPlnAppB{ font-size: 26px; }
    #chatBody .chatLetrero{ font-size: 22px; padding: 12px 36px 10px 10px; }
    #chatBody main#chat{ padding: 16px 12px; gap: 10px; }
    #chatBody .burbuja{ max-width: 92%; font-size: 16px; }
    #chatBody .burbujaUsuarioWrap{ max-width: 92%; }
    #chatBody .entrada{ padding: 8px 8px 12px; }
    #chatBody .entrada input{ min-width: 0; }   /* 16px+ evita el zoom automático de iOS */
    #chatBody .entrada button{ padding: 0 14px; font-size: 16px; }
}

/* ---------- Celulares muy pequeños (320-360px) ---------- */
@media (max-width: 360px){
    .container{ padding: 0 12px; }
    .ftsTxt, .ftsTxtB{ font-size: 24px; }
    #chatBody .chips{ grid-template-columns: repeat(auto-fit, minmax(105px, 1fr)); }
    #chatBody .chip{ font-size: .8rem; padding: 8px 8px; }
}

/* ---------- Revisión de TODOS los textos (modales de verificación / recuperación, botones, footer) ---------- */
@media (max-width: 600px){
    /* Modal "Verifica tu correo": texto justificado → izquierda; títulos más chicos */
    .sbtpTxt, .smltpTxt, .sbsbTxt{ text-align: left !important; font-size: 16px; }
    .tpTxt{ font-size: 22px; }
    .mnTxRcvPw{ font-size: 22px; }
    .sbTxtRcvPw{ font-size: 15px; }
    .modalContentConfirm, .modal-content{ max-width: 94vw; }
    .modalContentConfirm *, .modal-content *{ overflow-wrap: break-word; }

    /* Botones: que el texto largo ("Comenzar cuestionario", "Reenviar correo") nunca se salga */
    .btn, .btn-accent, .resend-btn, .vrfLnk{ max-width: 100%; white-space: normal; text-align: center; }
    .btn{ padding: 12px 22px; font-size: 1rem; }
    .highlightBtn{ font-size: 1rem; }

    /* Footer y créditos */
    .cpyRght, .ftrTxt{ font-size: .9rem; text-align: center; }
}

/* ==========================================================================
   2026-11-09 · Intro del chat: logo Coko (imagen) en lugar del texto "Planappetit"
   Reutiliza la clase .txtPlnAppB, así conserva la misma animación de entrada.
   ========================================================================== */
.chatIntro .introCoko{
  width: clamp(95px, 23vw, 145px);
  height: auto;
  padding-left: 6px;
  vertical-align: middle;
  object-fit: contain;
}
@media (max-width: 600px){
  .chatIntro{ flex-wrap: wrap; row-gap: 4px; }
}

/* ==========================================================================
   2026-11-09 · Rediseño del cuestionario · Fase 2: Paso 1 (pantalla)
   Se muestra dentro de #chatBody con la clase .modo-wizard; el chat de burbujas
   sigue intacto debajo y se oculta mientras el Paso 1 está visible.
   ========================================================================== */
#chatBody.modo-wizard .chatLetrero,
#chatBody.modo-wizard main#chat,
#chatBody.modo-wizard .entrada{ display: none !important; }

#chatBody .wizard{ display: none; flex-direction: column; flex: 1; min-height: 0; }
#chatBody.modo-wizard .wizard{ display: flex; }

#chatBody .wizCuerpo{ flex: 1; min-height: 0; overflow-y: auto; padding: 44px 40px 16px; }
#chatBody .wizCol{ max-width: 500px; margin: 0 auto; }

#chatBody .wizPaso{ text-align: center; font-family: 'poppinsSemiBold'; font-size: 15px; color: var(--plnAppClr); }
#chatBody .wizBarras{ display: flex; gap: 8px; margin: 8px 0 18px; }
#chatBody .wizBarras i{ flex: 1; height: 6px; border-radius: 6px; background: #CCCCCC; display: block; }
#chatBody .wizBarras i.on{ background: var(--plnAppClr); }

/* Logo siempre centrado horizontalmente, de ancho responsivo y alto automático */
#chatBody .wizLogo{
  display: block;
  margin: 0 auto 16px;
  width: clamp(170px, 46%, 240px);
  height: auto;
}
#chatBody .wizSaludo{ margin: 0 0 20px; font-size: 22px; text-align: center; color: #5F6161; font-family: 'poppinsRegular'; }
#chatBody .wizTitulo{ margin: 0 0 18px; font-size: 22px; text-wrap: balance; line-height: 1.25; color: var(--c-texto, #2E332D); font-family: 'poppinsSemiBold'; }
#chatBody .wizLabel{ display: block; margin: 14px 0 6px; font-size: 15px; font-family: 'poppinsSemiBold'; color: var(--c-texto, #2E332D); }
#chatBody .wizInput{
  width: 100%; height: 46px; padding: 0 14px;
  font-size: 17px; font-family: 'poppinsRegular';
  border: 1.5px solid #555; border-radius: 14px; background: #fff; color: var(--c-texto, #2E332D);
}
#chatBody .wizInput:focus{ outline: none; border-color: var(--plnAppClr); }
#chatBody .wizFecha{ display: flex; gap: 8px; }
#chatBody .wizSelect{
  flex: 1; min-width: 0; height: 52px; padding: 0 10px;
  font-size: 16px; font-family: 'poppinsRegular';
  border: 1px solid #CCCCCC; border-radius: 14px; background: #fff; color: var(--c-texto, #2E332D);
}
#chatBody .wizSelect.wizMes{ flex: 1.6; }
#chatBody .wizSelect:focus{ outline: none; border-color: var(--plnAppClr); }
#chatBody .wizAviso{ min-height: 20px; margin-top: 8px; font-size: 13px; color: #B3261E; font-family: 'poppinsRegular'; }

#chatBody .wizPie{ flex-shrink: 0; padding: 10px 40px 24px; }
#chatBody .wizPieFila{ display: flex; align-items: center; gap: 10px; width: 100%; max-width: 500px; margin: 0 auto; }
#chatBody .wizSiguiente{
  display: flex; align-items: center; justify-content: center; flex: 1; min-width: 0; width: auto; margin: 0; padding: 0 16px; line-height: 1.2;
  height: 48px; border: 0; border-radius: 40px;
  background: var(--c-acento, #FDB60E); color: #fff;
  font-size: 17px; font-family: 'poppinsRegular'; cursor: pointer;
  box-shadow: 0 4px 10px rgba(0,0,0,.18);
  transition: opacity .2s ease, transform .15s ease;
}
#chatBody .wizSiguiente:hover:not(:disabled){ transform: scale(1.01); opacity: 1; box-shadow: 0 4px 10px rgba(0,0,0,.18); }
#chatBody .wizSiguiente:disabled{ opacity: .45; cursor: default; box-shadow: none; }

@media (max-width: 600px){
  #chatBody .wizCuerpo{ padding: 42px 18px 14px; }
  #chatBody .wizPie{ padding: 8px 18px 16px; }
  #chatBody .wizPaso{ font-size: 14px; }
  #chatBody .wizLogo{ width: clamp(130px, 58%, 200px); margin-bottom: 12px; }
  #chatBody .wizSaludo{ font-size: 22px; }
  #chatBody .wizTitulo{ font-size: 21px; margin-bottom: 12px; }
  #chatBody .wizLabel{ font-size: 13px; margin: 10px 0 5px; }
  #chatBody .wizInput{ height: 40px; font-size: 16px; }   /* 16px evita el zoom automático en iOS */
  #chatBody .wizSelect{ height: 44px; font-size: 16px; padding: 0 6px; }
  #chatBody .wizSiguiente{ height: 44px; font-size: 16px; }
}

/* Paso 1: modal compacto en escritorio (la caja blanca .mainMdl y el formulario van superpuestos y deben medir lo mismo) */
@media (min-width: 601px){
  #login-form.chat-mode.wiz{
    width: 580px;
    height: 735px;
    max-height: 92vh;
  }
  .mainMdl.morph-to-chat.wiz{
    width: 580px !important;
    height: 735px !important;
    max-height: 92vh !important;
  }
}

/* ==========================================================================
   2026-11-09 · Rediseño del cuestionario · Fase 3: Paso 2 (5 preguntas, una por pantalla)
   ========================================================================== */
#chatBody .wizard{ position: relative; }
#chatBody .wizAtras{
  position: static; flex: 0 0 auto;
  width: auto; height: 48px; margin: 0; padding: 0 20px 0 14px;
  display: flex; align-items: center; gap: 6px;
  border: 1.5px solid var(--plnAppClr); border-radius: 40px; background: #fff;
  color: #4a8d17; font-size: 16px; font-family: 'poppinsSemiBold'; line-height: 1; cursor: pointer;
  box-shadow: none; opacity: 1; transform: none;
}
#chatBody .wizAtrasFlecha{ font-size: 24px; line-height: 1; margin-top: -3px; font-family: 'poppinsRegular'; }
#chatBody .wizAtras:hover{ background: var(--c-tinte, #E8F3E0); transform: none; box-shadow: none; opacity: 1; }

/* barra del Paso 2: el segmento 2 se llena según la pregunta (1/5 ... 5/5) */
#chatBody .wizBarras i.prog{ overflow: hidden; }
#chatBody .wizBarras i.prog b{ display: block; height: 100%; background: var(--plnAppClr); border-radius: 6px; transition: width .3s ease; }

#wizPregunta .wizBarras{ margin-bottom: 26px; }
#chatBody .wizCab{ display: flex; align-items: center; gap: 10px; margin-bottom: 12px; }
#chatBody .wizCoko{ width: 84px; height: auto; flex-shrink: 0; }
#chatBody .wizContador{ font-size: 15px; color: #878787; font-family: 'poppinsRegular'; }
#chatBody .wizTitulo.wizPregTit{ font-size: 26px; margin: 0 0 20px; }
#chatBody .wizSub{ margin: 0 0 16px; font-size: 16px; text-align: left; color: #878787; font-family: 'poppinsRegular'; }

#chatBody .wizOpciones{ display: flex; flex-direction: column; gap: 10px; }
#chatBody .wizOpcion{
  display: flex; justify-content: space-between; align-items: center; gap: 12px;
  width: 100%; margin: 0; min-height: 56px; padding: 10px 16px; text-align: left;
  font-size: 17px; font-family: 'poppinsRegular'; line-height: 1.3;
  color: var(--c-texto, #2E332D); background: #fff;
  border: 1px solid #CCCCCC; border-radius: 12px; cursor: pointer; box-shadow: none; opacity: 1;
  transition: border-color .15s ease, background .15s ease;
}
#chatBody .wizOpcion:hover{ border-color: var(--plnAppClr); transform: none; box-shadow: none; opacity: 1; }
#chatBody .wizOpcion.sel{ background: var(--c-tinte, #E8F3E0); border: 2px solid var(--plnAppClr); padding: 9px 15px; }
#chatBody .wizOpcion.sel::after{
  content: "\2713"; flex-shrink: 0;
  width: 22px; height: 22px; border-radius: 50%;
  background: var(--plnAppClr); color: #fff; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
}

@media (max-width: 600px){
  #chatBody .wizAtras{ height: 44px; padding: 0 16px 0 10px; font-size: 14px; }
  #chatBody .wizPieFila{ gap: 8px; }
  #wizPregunta .wizBarras{ margin-bottom: 20px; }
  #chatBody .wizCoko{ width: 64px; }
  #chatBody .wizContador{ font-size: 12px; }
  #chatBody .wizTitulo.wizPregTit{ font-size: 19px; }
  #chatBody .wizSub{ font-size: 13px; margin-bottom: 10px; }
  #chatBody .wizOpciones{ gap: 8px; }
  #chatBody .wizOpcion{ min-height: 46px; padding: 8px 12px; font-size: 14px; }
  #chatBody .wizOpcion.sel{ padding: 7px 11px; }
}

/* Animación entre pantallas. Cada pregunta usa una distinta (ver ANIM_PREGUNTA en lndPgs.js):
   slide = A deslizar · fade = B fundido y subir · zoom = C zoom suave · casc = D cascada.
   Solo se anima el contenido (.wizCuerpo); los botones de abajo permanecen fijos. */
#chatBody .wizard.wizSale{ pointer-events: none; }
#chatBody .wizard.wizSale .wizCuerpo{ opacity: 0; transition: opacity .2s ease, transform .2s ease; }
#chatBody .wizard.wizSale-slide-next .wizCuerpo{ transform: translateX(-60px); }
#chatBody .wizard.wizSale-slide-prev .wizCuerpo{ transform: translateX(60px); }
#chatBody .wizard.wizSale-zoom .wizCuerpo{ transform: scale(1.04); }

#chatBody .wizard.wizEntra-slide-next{ --wizDx: 60px; }
#chatBody .wizard.wizEntra-slide-prev{ --wizDx: -60px; }
#chatBody .wizard[class*="wizEntra-slide"] .wizCuerpo{ animation: wizDesliza .38s cubic-bezier(.22,.8,.3,1) both; }
#chatBody .wizard.wizEntra-fade .wizCuerpo{ animation: wizSubir .4s ease both; }
#chatBody .wizard.wizEntra-zoom .wizCuerpo{ animation: wizZoom .38s cubic-bezier(.22,.8,.3,1) both; }
#chatBody .wizard.wizEntra-casc .wizCab,
#chatBody .wizard.wizEntra-casc .wizPregTit,
#chatBody .wizard.wizEntra-casc .wizSub{ animation: wizSubir .35s ease both; }
#chatBody .wizard.wizEntra-casc .wizOpcion{ animation: wizCascada .4s ease both; }
#chatBody .wizard.wizEntra-casc .wizOpcion:nth-child(1){ animation-delay: .05s; }
#chatBody .wizard.wizEntra-casc .wizOpcion:nth-child(2){ animation-delay: .12s; }
#chatBody .wizard.wizEntra-casc .wizOpcion:nth-child(3){ animation-delay: .19s; }
#chatBody .wizard.wizEntra-casc .wizOpcion:nth-child(4){ animation-delay: .26s; }
#chatBody .wizard.wizEntra-casc .wizOpcion:nth-child(5){ animation-delay: .33s; }

@keyframes wizDesliza{ from{ opacity: 0; transform: translateX(var(--wizDx, 60px)); } to{ opacity: 1; transform: none; } }
@keyframes wizSubir{ from{ opacity: 0; transform: translateY(16px); } to{ opacity: 1; transform: none; } }
@keyframes wizZoom{ from{ opacity: 0; transform: scale(.94); } to{ opacity: 1; transform: none; } }
@keyframes wizCascada{ from{ opacity: 0; transform: translateY(14px); } to{ opacity: 1; transform: none; } }

@media (prefers-reduced-motion: reduce){
  #chatBody .wizard .wizCuerpo,
  #chatBody .wizard .wizCab, #chatBody .wizard .wizPregTit, #chatBody .wizard .wizSub, #chatBody .wizard .wizOpcion{ animation: none !important; transition: none !important; }
}

/* ---------- Paso 3: alimentación, restricciones y proteínas ---------- */
#chatBody #wizPaso3 .wizSeccion{font-weight:700;color:var(--c-texto,#222);font-size:15px;line-height:1.3;margin:10px 0 4px;text-align:left}
#chatBody #wizPaso3 .wizAyuda{font-size:13px;line-height:1.3;color:#6b6b6b;margin:0 0 8px;text-align:left}
#chatBody #wizPaso3 .wizChips{display:flex;flex-wrap:wrap;gap:8px;margin:0 0 6px}
#chatBody #wizPaso3 .wizChip{position:relative;display:inline-flex;align-items:center;gap:8px;width:auto;min-height:44px;margin:0;padding:8px 14px;line-height:1.2;font-size:12px;font-weight:100;color:var(--c-texto,#222);background:#fff;border:1.5px solid #d6d6d6;border-radius:999px;cursor:pointer;opacity:1;box-shadow:none;transform:none;transition:background .15s,border-color .15s,color .15s}
#chatBody #wizPaso3 .wizChip:hover{background:var(--c-tinte,#E8F3E0);border-color:var(--plnAppClr,#5CAC1F);opacity:1;transform:none;box-shadow:none;color:var(--c-texto,#222)}
#chatBody #wizPaso3 .wizChip.sel,#chatBody #wizPaso3 .wizChip.sel:hover{background:var(--plnAppClr,#5CAC1F);border-color:var(--plnAppClr,#5CAC1F);color:#fff}
#chatBody #wizPaso3 .wizIco{display:inline-block;flex:0 0 auto;width:22px;height:22px;background-color:currentColor;-webkit-mask:var(--wizIcoUrl) center/contain no-repeat;mask:var(--wizIcoUrl) center/contain no-repeat}
#chatBody #wizPaso3 .wizChipsProt .wizChip{padding-right:18px}
#chatBody #wizPaso3 .wizNum{position:absolute;top:-8px;right:-4px;min-width:20px;height:20px;padding:0 5px;box-sizing:border-box;border-radius:999px;background:#E08A2E;color:#fff;font-size:12px;font-weight:700;line-height:20px;text-align:center}
#chatBody #wizPaso3 .wizFilaProt{display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:6px 14px;margin-top:20px}
#chatBody #wizPaso3 .wizOrigen{display:flex;flex-wrap:wrap;gap:6px 14px}
#chatBody #wizPaso3 .wizOrigenOpc{display:inline-flex;align-items:center;gap:7px;width:auto;margin:0;padding:4px 2px;line-height:1.2;font-size:12px;font-weight:600;color:var(--c-texto,#222);background:none;border:0;border-radius:6px;cursor:pointer;opacity:1;box-shadow:none;transform:none}
#chatBody #wizPaso3 .wizOrigenOpc:hover{background:none;opacity:1;transform:none;box-shadow:none;color:var(--c-texto,#222)}
#chatBody #wizPaso3 .wizCaja{position:relative;width:17px;height:17px;box-sizing:border-box;border:2px solid #b5b5b5;border-radius:5px;background:#fff;flex:0 0 auto}
#chatBody #wizPaso3 .wizOrigenOpc.on .wizCaja{background:var(--plnAppClr,#5CAC1F);border-color:var(--plnAppClr,#5CAC1F)}
#chatBody #wizPaso3 .wizOrigenOpc.on .wizCaja::after{content:"";position:absolute;left:4px;top:1px;width:2px;height:7px;border:solid #fff;border-width:0 2px 2px 0;transform:rotate(45deg)}
#chatBody #wizPaso3 .wizOrigenOpc.dis{opacity:.4;cursor:not-allowed}
#chatBody #wizPaso3 .wizOrigenOpc.dis:hover{opacity:.4}
#chatBody #wizPaso3 .wizNota{margin:4px 0 8px;padding:8px 12px;border-radius:10px;background:var(--c-tinte,#E8F3E0);font-size:13px;line-height:1.35;color:var(--c-texto,#222);text-align:left}
#chatBody #wizPaso3 .wizNota[hidden]{display:none}
#chatBody #wizPaso3 .wizSiguiente:disabled{opacity:.45;cursor:not-allowed}
@media (max-width:600px){
  #chatBody #wizPaso3 .wizChip{font-size:12px;padding:7px 11px;gap:6px;min-height:40px}
  #chatBody #wizPaso3 .wizIco{width:20px;height:20px}
  #chatBody #wizPaso3 .wizSeccion{font-size:14px}
}

/* ---------- Paso 4: personas (servings) ---------- */
#chatBody #wizPaso4 .wizSub{margin:0 0 22px;text-align:left}
#chatBody #wizPaso4 .wizContadorPers{display:flex;align-items:center;justify-content:center;gap:22px;margin:0 0 18px}
#chatBody #wizPaso4 .wizRedondo{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:48px;height:48px;margin:0;padding:0;line-height:1;font-size:28px;color:#4a8d17;background:#fff;border:1.5px solid var(--plnAppClr,#5CAC1F);border-radius:50%;cursor:pointer;opacity:1;box-shadow:none;transform:none}
#chatBody #wizPaso4 .wizRedondo:hover:not(:disabled){background:var(--c-tinte,#E8F3E0);opacity:1;transform:none;box-shadow:none}
#chatBody #wizPaso4 .wizRedondoMas,#chatBody #wizPaso4 .wizRedondoMas:hover:not(:disabled){background:var(--plnAppClr,#5CAC1F);color:#fff}
#chatBody #wizPaso4 .wizRedondo:disabled{opacity:.4;cursor:not-allowed}
#chatBody #wizPaso4 .wizCantidad{display:flex;flex-direction:column;align-items:center;min-width:110px;text-align:center}
#chatBody #wizPaso4 .wizCantidad b{font-size:56px;line-height:1;font-weight:500;font-family:'poppinsSemiBold';color:var(--c-texto,#222)}
#chatBody #wizPaso4 .wizCantidad span{margin-top:4px;font-size:14px;color:#6b6b6b}
#chatBody #wizPaso4 .wizPersonas{display:flex;justify-content:center;gap:6px;margin:0 0 8px}
#chatBody #wizPaso4 .wizPers{width:24px;height:24px;background:#ccc;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4.5'/%3E%3Cpath d='M3 22c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='7' r='4.5'/%3E%3Cpath d='M3 22c0-5 4-8 9-8s9 3 9 8z'/%3E%3C/svg%3E") center/contain no-repeat;transition:background .15s}
#chatBody #wizPaso4 .wizPers.on{background:var(--plnAppClr,#5CAC1F)}
#chatBody #wizPaso4 .wizAyudaC{text-align:center}
@media (max-width:600px){
  #chatBody #wizPaso4 .wizCantidad b{font-size:48px}
  #chatBody #wizPaso4 .wizPers{width:20px;height:20px}
  #chatBody #wizPaso4 .wizContadorPers{gap:16px}
}

#chatBody #wizPaso4 .wizCuerpo{display:flex}
#chatBody #wizPaso4 .wizCol{display:flex;flex-direction:column;flex:1;width:100%}
#chatBody #wizPaso4 .wizCentro{flex:1;display:flex;flex-direction:column;justify-content:center;align-items:center;padding-bottom:20px}

/* ---------- Paso 5: resumen del perfil ---------- */
#chatBody #wizPaso5 .wizSub{margin:0 0 14px;text-align:left}
#chatBody #wizPaso5 .wizResumen{display:flex;flex-direction:column;gap:10px}
#chatBody #wizPaso5 .wizResFila{display:flex;align-items:flex-start;gap:10px;padding:12px 14px;border:1.5px solid #e4e4e4;border-radius:14px;background:#fff}
#chatBody #wizPaso5 .wizResFila.dest{align-items:center}
#chatBody #wizPaso5 .wizResCuerpo{flex:1;min-width:0}
#chatBody #wizPaso5 .wizResEtiqueta{font-size:12px;line-height:1.3;color:#6b6b6b;margin:0 0 4px}
#chatBody #wizPaso5 .wizResTitulo{font-size:17px;line-height:1.25;font-family:'poppinsSemiBold';color:#2f6a0f}
#chatBody #wizPaso5 .wizResValor{font-size:15px;line-height:1.3;font-family:'poppinsSemiBold';color:var(--c-texto,#222)}
#chatBody #wizPaso5 .wizResTags{display:flex;flex-wrap:wrap;gap:6px}
#chatBody #wizPaso5 .wizResTag{font-size:12px;line-height:1.2;padding:5px 11px;border:1.5px solid #d6d6d6;border-radius:999px;color:var(--c-texto,#222);background:#fff}
#chatBody #wizPaso5 .wizResTagProt{background:var(--plnAppClr,#5CAC1F);border-color:var(--plnAppClr,#5CAC1F);color:#fff}
#chatBody #wizPaso5 .wizLapiz{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;margin:0;padding:0;line-height:1;color:#4a8d17;background:#fff;border:1.5px solid var(--plnAppClr,#5CAC1F);border-radius:50%;cursor:pointer;opacity:1;box-shadow:none;transform:none}
#chatBody #wizPaso5 .wizLapiz:hover{background:var(--c-tinte,#E8F3E0);opacity:1;transform:none;box-shadow:none}
#chatBody #wizPaso5 .wizAviso{margin:12px 0 0;padding:9px 12px;border-radius:10px;background:#FFF4D6;font-size:12px;line-height:1.4;color:var(--c-texto,#222)}
#chatBody #wizPaso5 .wizAviso[hidden]{display:none}

/* ---------- Intro del registro (beneficios animados) ---------- */
#chatBody #wizIntroReg{align-items:center;justify-content:center;padding:0 40px;box-sizing:border-box;transition:opacity .5s ease,transform .5s ease}
#chatBody #wizIntroReg.saliendo{opacity:0;transform:translateY(-14px)}
#chatBody #wizIntroReg .wizIntroCol{width:100%;max-width:500px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
#chatBody #wizIntroReg .wizIntroTit{margin:0 0 24px;font-size:26px;line-height:1.25;text-align:center;font-family:'poppinsSemiBold';color:var(--c-texto,#222)}
#chatBody #wizIntroReg .wizBenLista{display:flex;flex-direction:column;gap:14px;width:100%;max-width:440px}
#chatBody #wizIntroReg .wizBen{display:flex;align-items:center;gap:12px;font-size:17px;line-height:1.3;color:var(--c-texto,#222)}
#chatBody #wizIntroReg .wizBenIco{display:flex;align-items:center;justify-content:center;flex:0 0 auto;width:36px;height:36px;border-radius:50%;background:var(--plnAppClr,#5CAC1F);color:#fff}
#chatBody #wizIntroReg .wizIntroPie{margin:24px 0 0;font-size:14px;line-height:1.4;color:#6b6b6b;text-align:center}
#chatBody #wizIntroReg .wizAparece{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
#chatBody #wizIntroReg .wizAparece.on{opacity:1;transform:none}
@media (max-width:600px){
  #chatBody #wizIntroReg{padding:0 22px}
  #chatBody #wizIntroReg .wizIntroTit{font-size:22px}
  #chatBody #wizIntroReg .wizBen{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  #chatBody #wizIntroReg,#chatBody #wizIntroReg .wizAparece{transition:none}
}

/* ---------- Formulario de registro como pantalla ---------- */
#chatBody #wizRegistro .registroCard{width:100%;margin:0;padding:0;border:0;border-radius:0;background:none;box-shadow:none;animation:none}
#chatBody #wizRegistro .registroCard > *{opacity:1;animation:none}
#chatBody #wizRegistro .registroTitulo{font-size:24px;line-height:1.2;text-align:left;margin:0 0 14px}
#chatBody #wizRegistro .registroCampo{margin-bottom:12px}
#chatBody #wizRegistro .registroCampo label{font-size:12px;color:#6b6b6b;margin-bottom:4px}
#chatBody #wizRegistro .registroCampo input[type="email"],
#chatBody #wizRegistro .registroPassWrap input{height:46px;box-sizing:border-box;padding:0 14px;border:1.5px solid #d6d6d6;border-radius:12px;font-size:15px;text-align:left}
#chatBody #wizRegistro .registroCampo input:focus{outline:0;border-color:var(--plnAppClr,#5CAC1F)}
#chatBody #wizRegistro .registroTerminos{margin:14px 0 4px}
#chatBody #wizRegistro .registroTerminos span{font-size:12px}
#chatBody #wizRegistro .registroBtnWrap{display:none}

/* Registro: íconos de correo y contraseña (los mismos del inicio de sesión) */
#chatBody #wizRegistro #rgstEmail,
#chatBody #wizRegistro #rgstPwsA,
#chatBody #wizRegistro #rgstPwsB{background-repeat:no-repeat;background-size:28px 28px;background-position:12px 50%;padding-left:52px}
#chatBody #wizRegistro #rgstEmail{background-image:url("/folder/img/Correo.svg")}
#chatBody #wizRegistro #rgstPwsA,
#chatBody #wizRegistro #rgstPwsB{background-image:url("/folder/img/Contraseña.svg")}

/* ---------- Bienvenida final (correo verificado) ---------- */
#chatBody #wizBienvenida{align-items:center;justify-content:center;padding:0 40px;box-sizing:border-box;text-align:center}
#chatBody #wizBienvenida .wizBienCol{width:100%;max-width:500px;margin:0 auto;display:flex;flex-direction:column;align-items:center}
#chatBody #wizBienvenida .wizBienCheck{display:flex;align-items:center;justify-content:center;width:84px;height:84px;border-radius:50%;background:var(--plnAppClr,#5CAC1F);color:#fff;transform:scale(.6)}
#chatBody #wizBienvenida .wizBienTit{margin:22px 0 8px;font-size:30px;line-height:1.2;font-family:'poppinsSemiBold';color:var(--c-texto,#222)}
#chatBody #wizBienvenida .wizBienSub{margin:0 0 6px;font-size:17px;line-height:1.35;color:#4a8d17}
#chatBody #wizBienvenida .wizBienPie{margin:0;font-size:14px;color:#6b6b6b}
#chatBody #wizBienvenida .wizBienBarra{width:220px;height:6px;margin-top:22px;border-radius:6px;background:#e4e4e4;overflow:hidden}
#chatBody #wizBienvenida .wizBienBarra i{display:block;width:0;height:100%;background:var(--plnAppClr,#5CAC1F);border-radius:6px;transition:width 3s linear}
#chatBody #wizBienvenida .wizAparece{opacity:0;transform:translateY(14px);transition:opacity .55s ease,transform .55s ease}
#chatBody #wizBienvenida .wizBienCheck.wizAparece{transition:opacity .5s ease,transform .5s cubic-bezier(.34,1.56,.64,1)}
#chatBody #wizBienvenida .wizAparece.on{opacity:1;transform:none}
@media (max-width:600px){
  #chatBody #wizBienvenida{padding:0 22px}
  #chatBody #wizBienvenida .wizBienTit{font-size:24px}
  #chatBody #wizBienvenida .wizBienSub{font-size:15px}
}
@media (prefers-reduced-motion:reduce){
  #chatBody #wizBienvenida .wizAparece,#chatBody #wizBienvenida .wizBienBarra i{transition:none}
}

/* ---------- Modal "Revisa tu correo" (rediseño, opción A · tarjeta limpia) ---------- */
#emailVerificationModal .vrfTarjeta{position:relative;max-width:400px;padding:30px 24px 22px;border:0;border-radius:20px;background:#fff;text-align:center;box-sizing:border-box}
#emailVerificationModal .clsMdlEmlVrf{position:absolute;top:14px;right:14px;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;background:#f1f1f1;box-shadow:none;cursor:pointer;opacity:1;transform:none;line-height:1}
#emailVerificationModal .clsMdlEmlVrf::before,
#emailVerificationModal .clsMdlEmlVrf::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;margin:-1px 0 0 -7px;border-radius:2px;background:#666}
#emailVerificationModal .clsMdlEmlVrf::before{transform:rotate(45deg)}
#emailVerificationModal .clsMdlEmlVrf::after{transform:rotate(-45deg)}
#emailVerificationModal .clsMdlEmlVrf:hover{background:var(--c-tinte,#E8F3E0);font-size:inherit;color:inherit;transform:none;box-shadow:none;opacity:1}
#emailVerificationModal .vrfIcono{display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:0 auto 14px;border-radius:50%;background:var(--c-tinte,#E8F3E0)}
#emailVerificationModal .vrfIcono::before{content:"";width:34px;height:34px;background:#4a8d17;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M3 7a2 2 0 0 1 2-2h14a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2z'/%3E%3Cpath d='M3 7l9 6 9-6'/%3E%3C/svg%3E") center/contain no-repeat}
#emailVerificationModal .vrfTitulo{margin:0 0 8px;font-family:'poppinsSemiBold';font-size:24px;line-height:1.2;font-weight:400;color:var(--c-texto,#222)}
#emailVerificationModal .vrfTexto{margin:0 0 16px;font-family:'poppinsRegular';font-size:15px;line-height:1.5;color:#555;text-align:center;overflow-wrap:anywhere}
#emailVerificationModal .vrfTexto b{font-family:'poppinsSemiBold';font-weight:400;color:var(--c-texto,#222)}
#emailVerificationModal .vrfAviso{margin:0 0 16px;padding:10px 12px;border-radius:12px;background:#F6F6F6;font-family:'poppinsRegular';font-size:13px;line-height:1.4;color:#555}
#emailVerificationModal .modal-buttons{display:block;margin:0 0 10px}
#emailVerificationModal .rsndTimer,
#emailVerificationModal .resend-btn{display:flex;align-items:center;justify-content:center;width:100%;height:46px;margin:0;padding:0 16px;box-sizing:border-box;border-radius:40px;font-family:'poppinsRegular';font-size:14px;line-height:1.2}
#emailVerificationModal .rsndTimer{border:1.5px solid #cfcfcf;background:#fff;color:#8a8a8a}
#emailVerificationModal .resend-btn{border:1.5px solid var(--plnAppClr,#5CAC1F);background:var(--plnAppClr,#5CAC1F);color:#fff;box-shadow:none;cursor:pointer;opacity:1;transform:none}
#emailVerificationModal .resend-btn:hover{background:#4a8d17;border-color:#4a8d17;opacity:1;transform:none;box-shadow:none}
#emailVerificationModal .vrfSalida{margin-top:2px}
#emailVerificationModal .vrfLnk{font-family:'poppinsRegular';font-size:13px;color:#4a8d17}
@media (max-width:600px){
  #emailVerificationModal .vrfTarjeta{padding:26px 18px 18px}
  #emailVerificationModal .vrfTitulo{font-size:22px}
}
/* El h2 global dibuja una barra verde debajo (h2:after): se quita en este modal; y se separa el contador del texto */
#emailVerificationModal .vrfTitulo::after{content:none;display:none}
#emailVerificationModal .rsndTimer{gap:.3em}

/* ---------- Modal "¿Olvidaste tu contraseña?" (rediseño, opción A · mismo estilo que "Revisa tu correo") ---------- */
#passwordRecoveryModal{overflow-y:auto}
#passwordRecoveryModal .rcvTarjeta{position:relative;max-width:400px;margin:8vh auto;padding:30px 24px 22px;border-radius:20px;background:#fff;box-shadow:0 4px 20px rgba(0,0,0,.15);text-align:center;box-sizing:border-box}
#passwordRecoveryModal .rcvCerrar{position:absolute;top:14px;right:14px;float:none;width:32px;height:32px;margin:0;padding:0;border:0;border-radius:50%;background:#f1f1f1;box-shadow:none;cursor:pointer;opacity:1;transform:none;line-height:1}
#passwordRecoveryModal .rcvCerrar::before,
#passwordRecoveryModal .rcvCerrar::after{content:"";position:absolute;left:50%;top:50%;width:14px;height:2px;margin:-1px 0 0 -7px;border-radius:2px;background:#666}
#passwordRecoveryModal .rcvCerrar::before{transform:rotate(45deg)}
#passwordRecoveryModal .rcvCerrar::after{transform:rotate(-45deg)}
#passwordRecoveryModal .rcvCerrar:hover{background:var(--c-tinte,#E8F3E0);transform:none;box-shadow:none;opacity:1}
#passwordRecoveryModal .rcvIcono{display:flex;align-items:center;justify-content:center;width:68px;height:68px;margin:0 auto 14px;border-radius:50%;background:var(--c-tinte,#E8F3E0)}
#passwordRecoveryModal .rcvIcono::before{content:"";width:34px;height:34px;background:#4a8d17;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3Cpath d='M12 15v1.5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='1.8' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='5' y='11' width='14' height='9' rx='2'/%3E%3Cpath d='M8 11V8a4 4 0 0 1 8 0v3'/%3E%3Cpath d='M12 15v1.5'/%3E%3C/svg%3E") center/contain no-repeat}
#passwordRecoveryModal .rcvTitulo{margin:0 0 8px;font-family:'poppinsSemiBold';font-size:24px;line-height:1.2;font-weight:400;color:var(--c-texto,#222)}
#passwordRecoveryModal .rcvTitulo::after{content:none;display:none}
#passwordRecoveryModal .rcvTexto{margin:0 0 18px;font-family:'poppinsRegular';font-size:15px;line-height:1.5;color:#555;text-align:center}
#passwordRecoveryModal .form-group{margin:0 0 14px;text-align:left}
#passwordRecoveryModal .form-group label{margin:0 0 4px;font-family:'poppinsRegular';font-size:12px;font-weight:400;color:#6b6b6b}
#passwordRecoveryModal .form-group input{height:46px;padding:0 14px 0 50px;border:1.5px solid #d6d6d6;border-radius:12px;font-family:'poppinsRegular';font-size:15px;text-align:left;background:url("/folder/img/Correo.svg") no-repeat 12px 50%/28px 28px}
#passwordRecoveryModal .form-group input:focus{border-color:var(--plnAppClr,#5CAC1F);outline:0}
#passwordRecoveryModal .message{margin:0 0 14px;padding:10px 12px 10px 38px;border-radius:12px;font-family:'poppinsRegular';font-size:13px;line-height:1.4;text-align:left;position:relative;border:0}
#passwordRecoveryModal .message.success{background:var(--c-tinte,#E8F3E0);color:#2f6a0f}
#passwordRecoveryModal .message.error{background:#FDECEC;color:#a94442}
#passwordRecoveryModal .message.success::before,
#passwordRecoveryModal .message.error::before{content:"";position:absolute;left:12px;top:10px;width:18px;height:18px;background:currentColor;-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M8.5 12.5l2.5 2.5 4.5-5'/%3E%3C/svg%3E") center/contain no-repeat}
#passwordRecoveryModal .message.error::before{-webkit-mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.2v.1'/%3E%3C/svg%3E") center/contain no-repeat;mask:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Ccircle cx='12' cy='12' r='9'/%3E%3Cpath d='M12 8v5M12 16.2v.1'/%3E%3C/svg%3E") center/contain no-repeat}
#passwordRecoveryModal .btnRcvPw{display:block;width:100%;height:46px;margin:0 0 10px;padding:0 16px;box-sizing:border-box;border:0;border-radius:40px;background:var(--c-acento,#FDB60E);color:#fff;font-family:'poppinsRegular';font-size:16px;line-height:46px;text-align:center;cursor:pointer;opacity:1;transform:none;box-shadow:none}
#passwordRecoveryModal .btnRcvPw:hover{background:var(--c-acento,#FDB60E);opacity:.92;transform:none;box-shadow:0 4px 10px rgba(0,0,0,.18)}
#passwordRecoveryModal .rcvVolver{display:inline-block;width:auto;height:auto;margin:0;padding:6px 10px;border:0;border-radius:0;background:none;box-shadow:none;color:#4a8d17;font-family:'poppinsRegular';font-size:13px;line-height:1.4;text-decoration:underline;cursor:pointer;opacity:1;transform:none}
#passwordRecoveryModal .rcvVolver:hover{background:none;color:var(--plnAppClr,#5CAC1F);transform:none;box-shadow:none;opacity:1}
@media (max-width:600px){
  #passwordRecoveryModal .rcvTarjeta{width:94%;padding:26px 18px 18px}
  #passwordRecoveryModal .rcvTitulo{font-size:22px}
}

/* Preguntas 1-5: sin botón "Siguiente" (se avanza al tocar una respuesta) */
#chatBody .wizSiguiente.wizOculto{display:none !important}
#chatBody .wizNotaAuto{margin:14px 0 0;font-size:12px;line-height:1.4;color:#8a8a8a;text-align:center}

/* ---------- Ajuste de altura: que ningún texto quede cortado ---------- */
/* Escritorio con ventana baja (laptops): se compacta la pregunta; si aun así no cabe, el contenido se desplaza con holgura abajo */
@media (min-width: 601px) and (max-height: 820px){
  #chatBody .wizCuerpo{ padding-top: 26px; }
  #wizPregunta .wizBarras{ margin-bottom: 16px; }
  #chatBody .wizOpciones{ gap: 8px; }
  #chatBody .wizOpcion{ min-height: 48px; }
  #chatBody .wizTitulo.wizPregTit{ font-size: 23px; margin-bottom: 14px; }
  #chatBody .wizSub{ margin-bottom: 12px; }
  #chatBody .wizNotaAuto{ margin-top: 10px; }
}
/* Celulares con pantalla baja (iPhone SE y similares) */
@media (max-width: 600px) and (max-height: 700px){
  #chatBody .wizCuerpo{ padding-top: 30px; }
  #wizPregunta .wizBarras{ margin-bottom: 14px; }
  #chatBody .wizOpciones{ gap: 8px; }
  #chatBody .wizOpcion{ min-height: 42px; padding-top: 8px; padding-bottom: 8px; }
  #chatBody .wizTitulo.wizPregTit{ margin-bottom: 12px; }
  #chatBody .wizSub{ margin-bottom: 10px; font-size: 14px; }
  #chatBody .wizNotaAuto{ margin-top: 10px; }
}