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

body {
    font-family: 'IBM Plex Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', 'Open Sans', 'Helvetica Neue', sans-serif;
    line-height: 1.6;
    color: #101010;
    background-color: #ffffff;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: #ffffff;
    border-bottom: 1px solid #a4a4a4;
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

.header-left {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.logo {
    height: 45px;
    width: auto;
}
/* nav panel */
.nav {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}
.nav a {
    color: #101010;
    text-decoration: none;
}

.nav-item {
    font-size: 14px;
    font-weight: 400;
    color: #101010;
    cursor: pointer;
    padding: 0.5rem 0;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    transition: color 0.15s ease;
}

.nav-item:hover {
    color: #204080;
}

/* Dropdown */
.dropdown {
  float: left;
  overflow: hidden;
}

.dropdown .dropbtn {
  color: #101010;
  background-color: inherit;
  font-family: inherit; /* Important for vertical align on mobile phones */
  margin: 0; /* Important for vertical align on mobile phones */
}

.dropdown-icon {
    fill: currentColor;
    width: 12px;
    height: 6px;
}
.dropdown-content {
    fill: currentColor;
    display: none;
    position: absolute;
    background-color: #ffffff;
    z-index: 1;
}
.dropdown-content a {
  float: none;
  color: #101010;
  text-decoration: none;
  display: block;
}
/* Show the dropdown menu on hover */
.dropdown-icon:hover .dropdown-content {
  display: block;
}


.header-right {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.icon-btn {
    background: none;
    border: none;
    padding: 0.5rem;
    cursor: pointer;
    color: #101010;
    border-radius: 4px;
    transition: background-color 0.15s ease;
}

.icon-btn:hover {
    background-color: #f4f4f4;
}

/* Hero Banner */
.hero-banner {
    background: linear-gradient(135deg, #e8ebf2 0%, #d2d8e5 100%);
    padding: 1rem 0;
}

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

.hero-content h2 {
    font-size: 1.125rem;
    font-weight: 600;
    color: #101010;
    margin: 0;
}

.hero-content p {
    font-size: 0.875rem;
    color: #525252;
    margin: 0;
    flex: 1;
    margin-left: 1rem;
}

.arrow-icon {
    color: #204080;
    flex-shrink: 0;
}

/* AI ROI Section */
.ai-roi-section {
    position: relative;
    padding: 4rem 0;
    background: linear-gradient(135deg, #204080 0%, #6892e6 50%, #302080 100%);
    color: white;
    overflow: hidden;
}

.main-heading {
    font-size: 3.5rem;
    font-weight: 300;
    line-height: 1.125;
    margin-bottom: 1.5rem;
    max-width: 800px;
}

.main-subtext {
    font-size: 1.25rem;
    font-weight: 400;
    margin-bottom: 2rem;
    max-width: 600px;
    line-height: 1.5;
}

.cta-button {
    background: #204080;
    color: white;
    border: none;
    padding: 0.875rem 1.5rem;
    font-size: 1rem;
    font-weight: 400;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.cta-button:hover {
    background: #204080;
}

.multilingual-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.bg-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    font-weight: 300;
    opacity: 0.1;
    white-space: nowrap;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.bg-text span {
    color: white;
    font-size: clamp(2rem, 4vw, 4rem);
}

.ai-roi-section .container {
    position: relative;
    z-index: 1;
}

/* News Section */
.news-section {
    padding: 3rem 0;
    background: #ffffff;
}

.section-title {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 2rem;
    color: #101010;
}

.news-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.news-item h3 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
}

.news-item a {
    color: #204080;
    text-decoration: none;
    transition: color 0.15s ease;
}

.news-item a:hover {
    color: #204080;
    text-decoration: underline;
}

/* Recommendations Section */
.recommendations-section {
    padding: 3rem 0;
    background: #f4f4f4;
}

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

.recommendation-card {
    background: white;
    border: 1px solid #e0e0e0;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.recommendation-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.card-icon {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.card-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-content {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.card-category {
    font-size: 0.75rem;
    font-weight: 400;
    color: #525252;
    text-transform: uppercase;
    letter-spacing: 0.16px;
    margin-bottom: 0.5rem;
}

.card-content h3 {
    font-size: 1rem;
    font-weight: 400;
    line-height: 1.5;
    color: #101010;
    margin-bottom: 1rem;
    flex: 1;
}

.arrow {
    color: #204080;
    align-self: flex-end;
}

/* Contact Section */
.contact-section {
    padding: 2rem 0;
    background: #f4f4f4;
    border-top: 1px solid #e0e0e0;
}

.contact-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.contact-content h2 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #101010;
    margin: 0;
}

.contact-content p {
    font-size: 1rem;
    color: #525252;
    margin: 0;
    flex: 1;
    margin-left: 1rem;
}

.contact-content .arrow {
    color: #204080;
    width: 24px;
    height: 24px;
}

/* Insights Section */
.insights-section {
    padding: 4rem 0;
    background: #ffffff;
}

.insights-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.insights-column h3 {
    font-size: 1.75rem;
    font-weight: 400;
    color: #101010;
    margin-bottom: 1.5rem;
}

.insights-column p {
    font-size: 1rem;
    color: #525252;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.insights-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.insights-links a {
    color: #204080;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.15s ease;
}

.insights-links a:hover {
    color: #204080;
    text-decoration: underline;
}

/* Technology Section */
.technology-section {
    padding: 4rem 0;
    background: #f4f4f4;
}

.section-intro {
    font-size: 1.125rem;
    line-height: 1.6;
    color: #525252;
    margin-bottom: 3rem;
    max-width: 800px;
}

.section-intro a {
    color: #204080;
    text-decoration: none;
}

.section-intro a:hover {
    text-decoration: underline;
}

.technology-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1px;
    background: #e0e0e0;
}

.tech-card {
    background: white;
    padding: 2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
}

.tech-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.15);
    transform: translateY(-2px);
}

.tech-icon {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.tech-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.tech-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #101010;
    margin: 0;
}

.tech-card p {
    font-size: 1rem;
    color: #525252;
    line-height: 1.5;
    flex: 1;
    margin: 0;
}

.tech-card .arrow {
    color: #204080;
    align-self: flex-end;
}

/* About Section */
.about-section {
    padding: 4rem 0;
    background: #ffffff;
}

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

.about-column h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #101010;
    margin-bottom: 1rem;
}

