
         :root {
            --dark-blue: #193257; /* Azul oscuro principal */
            --medium-blue: #3f51b5; /* Azul medio de la forma curvada */
            --light-green: #50b334; /* Verde brillante para botones */
            --dark-green: #52a720; /* Verde oscuro para hover */
            --light-gray-bg: #f0f2f5; /* Gris muy claro de fondo */
            --input-bg-gray: #e2e8f0; /* Gris para campos de input */
            --text-dark-gray: #4a5568; /* Gris oscuro para texto */
            --text-light-gray: #718096; /* Gris claro para texto */
            --statistic-block-bg: #2d3748; /* Fondo para bloques de estadísticas */
            --footer-darker-blue: ; /* Azul más oscuro para el pie de página inferior */
        }
       /* Estilos Generales */
        body {
            font-family: 'Montserrat', sans-serif;
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            background-color: #f0f2f5; /* Un color de fondo muy claro para el resto de la página */
        }

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

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

        /* Header */
        header {
            background-color: #fff;
            padding: 15px 0;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
        }

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

        .navbar-left {
            display: flex;
            align-items: center;
        }

        .logo {
            display: flex;
            align-items: center;
            font-size: 24px;
            font-weight: 700;
            color: #333;
            margin-right: 30px;
        }

        .logo img {
            height: 50px; /* Ajusta según el tamaño de tu logo */
            margin-right: 8px;
        }

        .nav-links {
            list-style: none;
            margin: 0;
            padding: 0;
            display: flex;
            gap: 25px;
        }

        .nav-links li a {
            color:#193257 ;
            transition: color 0.3s ease;
        }

        .nav-links li a:hover {
            color: #007bff; /* Color de ejemplo al pasar el ratón */
        }

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

        .lang-select {
            display: flex;
            align-items: center;
            cursor: pointer;
            color: #555;
            font-weight: 600;
        }

        .lang-select img {
            height: 16px;
            margin-left: 5px;
        }

        .btn {
            padding: 10px 20px;
            border-radius: 5px;
            font-weight: 600;
            cursor: pointer;
            transition: background-color 0.3s ease;
        }

        .btn-primary {
            background-color: #fff; /* Azul primario */
            color: #193257;
            border: 2px solid #193257;
                border-radius: 20px;
        }

        .btn-primary:hover {
            background-color: #0056b3;
        }

        .btn-secondary {
            background-color: #193257; /* Gris claro */
            color: #fff;
            border: 1px solid #193257;
            border-radius: 20px;
        }

        .btn-secondary:hover {
            background-color: #d6d9dc;
        }

        /* Hero Section */
        .hero-section {
            background-color: #193257; /* Azul oscuro similar al de la imagen */
            color: #fff;
            padding: 40px 0;
            display: flex;
            align-items: center;
            border-radius: 20px;
            justify-content: center;
            position: relative;
            overflow: hidden; /* Para que la imagen de fondo no se desborde */
        }

        .hero-content {
            display: flex;
            align-items: center;
            justify-content: space-between;
            max-width: 1200px;
            width: 100%;
            margin: 0 auto;
            padding: 0 20px;
            z-index: 1; /* Para que el texto esté sobre la imagen */
        }

        .hero-text {
            flex: 1;
            padding-right: 40px;
        }

        .hero-text h1 {
            font-size: 4.5em; /* Tamaño grande para el título */
            margin-bottom: 20px;
            font-weight: bold;
            line-height: 1.2;
        }

        .hero-text p {
            font-size: 1.3em;
            margin-bottom: 30px;
            opacity: 0.9;
        }

        .app-buttons {
            display: flex;
            gap: 15px;
            margin-top: 40px;
        }

        .app-button {
            display: flex;
            align-items: center;
            background-color: transparent;
            color: #fff;
            border: 1px solid #fff;
            padding: 12px 25px;
            border-radius: 8px;
            font-weight: 600;
            font-size: 0.9em;
            transition: background-color 0.3s ease;
        }

        .app-button:hover {
            background-color: #eee;
        }

        .app-button img {
            height: 24px;
            margin-right: 10px;
        }

        .hero-image {
            flex: 1;
            display: flex;
            justify-content: flex-end; /* Alinea la imagen a la derecha */
            position: relative;
            height: 500px; /* Ajusta la altura de la sección para la imagen */
        }

        .hero-image img {
            width: 100%;
            height: 100%;
            object-fit: contain; /* Asegura que la imagen se ajuste sin cortarse */
            border-radius: 8px;
            /* Si tienes una imagen de recorte con fondo transparente, así se vería */
            position: absolute;
            bottom: -80px; /* Ajusta la posición para que la imagen sobresalga un poco */
            right: -50px; /* Ajusta la posición lateral */
            max-width: 600px; /* Controla el tamaño máximo de la imagen */
        }

        /* Estilo para la forma curvada en la imagen de fondo */
        .hero-section::before {
            content: '';
            position: absolute;
            top: 0;
            right: 0;
            width: 70%; /* Ajusta el ancho de la forma */
            height: 100%;
            background-color: #3f51b5; /* Un tono de azul ligeramente diferente para la forma */
            border-bottom-left-radius: 300px; /* Radio para la curva */
            transform: translateX(40%); /* Mueve la forma hacia la derecha */
            z-index: 0;
        }

        /* Media Queries para responsividad básica */
        @media (max-width: 992px) {
            .hero-content {
                flex-direction: column;
                text-align: center;
            }

            .hero-text {
                padding-right: 0;
                margin-bottom: 40px;
            }

            .hero-image {
                justify-content: center;
                height: auto;
                margin-top: 40px;
            }

            .hero-image img {
                position: static;
                max-width: 400px;
            }

            .hero-text h1 {
                font-size: 2.5em;
            }
        }

        @media (max-width: 768px) {
            .navbar {
                flex-wrap: wrap;
                justify-content: center;
            }
            .navbar-left, .navbar-right {
                width: 100%;
                justify-content: center;
                margin-top: 10px;
            }
            .nav-links {
                display: none; /* O puedes crear un menú hamburguesa */
            }
            .hero-section::before {
                width: 100%;
                border-bottom-left-radius: 0;
                transform: translateX(0);
            }
        }

        @media (max-width: 480px) {
            .hero-text h1 {
                font-size: 2em;
            }
            .hero-text p {
                font-size: 1em;
            }
            .app-buttons {
                flex-direction: column;
                align-items: center;
            }
            .app-button {
                width: 80%;
                justify-content: center;
            }
        }

         /* Sección del Simulador */
        .simulator-section {
            background-color: #f0f2f5; /* Color de fondo muy claro para esta sección */
            padding: 60px 0; /* Espaciado superior e inferior */
            color: #333; /* Color de texto principal */
        }

        .simulator-intro-text {
            font-size: 1.1em;
            line-height: 1.6;
            margin-bottom: 40px;
            max-width: 500px; /* Para que el texto no ocupe todo el ancho */
            color: #4a5568; /* Un gris más oscuro para el texto descriptivo */
        }

        .simulator-title {
            font-size: 2.5em; /* Tamaño similar al de la imagen */
            font-weight: 700;
            margin-bottom: 30px;
            color: #193257; /* Azul oscuro para el título principal de la sección */
        }

        .simulator-form-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr); /* 3 columnas para la primera fila */
            gap: 20px; /* Espacio entre los elementos del grid */
            margin-bottom: 40px;
        }

        .form-group {
            display: flex;
            flex-direction: column;
            gap: 8px;
        }

        .form-group label {
            font-weight: 200;
            font-size: 0.9em;
            color: #4a5568;
        }

        .custom-select,
        .custom-input {
            display: flex;
            align-items: center;
            background-color: #e2e8f0; /* Color de fondo gris claro para los inputs/selects */
            border: 1px solid #cbd5e0; /* Borde gris más oscuro */
            border-radius: 18px;
            padding: 10px 15px;
            font-size: 1.1em;
            color: #193257; /* Color de texto dentro del input */
        }

        .custom-select .value,
        .custom-input .value {
            flex-grow: 1; /* Permite que el texto ocupe el espacio disponible */
        }

        .custom-select .dropdown-arrow,
        .custom-input .currency-selector {
            margin-left: 10px;
            font-weight: 700;
            color: #667eea; /* Color para el icono de la flecha/moneda */
            cursor: pointer;
            display: flex;
            align-items: center;
            gap: 5px;
        }

        .custom-input .currency-selector img {
            height: 12px; /* Tamaño del icono de la flecha en el currency selector */
        }

        /* Estilos específicos para la segunda fila (Comisión y Cantidad a recibir) */
        .simulator-form-grid .form-group:nth-child(4),
        .simulator-form-grid .form-group:nth-child(5) {
            grid-column: span 1; /* Asegura que cada uno ocupe 1 columna */
        }
        /* Para que la segunda fila quede debajo y centrada, ajustamos el grid */
        @media (min-width: 768px) {
            .simulator-form-grid .form-group:nth-child(4) {
                grid-column-start: 1; /* Inicia en la primera columna */
            }
            .simulator-form-grid .form-group:nth-child(5) {
                grid-column-start: 2; /* Inicia en la segunda columna */
            }
        }


        .simulator-footer-text {
            font-size: 1em;
            color: #718096; /* Un gris más suave para el texto final */
            margin-top: 20px;
        }


        /* Media Queries para responsividad */
        @media (max-width: 992px) {
            .simulator-title {
                font-size: 2em;
            }
            .simulator-form-grid {
                grid-template-columns: repeat(2, 1fr); /* 2 columnas en tablets */
            }
            .simulator-form-grid .form-group:nth-child(4),
            .simulator-form-grid .form-group:nth-child(5) {
                grid-column: span 1; /* Se mantienen en una columna cada uno */
            }
        }

        @media (max-width: 768px) {
            .simulator-section {
                padding: 40px 0;
            }
            .simulator-form-grid {
                grid-template-columns: 1fr; /* Una sola columna en móviles */
                gap: 15px;
            }
            .simulator-intro-text {
                font-size: 1em;
                margin-bottom: 30px;
            }
            .simulator-title {
                font-size: 1.8em;
            }
        }
  /* Estilos para la Nueva Sección (Nuestros Servicios y Cifras) */
        .services-and-stats-section {
            background-color: var(--dark-blue);
            color: #fff;
            padding: 80px 0;
        }

        .services-section-title {
            font-size: 2.8em;
            font-weight: 700;
            text-align: center;
            margin-bottom: 60px;
            color: #fff;
        }

        .service-cards-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 40px;
            margin-bottom: 60px;
        }

        .service-card {
            background-color: transparent; /* No tiene un fondo visible diferente */
            padding: 0; /* Ya que el texto está directamente sobre el fondo azul */
        }

        .service-card h3 {
            font-size: 1.5em;
            font-weight: 700;
            margin-bottom: 15px;
            color: #50b334;
        }

        .service-card p {
            font-size: 0.95em;
            line-height: 1.7;
            color: rgba(255, 255, 255, 0.85); /* Un blanco ligeramente transparente */
        }

        .action-buttons {
            display: flex;
            justify-content: center;
            gap: 20px;
            margin-top: 60px;
            margin-bottom: 80px;
            flex-wrap: wrap; /* Para que los botones se envuelvan en pantallas pequeñas */
        }

        .action-btn {
            background-color: var(--light-green);
            color: #fff;
            padding: 15px 35px;
            border-radius: 12px; /* Muy redondeado */
            font-size: 1.2em;
            font-weight: 600;
            border: none;
            cursor: pointer;
            transition: background-color 0.3s ease, transform 0.2s ease;
            box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
        }

        .action-btn:hover {
            background-color: var(--dark-green);
            transform: translateY(-3px);
        }

        .statistics-section {
            margin-top: 80px;
            padding-top: 60px; /* Espacio antes de esta sección */
            border-top: 1px solid rgba(255, 255, 255, 0.1); /* Separador sutil */
           
        }

        .stats-header {
            display: flex;

            margin-bottom: 40px;
           
            gap: 20px;
   
            justify-content: space-between;
        }

        .stats-header h2 {
            font-size: 3em;
            font-weight: 700;
            line-height: 1;
            margin: 0;
            flex-shrink: 0; /* Evita que el título se encoja */
            color: #fff;
        }

        .stats-header p {
            font-size: 1.1em;
            line-height: 1.6;
            flex-grow: 1; /* Permite que la descripción ocupe el espacio restante */
            color: rgba(255, 255, 255, 0.9);
            padding-left: 20px; /* Espacio entre título y texto */
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); /* Autoajuste de columnas */
            gap: 25px;
        }

        .stat-block {
            background-color: var(--statistic-block-bg); /* Fondo gris azulado para los bloques */
            padding: 25px 20px;
            border-radius: 12px;
            text-align: center;
            box-shadow: 0 4px 10px rgba(0, 0, 0, 0.15);
        }

        .stat-number {
            font-size: 2.2em;
            font-weight: 700;
            color: var(--light-green); /* Números en verde */
            margin-bottom: 5px;
        }

        .stat-label {
            font-size: 0.9em;
            color: rgba(255, 255, 255, 0.7);
        }

        /* Footer */
        footer {
            background-color: #193257; /* Azul más oscuro para el pie de página */
            color: rgba(255, 255, 255, 0.7);
            padding: 40px 0;
            font-size: 0.9em;
        }

        .footer-content {
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-nav ul,
        .footer-legal ul {
            list-style: none;
            padding: 0;
            margin: 0;
            display: flex;
            flex-wrap: wrap;
            gap: 20px;
        }

        .footer-nav a,
        .footer-legal a {
            color: #50b334;
            transition: color 0.3s ease;
        }

        .footer-nav a:hover,
        .footer-legal a:hover {
            color: #fff;
        }

        .footer-info p {
            margin: 0;
            color: #50b334;
        }

        .social-icons {
            display: flex;
            gap: 15px;
        }

        .social-icon {
            color: rgba(255, 255, 255, 0.7);
            font-size: 1.5em;
            transition: color 0.3s ease;
        }

        .social-icon:hover {
            color: #fff;
        }


        /* Media Queries para Responsividad */
        @media (max-width: 1024px) {
            .services-section-title {
                font-size: 2.2em;
            }
            .service-cards-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            .stats-header {
                flex-direction: column;
                align-items: flex-start;
                text-align: left;
            }
            .stats-header p {
                padding-left: 0;
                margin-top: 15px;
            }
            .stats-header h2 {
                font-size: 2.5em;
            }
        }

        @media (max-width: 768px) {
            .services-and-stats-section {
                padding: 50px 0;
            }
            .services-section-title {
                font-size: 1.8em;
                margin-bottom: 40px;
            }
            .service-cards-grid {
                grid-template-columns: 1fr; /* Una columna en móviles */
                gap: 30px;
            }
            .action-buttons {
                flex-direction: column;
                align-items: center;
                gap: 15px;
                margin-bottom: 50px;
            }
            .action-btn {
                width: 80%;
                text-align: center;
                font-size: 1.1em;
                padding: 12px 25px;
            }
            .statistics-section {
                padding-top: 40px;
                margin-top: 50px;
            }
            .stats-header h2 {
                font-size: 2em;
            }
            .stats-header p {
                font-size: 1em;
            }
            .stats-grid {
                grid-template-columns: repeat(auto-fit, minmax(140px, 1fr)); /* Más pequeñas en móvil */
                gap: 15px;
            }
            .stat-number {
                font-size: 1.8em;
            }
            .stat-label {
                font-size: 0.85em;
            }
            .footer-content {
                flex-direction: column;
                text-align: center;
                gap: 30px;
            }
            .footer-nav ul, .footer-legal ul, .social-icons {
                justify-content: center;
            }
        }