/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* HTML & Body */
html {
  font-size: 16px;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  scroll-behavior: smooth;
  line-height: 1.5;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Open Sans", "Helvetica Neue", sans-serif;
  color: #333;
  background-color: #fff;
  min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0.5rem;
  font-weight: 600;
  line-height: 1.2;
}

p {
  margin-top: 0;
  margin-bottom: 1rem;
}

a {
  color: #0066cc;
  text-decoration: none;
  background-color: transparent;
}

a:hover {
  color: #004080;
  text-decoration: underline;
}

/* Lists */
ul, ol {
  margin-top: 0;
  margin-bottom: 1rem;
  padding-left: 2rem;
}

li {
  margin-bottom: 0.5rem;
}

/* Form elements */
button,
input,
optgroup,
select,
textarea {
  font-family: inherit;
  font-size: 100%;
  line-height: 1.15;
  margin: 0;
}

button,
input {
  overflow: visible;
}

button,
select {
  text-transform: none;
}

button,
[type="button"],
[type="reset"],
[type="submit"] {
  -webkit-appearance: button;
  appearance: button;
}

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
  border-style: none;
  padding: 0;
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  vertical-align: middle;
  border-style: none;
}

/* Tables */
table {
  border-collapse: collapse;
  width: 100%;
}

th {
  text-align: left;
  font-weight: 600;
}

th, td {
  padding: 0.5rem;
}

/* Misc elements */
hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  border: 0;
  border-top: 1px solid #eee;
  margin: 1rem 0;
}

code, kbd, pre, samp {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
  font-size: 0.9em;
}

pre {
  overflow: auto;
  padding: 1rem;
  margin-bottom: 1rem;
  background-color: #f8f8f8;
  border-radius: 4px;
}

blockquote {
  margin: 0 0 1rem;
  padding: 0.5rem 1rem;
  border-left: 4px solid #eee;
}

/* Focus styles */
:focus-visible {
  outline: 3px solid rgba(0, 102, 204, 0.5);
  outline-offset: 1px;
}

/* Header styles */
/* Base Styles */
  :root {
    --primary-color: #2A5C8B;
    --secondary-color: #1A3E5F;
    --accent-color: #E6A831;
    --text-color: #333333;
    --light-text: #FFFFFF;
    --background-color: #FFFFFF;
    --light-gray: #F5F7FA;
    --medium-gray: #E1E5EB;
    --dark-gray: #6B7280;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
  }

  /* Reset */
  * {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
  }

  /* Header Styles */
  .investment-header {
    position: sticky;
    top: 0;
    width: 100%;
    background-color: var(--background-color);
    box-shadow: var(--shadow);
    z-index: 100;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    height: 80px;
  }

  /* Logo Styles */
  .logo-area {
    display: flex;
    align-items: center;
  }

  .logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: var(--primary-color);
  }

  .logo-icon {
    margin-right: 0.5rem;
  }

  .logo-text {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    letter-spacing: -0.5px;
  }

  /* Desktop Navigation */
  .desktop-nav {
    display: flex;
  }

  .nav-list {
    display: flex;
    list-style: none;
    gap: 2rem;
  }

  .nav-item {
    position: relative;
  }

  .nav-link {
    font-family: 'Roboto', sans-serif;
    text-decoration: none;
    color: var(--text-color);
    font-size: 1rem;
    font-weight: 500;
    transition: var(--transition);
    padding: 0.5rem 0;
  }

  .nav-link:hover {
    color: var(--primary-color);
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-color);
    transition: var(--transition);
  }

  .nav-link:hover::after {
    width: 100%;
  }

  /* CTA Button */
  .cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
  }

  .cta-button:hover {
    background-color: #D49A2B;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
  }

  /* Mobile Toggle */
  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
  }

  .bar {
    display: block;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
  }

  /* Mobile Menu */
  .mobile-menu {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-color);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
    z-index: 1000;
    overflow-y: auto;
    display: none;
  }

  .mobile-menu.active {
    transform: translateX(0);
  }

  .close-menu {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 30px;
  }

  .close-icon {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
  }

  .close-icon::before,
  .close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 3px;
    background-color: var(--primary-color);
    border-radius: 2px;
  }

  .close-icon::before {
    transform: rotate(45deg);
  }

  .close-icon::after {
    transform: rotate(-45deg);
  }

  .mobile-menu-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 5rem 2rem;
    height: 100%;
  }

  .mobile-logo {
    margin-bottom: 3rem;
  }

  .mobile-nav-list {
    list-style: none;
    text-align: center;
  }

  .mobile-nav-item {
    margin-bottom: 1.5rem;
  }

  .mobile-nav-link {
    font-family: 'Roboto', sans-serif;
    font-size: 1.25rem;
    font-weight: 500;
    color: var(--text-color);
    text-decoration: none;
    transition: var(--transition);
  }

  .mobile-nav-link:hover {
    color: var(--primary-color);
  }

  .mobile-cta {
    margin-top: 2rem;
  }

  .mobile-cta-button {
    display: inline-block;
    background-color: var(--accent-color);
    color: var(--light-text);
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 4px;
    transition: var(--transition);
  }

  /* Responsive Styles */
  @media (max-width: 1024px) {
    .nav-list {
      gap: 1.5rem;
    }
  }

  @media (max-width: 768px) {
    .desktop-nav,
    .cta-container {
      display: none;
    }

    .mobile-toggle {
      display: block;
    }

    .mobile-menu {
      display: block;
    }

    .header-container {
      padding: 1rem;
      height: 70px;
    }

    .logo-text {
      font-size: 1.25rem;
    }
  }

