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

html {
  font-family: sans-serif;
  line-height: 1.15;
  -webkit-text-size-adjust: 100%;
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #212529;
  background-color: #fff;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
  display: block;
}

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

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

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

ol ol, ul ul, ol ul, ul ol {
  margin-bottom: 0;
}

a {
  color: #007bff;
  text-decoration: none;
  background-color: transparent;
}

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

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

table {
  border-collapse: collapse;
}

button {
  border-radius: 0;
  margin: 0;
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
  text-transform: none;
  overflow: visible;
}

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

button, input {
  overflow: visible;
}

button, select {
  text-transform: none;
}

button, [type="button"], [type="reset"], [type="submit"] {
  -webkit-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;
}

fieldset {
  min-width: 0;
  padding: 0;
  margin: 0;
  border: 0;
}

textarea {
  overflow: auto;
  resize: vertical;
}

hr {
  box-sizing: content-box;
  height: 0;
  overflow: visible;
  margin-top: 1rem;
  margin-bottom: 1rem;
  border: 0;
  border-top: 1px solid rgba(0, 0, 0, 0.1);
}

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

pre {
  margin-top: 0;
  margin-bottom: 1rem;
  overflow: auto;
}

blockquote {
  margin: 0 0 1rem;
}

abbr[title] {
  text-decoration: underline;
  text-decoration: underline dotted;
  cursor: help;
  border-bottom: 0;
  text-decoration-skip-ink: none;
}

address {
  margin-bottom: 1rem;
  font-style: normal;
  line-height: inherit;
}

[hidden] {
  display: none !important;
}

/* Header styles */
/* Base Styles */
  .investment-header {
    width: 100%;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    font-family: 'Montserrat', sans-serif;
  }

  .header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto;
    padding: 15px 20px;
  }

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

  .logo-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #003366;
  }

  .logo-symbol {
    font-size: 18px;
    background-color: #00a86b;
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 8px;
  }

  .logo-text {
    font-size: 18px;
    font-weight: 700;
    letter-spacing: 0.5px;
  }

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

  .nav-list {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
  }

  .nav-item {
    margin: 0 12px;
  }

  .nav-link {
    text-decoration: none;
    color: #333;
    font-size: 15px;
    font-weight: 500;
    padding: 8px 5px;
    position: relative;
    transition: color 0.3s ease;
  }

  .nav-link:hover {
    color: #00a86b;
  }

  .nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #00a86b;
    transition: width 0.3s ease;
  }

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

  /* CTA Button */
  .cta-button {
    background-color: #00a86b;
    color: white;
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    transition: background-color 0.3s ease;
    font-size: 14px;
  }

  .cta-button:hover {
    background-color: #008c5a;
  }

  /* Mobile Toggle Button */
  .mobile-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 24px;
  }

  .toggle-line {
    display: block;
    width: 100%;
    height: 2px;
    background-color: #003366;
    transition: all 0.3s ease;
  }

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

  .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: inline-block;
    width: 100%;
    height: 100%;
  }

  .close-icon::before,
  .close-icon::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #003366;
  }

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

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

  .mobile-logo {
    display: flex;
    align-items: center;
    margin: 30px 0;
  }

  .mobile-nav-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
  }

  .mobile-nav-item {
    margin: 15px 0;
  }

  .mobile-nav-link {
    text-decoration: none;
    color: #333;
    font-size: 18px;
    font-weight: 500;
    display: block;
    padding: 10px 0;
  }

  .mobile-cta {
    margin-top: 30px;
  }

  .mobile-cta-button {
    display: inline-block;
    background-color: #00a86b;
    color: white;
    padding: 12px 24px;
    border-radius: 4px;
    font-weight: 600;
    text-decoration: none;
    font-size: 16px;
    text-align: center;
  }

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

    .mobile-toggle {
      display: flex;
    }

    .header-container {
      padding: 15px;
    }
  }

  @media (min-width: 769px) {
    .mobile-menu {
      display: none;
    }
  }

