:root {
    --ii-blue: #0000F0;
    --ii-dark-blue: #0000A1;
    --ii-orange: #FFA266;
    --text-dark: #000060;
    --bg-light: #F8F9FE;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-dark);
    line-height: 1.5;
    background-color: #fff;
}


.container {
    max-width: 1440px; 
    margin: 0 auto;
    padding: 0 80px; 
}


.top-nav {
    background: var(--ii-dark-blue);
    color: white;
    padding: 10px 30px; 
    font-size: 16px;
    
   
    width: 96%;            
    max-width: 1350px;     
    margin: 0px auto;     
    border-radius: 0 0 15px 15px;
    
    
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}


.top-nav .container {
    max-width: 100%; 
    padding: 0; 
}

.top-links {
    display: flex;
    justify-content: flex-end;
    gap: 20px;
    align-items: center;
}

.top-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
}

.separator {
    color: rgba(255,255,255,0.3);
}

.main-header {
    background: white;
    padding: 7px 0;
    border-bottom: 1px solid #f0f0f0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo img { height: 60px; }


.icon-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}


.nav-icon {
    width: 18px;  
    height: 18px; 
    object-fit: contain; 
    filter: brightness(0) invert(1); 
}

.main-menu ul {
    display: flex;
    list-style: none;
    gap: 30px;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-dark);
}

.main-menu li {
    cursor: pointer;
}


/* Contenedor del ítem del menú */
.has-dropdown {
    position: relative;
    cursor: pointer;
    padding: 20px 0;
}

/* Megamenú oculto por defecto */


.megamenu.active {
    display: block;
}






.menu-item {
    display: block;
    text-decoration: none;
    color: #000060;
    padding: 10px 0;
    font-size: 15px;
    transition: color 0.2s;
}

/* Estilo para los botones redondeados lilas */
.menu-item.highlight {
    background: #e8ebff;
    padding: 15px;
    border-radius: 12px;
    margin-bottom: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #000060;
    font-weight: 600;
}

.menu-item.highlight .arrow {
    color: #3b46ff;
    font-size: 12px;
}

/* Panel de promoción azul */
.megamenu-promo {
    background: #0000A1;
    border-radius: 20px;
    overflow: hidden; 
    color: #fff;
    /* Añadimos un padding inferior para que el botón no toque el borde */
    padding-bottom: 25px; 
    display: flex;
    flex-direction: column;
    align-items: center;
}

.megamenu-promo img {
    width: 100%;
    height: 130px; /* Reducimos de 150px a 130px */
    object-fit: cover;
}

.promo-content {
    padding: 20px; /* Cambiamos de 0px a 20px para dar margen interno */
    text-align: center;
    width: 100%;
}

.promo-content h4 {
    font-size: 20px;
    margin-bottom: 10px;
}

.promo-content p {
    font-size: 13px;
    margin-bottom: 20px;
    line-height: 1.4;
}