/* Footer styles */
/* Base Footer Styles */
    .footer-container {
        width: 100%;
        background: linear-gradient(135deg, #1a2942 0%, #121e33 100%);
        color: #e0e0e0;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
        border-top: 3px solid #ffc107;
    }
    
    /* Main Footer Section */
    .footer-main {
        display: grid;
        grid-template-columns: repeat(4, 1fr);
        gap: 2rem;
        padding: 4rem 5% 3rem;
        max-width: 1400px;
        margin: 0 auto;
    }
    
    /* Section Styling */
    .footer-section {
        padding-right: 1.5rem;
    }
    
    .footer-section h3 {
        color: #ffc107;
        font-size: 1.25rem;
        margin-bottom: 1.5rem;
        font-weight: 600;
        position: relative;
        padding-bottom: 0.75rem;
    }
    
    .footer-section h3::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 2px;
        background-color: #ffc107;
    }
    
    /* About Section */
    .footer-about p {
        line-height: 1.6;
        margin-bottom: 1.5rem;
        font-size: 0.95rem;
    }
    
    .footer-contact-info p {
        margin: 0.5rem 0;
        display: flex;
        align-items: center;
        font-size: 0.9rem;
    }
    
    .footer-contact-info i {
        margin-right: 10px;
        color: #ffc107;
        width: 16px;
        text-align: center;
    }
    
    /* Navigation Lists */
    .footer-nav-list,
    .footer-resource-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }
    
    .footer-nav-list li,
    .footer-resource-list li {
        margin-bottom: 0.75rem;
    }
    
    .footer-link {
        color: #e0e0e0;
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.3s ease, transform 0.2s ease;
        display: inline-block;
        position: relative;
    }
    
    .footer-link:hover {
        color: #ffc107;
        transform: translateX(3px);
    }
    
    .footer-link::before {
        content: '›';
        margin-right: 5px;
        color: #ffc107;
        opacity: 0;
        transition: opacity 0.3s ease;
    }
    
    .footer-link:hover::before {
        opacity: 1;
    }
    
    /* Newsletter Section */
    .footer-newsletter p {
        margin-bottom: 1.25rem;
        line-height: 1.5;
        font-size: 0.95rem;
    }
    
    .footer-form-group {
        display: flex;
        margin-bottom: 0.75rem;
    }
    
    .footer-input {
        flex: 1;
        padding: 0.75rem 1rem;
        border: none;
        border-radius: 4px 0 0 4px;
        font-size: 0.9rem;
        background-color: rgba(255, 255, 255, 0.9);
    }
    
    .footer-button {
        padding: 0.75rem 1.25rem;
        background-color: #ffc107;
        color: #1a2942;
        border: none;
        border-radius: 0 4px 4px 0;
        font-weight: 600;
        cursor: pointer;
        transition: background-color 0.3s ease;
    }
    
    .footer-button:hover {
        background-color: #ffca2c;
    }
    
    .footer-form-disclaimer {
        font-size: 0.8rem;
        color: #b0b0b0;
    }
    
    /* Social Media Section */
    .footer-social {
        text-align: center;
        padding: 2rem 0;
        background-color: rgba(0, 0, 0, 0.15);
    }
    
    .footer-social h3 {
        color: #ffc107;
        font-size: 1.25rem;
        margin-bottom: 1rem;
        font-weight: 600;
    }
    
    .footer-social-icons {
        display: flex;
        justify-content: center;
        gap: 1.5rem;
    }
    
    .footer-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 40px;
        height: 40px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: #e0e0e0;
        transition: all 0.3s ease;
    }
    
    .footer-social-link:hover {
        background-color: #ffc107;
        color: #1a2942;
        transform: translateY(-3px);
    }
    
    .footer-social-link i {
        font-size: 1.2rem;
    }
    
    /* Bottom Section */
    .footer-bottom {
        background-color: rgba(0, 0, 0, 0.25);
        padding: 2rem 5%;
        text-align: center;
    }
    
    .footer-legal {
        margin-bottom: 1.5rem;
        display: flex;
        justify-content: center;
        flex-wrap: wrap;
        gap: 2rem;
    }
    
    .footer-legal-link {
        color: #b0b0b0;
        text-decoration: none;
        font-size: 0.9rem;
        transition: color 0.3s ease;
    }
    
    .footer-legal-link:hover {
        color: #ffc107;
    }
    
    .footer-copyright {
        color: #b0b0b0;
        font-size: 0.85rem;
    }
    
    .footer-disclaimer {
        max-width: 800px;
        margin: 1rem auto 0;
        font-size: 0.8rem;
        line-height: 1.5;
        color: #909090;
    }
    
    /* Responsive Styles */
    @media (max-width: 1024px) {
        .footer-main {
            grid-template-columns: repeat(2, 1fr);
            gap: 2rem 1.5rem;
        }
    }
    
    @media (max-width: 768px) {
        .footer-main {
            grid-template-columns: 1fr;
            gap: 2.5rem;
            padding: 3rem 5%;
        }
        
        .footer-section {
            padding-right: 0;
        }
        
        .footer-legal {
            flex-direction: column;
            gap: 1rem;
        }
        
        .footer-social-icons {
            gap: 1rem;
        }
    }
    
    @media (max-width: 480px) {
        .footer-form-group {
            flex-direction: column;
        }
        
        .footer-input {
            border-radius: 4px;
            margin-bottom: 0.75rem;
        }
        
        .footer-button {
            border-radius: 4px;
            width: 100%;
        }
    }