/* Footer styles */
/* Base Footer Styles */
    .footer-container {
        width: 100%;
        background: linear-gradient(135deg, #1a2a3a 0%, #0d1c2a 100%);
        color: #e6e6e6;
        font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
    }

    /* Main Footer Section */
    .footer-main {
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        max-width: 1200px;
        margin: 0 auto;
        padding: 3.5rem 1.5rem 2rem;
    }

    /* Footer Sections */
    .footer-section {
        flex: 1 1 250px;
        margin-bottom: 2rem;
        padding-right: 2rem;
    }

    /* Footer Headings */
    .footer-heading {
        color: #ffffff;
        font-size: 1.25rem;
        font-weight: 600;
        margin-bottom: 1.25rem;
        position: relative;
        padding-bottom: 0.75rem;
    }

    .footer-heading::after {
        content: '';
        position: absolute;
        left: 0;
        bottom: 0;
        width: 40px;
        height: 3px;
        background-color: #4d92d3;
    }

    /* Footer Text */
    .footer-text {
        font-size: 0.95rem;
        line-height: 1.6;
        margin-bottom: 1.25rem;
        color: #bcc9d4;
    }

    /* Contact Information */
    .footer-contact-info {
        margin-top: 1.5rem;
    }

    .footer-contact-item {
        display: flex;
        align-items: center;
        margin-bottom: 0.75rem;
        font-size: 0.95rem;
        color: #bcc9d4;
    }

    .footer-contact-item i {
        margin-right: 0.75rem;
        color: #4d92d3;
        width: 16px;
        text-align: center;
    }

    /* Navigation Lists */
    .footer-nav-list,
    .footer-resource-list {
        list-style: none;
        padding: 0;
        margin: 0;
    }

    .footer-nav-item,
    .footer-resource-item {
        margin-bottom: 0.75rem;
    }

    .footer-link {
        color: #bcc9d4;
        text-decoration: none;
        font-size: 0.95rem;
        transition: color 0.2s ease, transform 0.2s ease;
        display: inline-block;
        position: relative;
    }

    .footer-link:hover {
        color: #ffffff;
        transform: translateX(5px);
    }

    .footer-link::before {
        content: '›';
        position: absolute;
        left: -15px;
        opacity: 0;
        transition: opacity 0.2s ease, left 0.2s ease;
    }

    .footer-link:hover::before {
        opacity: 1;
        left: -10px;
    }

    /* Newsletter Section */
    .footer-newsletter {
        flex: 1.5 1 300px;
    }

    .footer-input-group {
        display: flex;
        margin-bottom: 1.5rem;
    }

    .footer-input {
        flex: 1;
        padding: 0.75rem 1rem;
        border: none;
        border-radius: 4px 0 0 4px;
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        font-size: 0.95rem;
    }

    .footer-input:focus {
        outline: none;
        background-color: rgba(255, 255, 255, 0.15);
    }

    .footer-input::placeholder {
        color: #8c9caa;
    }

    .footer-button {
        padding: 0 1.25rem;
        background-color: #4d92d3;
        color: #ffffff;
        border: none;
        border-radius: 0 4px 4px 0;
        cursor: pointer;
        font-weight: 600;
        transition: background-color 0.2s ease;
    }

    .footer-button:hover {
        background-color: #3a7cb8;
    }

    /* Social Media */
    .footer-social {
        display: flex;
        gap: 1rem;
        margin-top: 1.5rem;
    }

    .footer-social-link {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 36px;
        height: 36px;
        border-radius: 50%;
        background-color: rgba(255, 255, 255, 0.1);
        color: #ffffff;
        text-decoration: none;
        transition: background-color 0.2s ease, transform 0.2s ease;
    }

    .footer-social-link:hover {
        background-color: #4d92d3;
        transform: translateY(-3px);
    }

    /* Bottom Footer */
    .footer-bottom {
        background-color: rgba(0, 0, 0, 0.2);
        padding: 1.5rem;
        text-align: center;
    }

    .footer-legal {
        margin-bottom: 1rem;
    }

    .footer-legal-link {
        color: #bcc9d4;
        text-decoration: none;
        font-size: 0.9rem;
        margin: 0 1rem;
        transition: color 0.2s ease;
    }

    .footer-legal-link:hover {
        color: #ffffff;
        text-decoration: underline;
    }

    .footer-copyright-text {
        font-size: 0.9rem;
        color: #8c9caa;
        margin-bottom: 1rem;
    }

    .footer-disclaimer-text {
        font-size: 0.85rem;
        color: #8c9caa;
        max-width: 800px;
        margin: 0 auto;
        line-height: 1.5;
    }

    /* Responsive Design */
    @media (max-width: 1024px) {
        .footer-main {
            padding: 3rem 2rem 1.5rem;
        }
        
        .footer-section {
            flex: 1 1 200px;
            padding-right: 1.5rem;
        }
    }

    @media (max-width: 768px) {
        .footer-main {
            flex-direction: column;
            padding: 2.5rem 1.5rem 1rem;
        }
        
        .footer-section {
            width: 100%;
            padding-right: 0;
            margin-bottom: 2.5rem;
        }
        
        .footer-legal-link {
            display: block;
            margin: 0.75rem 0;
        }
        
        .footer-bottom {
            padding: 1.5rem 1rem;
        }
    }

    @media (max-width: 480px) {
        .footer-input-group {
            flex-direction: column;
        }
        
        .footer-input {
            border-radius: 4px;
            margin-bottom: 0.75rem;
        }
        
        .footer-button {
            width: 100%;
            padding: 0.75rem;
            border-radius: 4px;
        }
        
        .footer-social {
            justify-content: center;
        }
    }

/* Cookie Banner styles */
.banner-cookies-inversion {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: #f8f9fa;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.1);
    z-index: 9999;
    font-family: 'Arial', sans-serif;
    border-top: 1px solid #e0e0e0;
    display: block;
  }

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

  .mensaje-cookies {
    color: #333;
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 16px;
  }

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

  .contenedor-botones-cookies {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
  }

  .boton-cookies {
    padding: 10px 20px;
    border-radius: 4px;
    font-weight: 500;
    cursor: pointer;
    transition: background-color 0.3s, transform 0.2s;
    border: none;
    font-size: 14px;
  }

  .boton-rechazar {
    background-color: #e0e0e0;
    color: #333;
  }

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

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

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

  @media (max-width: 768px) {
    .contenedor-aviso-cookies {
      padding: 12px 16px;
    }
    
    .contenedor-botones-cookies {
      flex-direction: row;
      justify-content: space-between;
      width: 100%;
    }
    
    .boton-cookies {
      flex: 1;
      text-align: center;
      padding: 10px 12px;
    }
  }

  @media (max-width: 480px) {
    .mensaje-cookies {
      font-size: 13px;
    }
    
    .boton-cookies {
      font-size: 13px;
      padding: 8px 12px;
    }
  }