.btn-white-pill {
    background: #fff;
    color: #0000A1;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}



/* Contenedor del ítem en el header */
.main-menu ul li {
    position: relative; /* Base para el centrado del hijo */
    cursor: pointer;
    padding: 15px 10px;
}

/* El Megamenú */
/* 1. Importante: Quitar el position: relative del li si causa conflictos, 
pero para el fixed no importa el padre */

/* Megamenú de lado a lado */
.megamenu {
    display: none;
    position: fixed;
    top: 110px; /* Ajusta según tu header */
    left: 0;    /* Pegado a la izquierda */
    width: 100vw; /* 100% del ancho de pantalla */
    background: #fff;
    box-shadow: 0 20px 50px rgba(0,0,0,0.1);
    z-index: 99999;
    border-top: 1px solid #eee;
    padding: 40px 0; /* Padding vertical, el horizontal lo da el container */
}

/* Contenedor interno centrado */
.megamenu-container {
    max-width: 1300px; /* O el ancho de tu web */
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(3, 1fr) 1.2fr 1fr; /* Ajuste para las 5 columnas */
    padding: 0 20px;
}

/* Separadores verticales (Columnas) */
.megamenu-col {
    padding: 0 30px;
    border-right: 1px solid #f0f0f0; /* La línea vertical */
}


.megamenu.is-open {
    display: block;
}

/* --- Tus estilos de contenido se mantienen --- */
.megamenu-col h3 {
    min-height: 40px;
    color: #000060;
    font-size: 16px;
    margin-bottom: 10px;
    font-weight: 800;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translate(-50%, 10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}






.btn-join {
    background: var(--ii-blue);
    color: white;
    padding: 12px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 5px;
}


.hero {
    width: 100%;
    overflow: visible; 
    background: white;
    padding: 60px 0;
    z-index: 2; 

}

.hero-layout {
    display: flex;
    align-items: center;
    
    margin-left: max(20px, calc((100% - 1400px) / 2 + 80px)); 
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    z-index: 3; 
    position: relative;
    margin-top: -150px;
    
}

.hero-text h1{
    font-size: 40px;
    color: var(--text-dark);
    font-weight: 700;

 
}


.hero-text p{
    font-size: 18px;
    color: var(--text-dark);
  
}



.hero-image-wrapper {
    flex: 1;
    display: flex;
    justify-content: flex-end;
}

.hero-mask {
    width: 100%; 
    height: 600px;
    border-radius: 300px 0 0 300px;
    overflow: hidden;
    position: relative;
    z-index: 15; 
}

.hero-mask img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}


.hero-btns {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.btn-primary, .btn-secondary {
    position: relative;
    z-index: 3; 
    padding: 15px 30px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    display: inline-block;
}

.btn-primary { background: var(--ii-blue); color: white; }
.btn-secondary { background: var(--ii-orange); color: var(--text-dark); }



.info-bar {
    background: #F4F6FF;
    margin-top: -285px; 
    padding: 220px 0 100px 0;
    position: relative;
    z-index: 1;
   
    border-radius: 60px 60px 0 0; 
}

.info-bar p{
    font-size: 18px;
    margin-top: 15px;
}

.info-bar .tp-logo-img{
    width: 75px;
    height: 45px;
}

.info-bar .trustpilot-top{
    margin-top: -30px;
    margin-left: 300px;
}


.cashback-banner {
    background: var(--ii-dark-blue); 
    border-radius: 25px;
    margin: 50px auto;
    padding: 60px;
    color: white;
    max-width: 1300px;
}

.cashback-content {
    display: flex;
    align-items: center;
    gap: 45px;

}

.cashback-circle {
    min-width: 320px;
    height: 320px;
    border: 18px solid #F39254; 
    border-radius: 50%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.cashback-circle .amount {
    font-size: 48px;
    font-weight: 800;
    line-height: 1;
}

.cashback-circle .label {
    font-size: 24px;
    font-weight: 600;
}

.cashback-text h2 {
    font-size: 36px;
    margin-top: -50px;
    font-weight: 800;
}

.cashback-text p {
    font-size: 18px;
    margin-bottom: 15px;

}

.cashback-text a{
    color: white;
}


.cashback-image {
    flex: 0 0 500px; 
    display: flex;
    justify-content: center;
    align-items: center;
}

.cashback-image img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
 
}

.btn-details {
    background: var(--ii-orange);
    color: #000033;
    padding: 14px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 25px;
}


.disclaimer {
    color: #4C4C5E;
    font-size: 12px;
    margin-top: 40px;
    text-align: left;
}


.secondary-disclaimer {
    max-width: 1300px;
    margin: 40px auto 0;
    text-align: left;
    color: #4C4C5E;
    font-size: 12px;
    line-height: 1.6;

}

.secondary-disclaimer p {
    margin-bottom: 15px;
}


.goals-section{
    margin-top: 130px;
    width: 100%;
    overflow: hidden; 
}

.goals-header h2{
    font-size: 33px;
}



.carousel-wrapper {
    overflow: hidden;
    padding: 10px 0;
}

.goals-grid {
    display: flex;
    gap: 20px;
    transition: transform 0.5s ease-in-out;
    align-items: stretch;
}

.goal-card {
    min-width: calc(33% - 15px); 
    background: #fff;
    border: 1px solid #e0e4f5;
    border-radius: 15px;
    padding: 30px 30px 15px 30px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
    /* Añade esto: */
    display: flex;
    flex-direction: column;

}

.nav-btn {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    font-size: 18px;
    transition: 0.3s;
}


.goal-card img {
    width: 40px;          
    height: 40px;        
    object-fit: contain;  
    margin-bottom: 15px;  
    display: block;       
}




.goal-card h3 {
    font-size: 25px;
    margin-bottom: 25px;
    color: var(--text-dark);
}

.goal-card p {
    font-size: 18px;
    margin-bottom: 12px;
    color: var(--text-dark);
    
    flex-grow: 1; 

}


.goal-card .btn-orange-sm {
    align-self: flex-start; 
    display: inline-block;
    margin-top: 40px;
    margin-bottom: 20px;
}

.disclaimer-mini {
    max-width: 1300px;
    margin: 140px auto 0;
    text-align: left;
    color: #4C4C5E;
    font-size: 19px;
    line-height: 1.6;
    margin-bottom: 100px;

}


.nav-btn:hover { background: #f0f0f0; }


.managed-section { padding: 80px 0; background: #fff; }
.managed-flex { display: flex; align-items: center; gap: 60px; }
.managed-image { position: relative; flex: 1; }
.managed-image img { width: 100%; border-radius: 20px; }



.managed-content { flex: 1; }
.managed-content h2 { font-size: 35px; color: #000060; margin-bottom: 20px; }

.managed-content p{
    font-size: 18px;


}
.btn-orange-sm {
    background: var(--ii-orange);
    color: var(--text-dark);
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-top: 20px;
}


.why-ii-section {
    padding: 80px 0 0 0; 
    background: url('img/señoras.jpg') no-repeat center top; 
    background-position: center 0%;
    background-size: cover;
    
  
    width: 100%;             
    margin: 40px 0 150px 0;  
    border-radius: 0;        
    
    position: relative;
    height: 400px; 
}

.why-ii-card {
    background: white;
    border-radius: 25px;
    padding: 60px 50px;
    text-align: center;
    box-shadow: 0 15px 40px rgba(0,0,0,0.1);
    max-width: 1300px;
    margin: 0 auto;
    
   
    position: relative;
    top: 250px; 
    z-index: 10;
}

.why-ii-card h2 {
    color: var(--text-dark);
    font-size: 33px;
    margin-bottom: 40px;
    font-weight: 800;
}


.why-ii-grid {
    display: flex;
    justify-content: space-between;
    gap: 40px;
    margin-bottom: 30px;
}

.why-ii-item {
    flex: 1;
    text-align: center;
}


.why-ii-item img {
    width: 35px; 
    height: 35px;
    margin: 0 auto 20px;
    display: block;
    object-fit: contain;
}

.why-ii-item h3 {
    color: var(--text-dark);
    font-size: 25px;
    margin-bottom: 12px;
}

.why-ii-item p {
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.6;
    margin-top: 30px;
    margin-bottom: 20px;
}




.transfer-section {

    padding: 540px 0 100px 0; 
    background: white;
    width: 100%;
    margin-bottom: -40px;
}

.transfer-banner {
    background: #E5E5FF;
    
    border-radius: 30px 250px 250px 30px; 
    
    padding: 30px 80px;
    display: block;
    position: relative;
}

.transfer-flex {
    display: flex;
    align-items: center;
    gap: 80px;
}

.transfer-image-container {
    flex: 1;
    max-width: 550px;
}

.main-transfer-img {
    width: 100%;
    border-radius: 20px;
    display: block;
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

.transfer-content {
    flex: 1;
}

.transfer-content h2 {
    font-size: 33px;
    color: var(--text-dark);
    margin-bottom: 25px;
    font-weight: 800;
    line-height: 1.1;
}

.transfer-content p {
    font-size: 18px;
    margin-bottom: 20px;
    color: var(--text-dark);
    line-height: 1.6;
}


.why-ii-card {
   
    margin-bottom: 50px; 
}



.products-section {
    padding: 100px 0;
    background-color: #fff;
    overflow: hidden;
}

.products-carousel-wrapper {
    overflow: hidden;
    width: 100%;
}

.products-header {
    margin-bottom: 50px;
}

.products-header h2 {
    font-size: 33px;
    color: var(--text-dark);
    font-weight: 800;
    margin-bottom: 15px;
}

.products-header p {
    font-size: 18px;
    color: var(--text-dark);
}


.products-grid {
    display: flex;          
    gap: 25px;
    transition: transform 0.5s ease-in-out;
    align-items: stretch;
    width: 100%;              
}

.product-card {
  
    min-width: calc(33% - 17px); 
    
    background: #fff;
    border: 1px solid #e0e4f5;
    border-radius: 20px;
    padding: 35px;
    display: flex;
    flex-direction: column;
    transition: box-shadow 0.3s ease;
    height: auto; 
}

.product-card:hover {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.05);
}

.product-card img {
    width: 45px;
    height: 45px;
    object-fit: contain;
    margin-bottom: 25px;
}

.product-card h3 {
    font-size: 25px;
    color: var(--text-dark);
    margin-bottom: 20px;
    font-weight: 700;
}

.product-card p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 30px;
    flex-grow: 1; 
}


.product-card .btn-orange-sm {
    align-self: flex-start; 
    margin-top: auto;
    padding: 12px 25px;
}



.header-content-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: flex-end; 
    margin-bottom: 30px;
}

.carousel-controls {
    display: flex;
    align-items: center;
    gap: 15px;
}


.nav-arrow {
    background: none;
    border: none;
    color: #0000CC;
    cursor: pointer;
    padding: 5px;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

.nav-arrow:hover {
    opacity: 0.6;
}

.nav-arrow:disabled {
    color: #D1D5DB; 
    cursor: not-allowed;
}


.carousel-dots {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dot {
    height: 8px;
    width: 8px;
    background-color: #D1D5DB; 
    border-radius: 50%;
    display: inline-block;
    transition: all 0.3s ease;
}


.dot.active {
    width: 20px;
    background-color: #000066; 
    border-radius: 10px;
}




.testimonial-image-mask {
    flex: 1;
    height: 100%;
    position: relative;
   
    clip-path: circle(75% at 85% 50%); 
    display: flex;
    justify-content: flex-end;
}

.couple-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


.testimonial-btns .btn-orange-sm {
    padding: 12px 20px;
    font-size: 14px;
}



.ii-why-choose {
    padding: 60px 0;
    background-color: #fff;
}

.ii-banner-wrapper {
    background-color: #E5E5FF; 
    border-radius: 20px;
    display: flex;
    overflow: hidden;
    align-items: stretch;
    min-height: 420px;
}


.ii-text-content {
    flex: 1;
    padding: 50px 60px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.ii-title {
    color: var(--text-dark); 
    font-size: 32px;
    font-weight: 800;
    margin-bottom: 25px;
}

.ii-quote-text {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-dark);
    margin-bottom: 20px;
}

.ii-sub-text {
    font-size: 18px;
    color: var(--text-dark);
    margin-bottom: 30px;
}

.ii-action-btns {
    display: flex;
    gap: 15px;
}


.ii-image-container {
    flex: 1;
    position: relative;
}

.ii-curved-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    
    clip-path: ellipse(100% 100% at 100% 50%);
}


.btn-orange {
    background-color: #FF9E67;
    color: #000033;
    padding: 12px 24px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    transition: background 0.3s ease;
}

.btn-orange:hover {
    background-color: #ff8b47;
}




.ii-cta-section {
    padding: 100px 0;
    background-color: #fff;
    text-align: center;
}

.ii-logo-circle {
    width: 180px;
    height: 180px;
    border-radius: 50%; 
    overflow: hidden;    
    display: flex;
    align-items: center;
    justify-content: center;
}

.ii-logo-circle img {
    width: 100%;
    height: 100%;
    object-fit: cover; 
}
.ii-cta-title {
    font-size: 36px;
    font-weight: 800;
    color: #000033;
    margin-bottom: 20px;
}

.logo-google {
    height: 47px !important;
    margin-top: -4px; 
    width: auto;
}

.ii-cta-text {
    font-size: 18px;
    color: var(--text-dark);
    max-width: 600px;
    margin: 0 auto 40px;
    line-height: 1.5;
}

.btn-blue-pill {
    background-color: #0000FF;
    color: #fff;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 50px;
    transition: transform 0.2s;
}

.btn-blue-pill:hover {
    transform: scale(1.05);
}

.ii-app-stores {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.ii-app-stores img {
    height: 40px;
}


.ii-main-footer {
    background-color: #000099; 
    color: #fff;
    padding: 60px 0 100px;
  
    border-radius: 40px 40px 0 0; 
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 60px;
    padding-bottom: 20px;
}

.footer-logo {
    height: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 30px;
}

.footer-col h4 {
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 25px;
    color: #fff;
}

.footer-col ul {
    list-style: none;
    padding: 0;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul li a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    transition: opacity 0.2s;
}

.footer-col ul li a:hover {
    text-decoration: underline;
    opacity: 0.8;
}



.ii-footer-wrapper {
    background-color: #F0F1FF; 
    width: 100%;
}


.ii-cta-section {
    padding: 100px 0 120px;
    background-color: transparent; 
    text-align: center;
}

.ii-logo-circle {
    width: 140px;
    height: 140px;
    background-color: #000033;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ii-cta-title {
    font-size: 38px;
    font-weight: 800;
    color: #000033;
    margin-bottom: 20px;
}

.btn-blue-pill {
    background-color: #0000FF;
    color: #fff;
    padding: 14px 45px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    display: inline-block;
    margin-bottom: 40px;
}


.ii-main-footer {
    background-color: #000292;
    color: #fff;
    padding: 80px 0 60px;
    
 
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    
 
}

.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 50px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 20px;
}

.footer-col h4 {
    font-size: 14px;
    margin-bottom: 20px;
    text-transform: none;
}

.footer-col ul li a {
    color: #fff;
    font-size: 13px;
    opacity: 0.9;
    text-decoration: none;
}



.aberdeen-bar {
    background-color: #000000;
    color: #ffffff;
    padding: 15px 0;
    text-align: left;
    font-size: 14px;
    letter-spacing: 1px;
    border-top: 1px solid rgba(255, 255, 255);
}

.aberdeen-bar strong { text-transform: uppercase; }


.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    padding-top: 40px;
    margin-top: 20px;

}

.footer-legal-info p {
    font-size: 12px;
    line-height: 1.6;
    color: #cbd5e0; 
    margin: 0;
}

.footer-social-links {
    display: flex;
    gap: 15px;
}

.footer-social-links img {
    width: 24px;
    height: 24px;
    filter: brightness(0) invert(1); 
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.footer-social-links img:hover {
    opacity: 1;
}



.tp-wrapper, .trustpilot-widget-footer {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
}


.tp-stars {
    height: 20px; 
    width: auto;
}


.tp-logo-img {
    height: 18px;
    width: auto;
    margin-left: 2px;
}


.tp-text {
    font-weight: 700;
    color: #000;
}

.tp-text-white {
    font-weight: 700;
    color: #fff;
}

.tp-count {
    color: #444;
    font-size: 13px;
}


.trustpilot-top {
    padding: 10px 0;
    display: flex;
    justify-content: flex-start;
}


.footer-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    padding-bottom: 20px;
    margin-bottom: 30px;
}



.tp-widget-vertical {
    display: flex;
    flex-direction: column;
   
    align-items: flex-start; 
    gap: 5px;
    padding: 15px 0;
    max-width: 200px;
    
   
    margin-left: auto; 
    text-align: left;
}




.tp-brand-img {
    height: 22px; 
    width: auto;
}



.tp-stars-img {
    width: 140px;
    height: auto;
    display: block;
    margin-right: 0;
}


.tp-text-bottom p {
    font-family: 'Open Sans', Arial, sans-serif;
    font-size: 12px;
    color: #ffffff;         
    margin: 0;
    white-space: nowrap;    
    margin: 0;
    padding: 0;
    text-align: left; 
}

.tp-text-bottom b {
    font-weight: 700;
}



.carousel-container {
    overflow: hidden;
    width: 100%;
    position: relative;
}

.goals-grid, .products-grid {
    display: flex !important; 
    flex-wrap: nowrap !important; 
    transition: transform 0.4s ease-out;
    gap: 20px; 
}

.goal-card, .product-card {
    flex: 0 0 280px; 
    max-width: 300px;
}


/* --- ESTILOS PARA EL LOGO DEL FOOTER --- */

/* 1. Contenedor: Alinea el logo a la izquierda y le da espacio */
.footer-logo-top {
    display: flex;
    justify-content: flex-start; 
    margin-bottom: 40px; /* Espacio entre el logo y las columnas de enlaces */
    width: 100%;
}

/* 2. Tamaño del Logo: Ajusta el 'height' para cambiar el tamaño general */
.footer-ii-logo {
    height: 55px;        /* Cambia este valor para hacerlo más grande o pequeño */
    width: auto;         /* Mantiene la proporción original */
    display: block;
}

/* 3. Ajuste de Layout (Opcional): 
   Asegura que el logo y el widget de Trustpilot convivan bien */
.ii-main-footer .container {
    position: relative;
    
}

/* Si quieres que el logo de Trustpilot se mantenga a la derecha mientras el logo ii está a la izquierda */
.tp-widget-vertical {
    position: absolute;
    top: -40px;
    right: 15px;
    text-align: right;
}



@media (max-width: 1200px) {
    .container {
        padding: 0 40px;
    }

    .hero-layout {
        margin-left: 40px;
        gap: 20px;
    }

    .megamenu-container {
        grid-template-columns: repeat(3, 1fr);
    }

    .cashback-content {
        flex-direction: column;
        text-align: center;
    }

    .cashback-image {
        flex: unset;
    }
}


@media (max-width: 992px) {
    .header-flex {
        flex-direction: column;
        gap: 15px;
    }

    .main-menu ul {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-layout {
        flex-direction: column;
        margin-left: 0;
        text-align: center;
    }

    .hero-text {
        margin-top: 0;
    }

    .hero-mask {
        height: 400px;
        border-radius: 40px;
    }

    .info-bar {
        margin-top: 0;
        padding: 100px 20px;
    }

    .goals-grid,
    .products-grid {
        overflow-x: auto;
    }

    .goal-card,
    .product-card {
        min-width: 260px;
    }

    .managed-flex {
        flex-direction: column;
    }

    .transfer-flex {
        flex-direction: column;
    }

    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


@media (max-width: 768px) {
    .container {
        padding: 0 20px;
    }

    .top-nav {
        width: 100%;
        border-radius: 0;
        text-align: center;
    }

    .top-links {
        justify-content: center;
        flex-wrap: wrap;
    }

    .logo img {
        height: 45px;
    }

    .main-menu ul {
        display: none; /* ideal para luego meter menú hamburguesa */
    }

    .hero-text h1 {
        font-size: 28px;
    }

    .hero-text p {
        font-size: 16px;
    }

    .hero-btns {
        flex-direction: column;
    }

    .cashback-banner {
        padding: 30px 20px;
    }

    .cashback-circle {
        width: 200px;
        height: 200px;
        border-width: 10px;
    }

    .cashback-circle .amount {
        font-size: 28px;
    }

    .cashback-text h2 {
        font-size: 24px;
        margin-top: 0;
    }

    .why-ii-grid {
        flex-direction: column;
        gap: 20px;
    }

    .why-ii-card {
        padding: 30px 20px;
        top: 150px;
    }

    .transfer-banner {
        padding: 20px;
        border-radius: 20px;
    }

    .transfer-content h2 {
        font-size: 24px;
    }

    .ii-banner-wrapper {
        flex-direction: column;
    }

    .ii-text-content {
        padding: 30px 20px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 20px;
    }
}


@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 22px;
    }

    .btn-primary,
    .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .cashback-circle {
        width: 160px;
        height: 160px;
    }

    .cashback-circle .amount {
        font-size: 22px;
    }

    .goal-card,
    .product-card {
        min-width: 220px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }

    .ii-cta-title {
        font-size: 26px;
    }
}