.about-column p {
    font-size: 1rem;
    color: #525252;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.about-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.about-links a {
    color: #204080;
    text-decoration: none;
    font-size: 1rem;
    transition: color 0.15s ease;
}

.about-links a:hover {
    color: #204080;
    text-decoration: underline;
}

/* Footer */
.footer {
    background: #101010;
    color: #ffffff;
    padding: 3rem 0 1.5rem;
}

.footer-logo {
    margin-bottom: 2rem;
}

.footer-logo-img {
    height: 32px;
    width: auto;
    filter: invert(1);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-column h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 1rem;
}

.footer-column ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-column a {
    color: #c6c6c6;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-bottom {
    border-top: 1px solid #313131;
    padding-top: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.footer-bottom-links a {
    color: #c6c6c6;
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.15s ease;
}

.footer-bottom-links a:hover {
    color: #ffffff;
}

.footer-country {
    color: #c6c6c6;
    font-size: 0.875rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .header-container {
        padding: 0 1rem;
    }

    .nav {
        display: none;
    }

    .main-heading {
        font-size: 2.5rem;
    }

    .recommendations-grid {
        grid-template-columns: 1fr;
    }

    .technology-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact-content {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .contact-content p {
        margin-left: 0;
        margin-top: 0.5rem;
    }

    .main-heading {
        font-size: 2rem;
    }

    .insights-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .footer-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 0.75rem;
    }

    .header-container {
        padding: 0 0.75rem;
    }

    .main-heading {
        font-size: 1.75rem;
    }

    .tech-card,
    .recommendation-card {
        padding: 1rem;
    }

    .bg-text span {
        font-size: 2rem;
    }
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: none;
}

.mobile-menu {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e0e0e0;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 999;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.mobile-menu.active {
    display: block;
}

.mobile-menu-content {
    padding: 1rem 0;
}

.mobile-nav-item {
    padding: 0.75rem 1rem;
    font-size: 1rem;
    color: #101010;
    border-bottom: 1px solid #f4f4f4;
    cursor: pointer;
    transition: background-color 0.15s ease;
}

.mobile-nav-item:hover {
    background-color: #f4f4f4;
}

.mobile-nav-item:last-child {
    border-bottom: none;
}

.desktop-only {
    display: flex;
}

/* Enhanced Mobile Responsiveness */
@media (max-width: 1024px) {
    .mobile-menu-toggle {
        display: flex;
    }

    .desktop-only {
        display: none;
    }
}

/* new header/

/* Accesibilidad y estados */
.dropbtn[aria-expanded="true"] .dropdown-icon { transform: rotate(180deg); }
.dropdown-icon { transition: transform .2s ease; }

/* Dropdown por defecto oculto, visible con clase .open o focus/hover */
.dropdown .dropdown-content { display: none; position: absolute; z-index: 20; }
.dropdown.open .dropdown-content { display: block; }

/* Menú móvil visible con clase .open */
.mobile-menu[hidden] { display: none !important; }
.mobile-menu.open { display: block !important; }

/* Header sticky con sombra al hacer scroll */
.header.is-stuck { box-shadow: 0 6px 20px rgba(0,0,0,.08); }

/* Mejora foco teclado */
.nav a:focus, .dropbtn:focus, .dropdown-content a:focus, .dropdown-content button:focus {
  outline: 2px solid #4da3ff; outline-offset: 2px;
}
/* Botón de dropdown con look limpio */
.dropbtn {
  background: transparent;
  border: 0;
  padding: 8px 10px;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
}

/* Icono con animación */
.dropdown-icon { transition: transform .2s ease; }
.dropbtn[aria-expanded="true"] .dropdown-icon { transform: rotate(180deg); }

/* Contenedor dropdown (por si faltaba) */
.nav-item.dropdown { position: relative; }
.dropdown .dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  color: #111;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 8px;
  display: none;
  z-index: 20;
}

/* Hover fallback (funciona incluso sin JS) */
.dropdown:hover .dropdown-content { display: block; }

/* Estado abierto vía JS */
.dropdown.open .dropdown-content { display: block; }

/* Accesibilidad foco */
.dropdown-content a,
.dropdown-content button {
  display: block;
  padding: 8px 10px;
  border-radius: 8px;
}
.dropdown-content a:hover,
.dropdown-content button:hover,
.dropdown-content a:focus,
.dropdown-content button:focus {
  background: #f3f4f6;
  outline: 2px solid #4da3ff;
  outline-offset: 2px;
}

/* Posicionamiento y stacking */
.header { position: sticky; top: 0; z-index: 1000; }
.header, .header * { overflow: visible; }      /* evita que el menú se corte */
.nav { overflow: visible; }

.nav-item.dropdown { position: relative; }

/* Panel */
.dropdown .dropdown-content {
  position: absolute;
  top: calc(100% + 8px);
  left: 0;
  min-width: 220px;
  background: #fff;
  color: #111;
  border: 1px solid #e5e7eb;
  border-radius: 10px;
  box-shadow: 0 10px 30px rgba(0,0,0,.12);
  padding: 8px;
  display: none;
  z-index: 2000;                 /* por encima del header */
}

/* Fallback por hover (funciona sin JS) */
.nav-item.dropdown:hover .dropdown-content { display: block; }

/* Estado abierto por JS (click/touch) */
.nav-item.dropdown.open .dropdown-content { display: block; }

/* Botón limpio (que no parezca <select>) */
.dropbtn {
  background: transparent;
  border: 0;
  padding: 8px 10px;
  font: inherit;
  color: inherit;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  line-height: 1;
}
.dropdown-icon { transition: transform .2s ease; }
.dropbtn[aria-expanded="true"] .dropdown-icon { transform: rotate(180deg); }

/* El panel no debe tener hueco respecto al botón */
.nav-item.dropdown { position: relative; }

/* Panel */
.dropdown .dropdown-content{
  position: absolute;
  top: 100%;                 /* pegado al botón */
  left: 0;
  margin-top: 8px;           /* espacio visual SIN crear gap real gracias al ::before */
  min-width: 240px;
  background: #fff;
  color: #111;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  box-shadow: 0 12px 30px rgba(0,0,0,.12);
  padding: 8px;
  display: none;
  z-index: 2000;
}

/* “Puente” invisible para que no se cierre cuando pasas del botón al panel */
.dropdown .dropdown-content::before{
  content: "";
  position: absolute;
  top: -10px;                /* cubre el hueco */
  left: 0;
  right: 0;
  height: 10px;
}

/* Estados de apertura */
.nav-item.dropdown.open .dropdown-content{ display:block; }
/* (si quieres mantener también hover como fallback) */
/* .nav-item.dropdown:hover .dropdown-content{ display:block; } */

.dropbtn {
  background: transparent; border: 0; padding: 10px 12px;
  font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; appearance: none; -webkit-appearance: none;
}
.dropdown-icon{ transition: transform .2s ease; }
.dropbtn[aria-expanded="true"] .dropdown-icon{ transform: rotate(180deg); }

/* Items del panel */
.dropdown-content a, .dropdown-content button{
  display:block; padding:10px 12px; border-radius:8px; text-align:left;
}
.dropdown-content a:hover,
.dropdown-content button:hover,
.dropdown-content a:focus,
.dropdown-content button:focus{
  background:#f3f4f6; outline:2px solid #4da3ff; outline-offset:2px;
}

/* Asegurar stacking y evitar recortes */
.header { position: sticky; top: 0; z-index: 1000; }
.header, .nav { overflow: visible; }

/* CONTEXTO: el header tiene fondo claro (#fff) y borde inferior */
:root{
  --header-bg: #ffffff;
  --header-border: #e6e8ee;
  --submenu-text: #111;
}

/* Asegura stacking y sin recortes */
.header { position: sticky; top: 0; z-index: 1000; background: var(--header-bg); }
.header, .nav { overflow: visible; }

.nav-item.dropdown { position: relative; }

/* Botón limpio */
.dropbtn {
  background: transparent; border: 0; padding: 12px 14px;
  font: inherit; color: inherit; display: inline-flex; align-items: center; gap: 6px;
  cursor: pointer; appearance: none; -webkit-appearance: none;
  border-bottom: 2px solid transparent;
}
.dropbtn:focus { outline: 2px solid #4da3ff; outline-offset: 2px; }
.dropbtn[aria-expanded="true"] { border-bottom-color: #4da3ff; } /* subrayado activo */
.dropdown-icon { transition: transform .2s ease; }
.dropbtn[aria-expanded="true"] .dropdown-icon { transform: rotate(180deg); }

/* ===== Dropdown “integrado” ===== */
.dropdown .dropdown-content{
  position: absolute;
  top: calc(100% - 1px);     /* pega al borde del header */
  left: 0;
  min-width: 260px;          /* ajusta según tu tipografía */
  background: var(--header-bg);
  color: var(--submenu-text);

  /* sin “ventana”: */
  border: 0;
  border-top: 1px solid var(--header-border);
  border-radius: 0;
  box-shadow: none;

  padding: 10px 0;
  display: none;
  z-index: 2000;
}

/* “puente” anti-gap entre botón y panel */
.dropdown .dropdown-content::before{
  content:""; position:absolute;
  top: -8px; left: 0; right: 0; height: 8px;
}

/* Items */
.dropdown-content a, .dropdown-content button{
  display:block; padding: 10px 16px;
  color: inherit; text-decoration: none; border-radius: 0;
}
.dropdown-content a:hover,
.dropdown-content button:hover{
  background: #f5f6fa;
}

/* Estado abierto por JS */
.nav-item.dropdown.open .dropdown-content { display:block; }

/* (Opcional) hover como fallback si el JS no carga */
/* .nav-item.dropdown:hover .dropdown-content { display:block; } *