/* Cookie Banner styles */
.banner-consentimiento-cookies {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(28, 35, 49, 0.95);
    color: #ffffff;
    z-index: 9999;
    box-shadow: 0 -4px 10px rgba(0, 0, 0, 0.2);
    font-family: 'Arial', sans-serif;
  }

  .contenedor-aviso {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
  }

  .mensaje-cookies {
    margin: 0 0 15px 0;
    line-height: 1.5;
    font-size: 14px;
  }

  .mensaje-cookies a {
    color: #ffc857;
    text-decoration: underline;
  }

  .opciones-cookies {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
  }

  .boton-rechazar, .boton-aceptar {
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
  }

  .boton-rechazar {
    background-color: #6c757d;
    color: #ffffff;
  }

  .boton-rechazar:hover {
    background-color: #5a6268;
  }

  .boton-aceptar {
    background-color: #0056b3;
    color: #ffffff;
  }

  .boton-aceptar:hover {
    background-color: #004494;
  }

  @media (max-width: 768px) {
    .contenedor-aviso {
      padding: 15px;
    }
    
    .opciones-cookies {
      flex-direction: column;
      gap: 10px;
    }
    
    .boton-rechazar, .boton-aceptar {
      width: 100%;
    }
  }

  @media (min-width: 769px) {
    .contenedor-aviso {
      flex-direction: row;
      align-items: center;
      justify-content: space-between;
    }
    
    .mensaje-cookies {
      margin: 0;
      max-width: 70%;
    }
    
    .opciones-cookies {
      min-width: 200px;
    }
  }