/* ==========================================================================
   THEME: GOASIA PARTNERS - MINIMALIST EDITORIAL EDITION
   Estilo basado en arquitectura de marca limpia, fondo crema y alto contraste.
   ========================================================================== */
/* ==========================================================================
   THEME: GOASIA PARTNERS - MINIMALIST EDITORIAL EDITION
   Estilo basado en arquitectura de marca limpia, fondo crema y alto contraste.
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    /* Paleta Editorial Minimalista */
    --bg-main: #F5F2EB;          /* Crema cálido de fondo */
    --bg-card: #FFFFFF;          /* Blanco puro para tarjetas */
    --text-dark: #1A1A1A;        /* Negro suave de alta lectura */
    --text-muted: #5A5A5A;       /* Gris medio para subtítulos */
    --accent: #D96B43;           /* Terracotta / Naranja para bordes y acentos */
    --accent-light: rgba(217, 107, 67, 0.08);
    --border-color: #DCD7CE;     /* Borde fino divisorio */
    --dark-box: #111111;         /* Gris casi negro para gráfico / footer */
    --white: #FFFFFF;

    /* UI Variables */
    --radius-sm: 6px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --pill: 50px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   1. RESET Y BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================================================
   2. CABECERA TRANSPARENTE
   ========================================================================== */
.site-header {
    background-color: transparent;
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 215, 206, 0.5);
}

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

.logo h1 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
}

.logo span {
    color: var(--accent);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: var(--accent);
}

/* Botón Contacto en Menú */
.menu-btn {
    border: 1px solid var(--text-dark);
    padding: 8px 20px;
    border-radius: var(--pill);
    color: var(--text-dark) !important;
    font-weight: 500;
}

.menu-btn:hover {
    background-color: var(--text-dark);
    color: var(--white) !important;
}

/* ==========================================================================
   3. SELECTOR DE IDIOMAS ESCRITORIO
   ========================================================================== */
.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-btn {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--pill);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 120px;
    list-style: none;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 9999;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-dark);
    font-size: 13px;
    text-decoration: none;
}

.lang-dropdown li a:hover,
.lang-dropdown li a.active {
    background-color: var(--bg-main);
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================================================
   4. SECCIÓN HERO (ESTILO EDITORIAL 2 COLUMNAS)
   ========================================================================== */
.hero {
    padding: 80px 0 120px 0;
    background-color: var(--bg-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Etiquetas / Badges superiores */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.badge {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--pill);
    font-size: 13px;
    font-weight: 500;
    background-color: var(--accent-light);
}

.hero h2 {
    font-size: 58px;
    line-height: 1.08;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

/* Grupo de botones Hero */
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--b);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    background-color: rgba(0, 0, 0, 0.03);
}

/* Caja oscura derecha (Gráfico/Código en la referencia) */
.hero-graphic {
    background-color: var(--dark-box);
    height: 440px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    font-family: monospace;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   5. SECCIÓN STATS
   ========================================================================== */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.stat-item {
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   6. SECCIÓN COMPAÑÍA & ABOUT
   ========================================================================== */
.about-intro {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-badge {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.about-intro h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-intro p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.about-graphic {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    height: 400px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   7. SECCIÓN SERVICIOS
   ========================================================================== */
.services {
    padding: 120px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.section-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 45px 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-dark);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 2px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   8. FOOTER MINIMALISTA
   ========================================================================== */
.site-footer {
    background-color: var(--dark-box);
    color: #888888;
    padding: 80px 0 40px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #888888;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   9. CORRECCIÓN RESPONSIVE COMPLETA PARA MÓVILES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        width: 88% !important;
    }

    /* Header & Navegación Móvil */
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: 6px 0;
        font-size: 16px;
    }

    .menu-btn {
        margin-top: 10px;
        display: inline-block;
    }

    /* Selector Idioma Móvil en Píldoras */
    .lang-switcher {
        width: 100%;
        margin-top: 10px;
    }

    .lang-btn {
        display: none; /* Ocultamos botón desplegable en móvil */
    }

    .lang-dropdown {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .lang-dropdown li a {
        background-color: transparent;
        border: 1px solid var(--border-color);
        border-radius: var(--pill);
        padding: 6px 16px;
        font-size: 12px;
        font-weight: 500;
    }

    .lang-dropdown li a.active,
    .lang-dropdown li a:hover {
        background-color: var(--text-dark);
        color: var(--white);
        border-color: var(--text-dark);
    }

    /* Hero Responsive */
    .hero {
        padding: 40px 0 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h2 {
        font-size: 38px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-graphic {
        height: 300px;
    }

    /* Stats & Grids */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 25px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
.tu-clase-de-seccion {
    background-image: 
    background-size: cover;
    background-position: center;
}
.hero-con-fondo {
    /* Esto asegura que el texto se lea bien sobre la foto */
    position: relative;
    color: white; /* Cambia el color si tu foto es clara */
}

/* Si quieres oscurecer la foto para que el texto resalte */
.hero-con-fondo::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(-5, 2, 0, 0.4); /* Capa oscura al 100% */
    z-index: 1;
}

.hero-con-fondo .container {
    position: relative;
    z-index: 2; /* Pone el texto por encima de la capa oscura */
}
/* ==========================================================================
   THEME: GOASIA PARTNERS - MINIMALIST EDITORIAL EDITION
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #F5F2EB;
    --bg-card: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #5A5A5A;
    --accent: #D96B43;
    --accent-light: rgba(217, 107, 67, 0.08);
    --border-color: #DCD7CE;
    --dark-box: #111111;
    --white: #FFFFFF;
    --radius-sm: 6px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --pill: 50px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-dark); }

.container { width: 90%; max-width: 1280px; margin: 0 auto; }

/* --- CABECERA --- */
.site-header { padding: 30px 0; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(220, 215, 206, 0.5); }
.header-container { display: flex; justify-content: space-between; align-items: center; }

/* --- SECCIÓN HERO CON FONDO (CORREGIDA) --- */
.hero-con-fondo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: var(--white);
}

/* Capa de contraste profesional */
.hero-con-fondo::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-con-fondo .container { position: relative; z-index: 2; }

/* Legibilidad forzada */
.hero-con-fondo h2, 
.hero-con-fondo p, 
.hero-con-fondo .hero-tagline {
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-con-fondo h2 { font-size: 58px; margin-bottom: 20px; }
.hero-con-fondo p { font-size: 20px; margin-bottom: 40px; max-width: 600px; }

/* --- BOTONES --- */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover { background-color: var(--text-dark); transform: translateY(-2px); }

/* --- SERVICIOS --- */
.services { padding: 120px 0; background-color: var(--bg-main); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); padding: 40px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.service-icon { width: 50px; height: 50px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: var(--radius-sm); color: var(--accent); }

/* --- STATS --- */
.stats { padding: 60px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--bg-main); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat-number { font-size: 48px; font-weight: 700; color: var(--text-dark); }

/* --- FOOTER --- */
.site-footer { background-color: var(--dark-box); color: #888; padding: 80px 0; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-con-fondo h2 { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr; }
    .header-container { flex-direction: column; gap: 20px; }
}
/* Centrado total del contenido del Hero */
.hero-con-fondo {
    display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center;     /* Centrado vertical */
    text-align: center;      /* Centra todo el texto */
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 650px;
    color: var(--white);
}

.hero-content {
    max-width: 1800px;        /* Limitamos el ancho para que el texto sea elegante */
    margin: 0 auto;          /* Asegura el margen automático */
    z-index: 2;
    position: relative;
}

/* Ajustes específicos para centrar los elementos de texto */
.hero-con-fondo .hero-tagline {
    display: block;
    margin-bottom: 10px;
}

.hero-con-fondo h2 {
    font-size: 100px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-con-fondo p {
    font-size: 25px;
    margin: 0 auto 30px auto; /* Centrado del párrafo con margen inferior */
    max-width: 1000px;         /* Ajuste de ancho para mejor lectura centrada */
}

.btn-custom {
    background-color: #D6724E; /* Tu color naranja */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease; /* Suaviza la transición */
    display: inline-block;
}

/* Efecto de "resaltado y brillo" al pasar el ratón */
.btn-custom:hover {
    background-color: #e68560; /* Un tono un poco más claro para resaltar */
    box-shadow: 0 0 15px rgba(214, 114, 78, 0.6); /* El brillo exterior */
    transform: translateY(-2px); /* Un pequeño efecto de elevación */
}

.btn-custom:active {
    transform: translateY(0); /* Efecto al hacer clic */
}
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 20px;
    padding: 40px;
    background-color: #F5F2EB; /* Fondo crema */
}

.service-card {
    background: #EBE8E0;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

/* Tarjeta oscura específica */
.service-card.dark-mode {
    background: #1A1A1A;
    color: #FFFFFF;
}

.service-card.dark-mode .tag { border: 1px solid #555; color: #fff; }

/* Estilos de elementos */
.icon-box { margin-bottom: 20px; font-size: 24px; }
.tag { 
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #D6724E;
    color: #D6724E;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

h3 { font-size: 20px; margin-bottom: 15px; }

/* Responsive para móvil */
@media (max-width: 768px) {
    .services-container { grid-template-columns: 1fr; }
}
/* Contenedor principal de servicios */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta estructurada con Flexbox */
.service-card {
    background: #EBE8E0;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* Alineación vertical clara */
    height: 100%;
    transition: transform 0.3s ease;
}

/* Ajustes para el icono y la etiqueta */
.icon-box { margin-bottom: 15px; }

.tag { 
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #D6724E;
    color: #D6724E;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
    align-self: flex-start; /* Evita que la etiqueta se estire */
}

/* Asegurar que el título no se rompa */
.service-card h3 { 
    font-size: 18px; 
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Responsive: Una sola columna en móviles */
@media (max-width: 768px) {
    .services-container { 
        grid-template-columns: 1fr; /* Columna única */
        padding: 20px;
    }
    
    .service-card {
        padding: 25px;
    }
}
/* ==========================================================================
   CORRECCIÓN DEFINITIVA DESBORDE DE TARJETAS EN MÓVIL
   ========================================================================== */

/* 1. Forzar que las tarjetas no superen el ancho del contenedor en ningún caso */
.service-card, 
.services-grid > *, 
.services-container > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Ajuste tipográfico imprescindible para coreano, chino y japonés */
.service-card h3, 
.service-card p {
    word-break: keep-all;      /* Evita que las palabras en asiático se corten mal */
    overflow-wrap: break-word; /* Fuerza el salto de línea si una palabra es muy larga */
    white-space: normal;
}

/* 3. Regla móvil estricta para una sola columna perfecta */
@media (max-width: 768px) {
    .services-grid, 
    .services-container {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Ancho exacto de 1 columna, sin minmax() */
        gap: 20px !important;
        padding: 20px 5% !important; /* 5% de margen lateral para que respire por ambos lados */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-card {
        padding: 25px 20px !important; /* Relleno interno optimizado para pantallas pequeñas */
        margin: 0 !important;
    }
}
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    /* Paleta Editorial Minimalista */
    --bg-main: #F5F2EB;          /* Crema cálido de fondo */
    --bg-card: #FFFFFF;          /* Blanco puro para tarjetas */
    --text-dark: #1A1A1A;        /* Negro suave de alta lectura */
    --text-muted: #5A5A5A;       /* Gris medio para subtítulos */
    --accent: #D96B43;           /* Terracotta / Naranja para bordes y acentos */
    --accent-light: rgba(217, 107, 67, 0.08);
    --border-color: #DCD7CE;     /* Borde fino divisorio */
    --dark-box: #111111;         /* Gris casi negro para gráfico / footer */
    --white: #FFFFFF;

    /* UI Variables */
    --radius-sm: 6px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --pill: 50px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

/* ==========================================================================
   1. RESET Y BASE
   ========================================================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    width: 100%;
    max-width: 100%;
    overflow-x: hidden;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    color: var(--text-dark);
    letter-spacing: -0.03em;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ==========================================================================
   2. CABECERA TRANSPARENTE
   ========================================================================== */
.site-header {
    background-color: transparent;
    padding: 30px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(220, 215, 206, 0.5);
}

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

.logo h1 {
    font-size: 20px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text-dark);
}

.logo span {
    color: var(--accent);
}

.main-navigation ul {
    display: flex;
    list-style: none;
    gap: 35px;
    align-items: center;
}

.main-navigation a {
    color: var(--text-dark);
    font-weight: 500;
    font-size: 14px;
    text-decoration: none;
    transition: var(--transition);
}

.main-navigation a:hover {
    color: var(--accent);
}

/* Botón Contacto en Menú */
.menu-btn {
    border: 1px solid var(--text-dark);
    padding: 8px 20px;
    border-radius: var(--pill);
    color: var(--text-dark) !important;
    font-weight: 500;
}

.menu-btn:hover {
    background-color: var(--text-dark);
    color: var(--white) !important;
}

/* ==========================================================================
   3. SELECTOR DE IDIOMAS ESCRITORIO
   ========================================================================== */
.lang-switcher {
    position: relative;
    cursor: pointer;
}

.lang-btn {
    color: var(--text-dark);
    font-size: 13px;
    font-weight: 600;
    padding: 6px 12px;
    border: 1px solid var(--border-color);
    border-radius: var(--pill);
    display: flex;
    align-items: center;
    gap: 6px;
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    padding: 8px 0;
    min-width: 120px;
    list-style: none;
    margin-top: 8px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: var(--transition);
    z-index: 9999;
}

.lang-switcher:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.lang-dropdown li a {
    display: block;
    padding: 8px 16px;
    color: var(--text-dark);
    font-size: 13px;
    text-decoration: none;
}

.lang-dropdown li a:hover,
.lang-dropdown li a.active {
    background-color: var(--bg-main);
    color: var(--accent);
    font-weight: 600;
}

/* ==========================================================================
   4. SECCIÓN HERO (ESTILO EDITORIAL 2 COLUMNAS)
   ========================================================================== */
.hero {
    padding: 80px 0 120px 0;
    background-color: var(--bg-main);
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 60px;
    align-items: center;
}

/* Etiquetas / Badges superiores */
.hero-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 30px;
}

.badge {
    border: 1px solid var(--accent);
    color: var(--accent);
    padding: 6px 16px;
    border-radius: var(--pill);
    font-size: 13px;
    font-weight: 500;
    background-color: var(--accent-light);
}

.hero h2 {
    font-size: 58px;
    line-height: 1.08;
    margin-bottom: 25px;
    font-weight: 700;
}

.hero p {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 520px;
    line-height: 1.7;
}

/* Grupo de botones Hero */
.hero-actions {
    display: flex;
    gap: 16px;
    align-items: center;
}

.btn-primary {
    display: inline-block;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-primary:hover {
    background-color: var(--accent);
    color: var(--b);
    transform: translateY(-2px);
}

.btn-secondary {
    display: inline-block;
    background-color: transparent;
    color: var(--text-dark);
    border: 1px solid var(--border-color);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    font-weight: 500;
    font-size: 15px;
    text-decoration: none;
    transition: var(--transition);
}

.btn-secondary:hover {
    border-color: var(--text-dark);
    background-color: rgba(0, 0, 0, 0.03);
}

/* Caja oscura derecha (Gráfico/Código en la referencia) */
.hero-graphic {
    background-color: var(--dark-box);
    height: 440px;
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #444444;
    font-family: monospace;
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   5. SECCIÓN STATS
   ========================================================================== */
.stats {
    padding: 60px 0;
    border-top: 1px solid var(--border-color);
    border-bottom: 1px solid var(--border-color);
    background-color: var(--bg-main);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 40px;
    text-align: left;
}

.stat-item {
    border-right: 1px solid var(--border-color);
    padding-right: 40px;
}

.stat-item:last-child {
    border-right: none;
}

.stat-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 700;
    color: var(--text-dark);
    line-height: 1;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 500;
}

/* ==========================================================================
   6. SECCIÓN COMPAÑÍA & ABOUT
   ========================================================================== */
.about-intro {
    padding: 120px 0;
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-badge {
    color: var(--accent);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 13px;
    letter-spacing: 2px;
    margin-bottom: 15px;
    display: block;
}

.about-intro h2 {
    font-size: 42px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.about-intro p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.about-graphic {
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    height: 400px;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==========================================================================
   7. SECCIÓN SERVICIOS
   ========================================================================== */
.services {
    padding: 120px 0;
    background-color: var(--bg-main);
    border-top: 1px solid var(--border-color);
}

.section-header {
    max-width: 600px;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 15px;
}

.section-header p {
    color: var(--text-muted);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--bg-card);
    padding: 45px 40px;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-5px);
    border-color: var(--text-dark);
}

.service-icon {
    width: 50px;
    height: 50px;
    background-color: var(--accent-light);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.service-icon svg {
    width: 24px;
    height: 24px;
    stroke: var(--accent);
    stroke-width: 2px;
}

.service-card h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.service-card p {
    color: var(--text-muted);
    font-size: 15px;
    line-height: 1.6;
}

/* ==========================================================================
   8. FOOTER MINIMALISTA
   ========================================================================== */
.site-footer {
    background-color: var(--dark-box);
    color: #888888;
    padding: 80px 0 40px 0;
    font-size: 14px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-col h4 {
    color: var(--white);
    font-size: 16px;
    margin-bottom: 25px;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 12px;
}

.footer-col ul a {
    color: #888888;
    text-decoration: none;
    transition: var(--transition);
}

.footer-col ul a:hover {
    color: var(--white);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding-top: 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* ==========================================================================
   9. CORRECCIÓN RESPONSIVE COMPLETA PARA MÓVILES (<= 768px)
   ========================================================================== */
@media (max-width: 768px) {
    .container {
        width: 88% !important;
    }

    /* Header & Navegación Móvil */
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .main-navigation ul {
        flex-direction: column;
        gap: 15px;
        width: 100%;
    }

    .main-navigation a {
        display: block;
        padding: 6px 0;
        font-size: 16px;
    }

    .menu-btn {
        margin-top: 10px;
        display: inline-block;
    }

    /* Selector Idioma Móvil en Píldoras */
    .lang-switcher {
        width: 100%;
        margin-top: 10px;
    }

    .lang-btn {
        display: none; /* Ocultamos botón desplegable en móvil */
    }

    .lang-dropdown {
        position: static;
        display: flex;
        flex-direction: row;
        justify-content: center;
        gap: 10px;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
    }

    .lang-dropdown li a {
        background-color: transparent;
        border: 1px solid var(--border-color);
        border-radius: var(--pill);
        padding: 6px 16px;
        font-size: 12px;
        font-weight: 500;
    }

    .lang-dropdown li a.active,
    .lang-dropdown li a:hover {
        background-color: var(--text-dark);
        color: var(--white);
        border-color: var(--text-dark);
    }

    /* Hero Responsive */
    .hero {
        padding: 40px 0 80px 0;
    }

    .hero-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .hero h2 {
        font-size: 38px;
    }

    .hero-actions {
        flex-direction: column;
        width: 100%;
    }

    .btn-primary, .btn-secondary {
        width: 100%;
        text-align: center;
    }

    .hero-graphic {
        height: 300px;
    }

    /* Stats & Grids */
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .stat-item {
        border-right: none;
        border-bottom: 1px solid var(--border-color);
        padding-right: 0;
        padding-bottom: 25px;
    }

    .stat-item:last-child {
        border-bottom: none;
        padding-bottom: 0;
    }

    .about-grid,
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}
.tu-clase-de-seccion {
    background-image: 
    background-size: cover;
    background-position: center;
}
.hero-con-fondo {
    /* Esto asegura que el texto se lea bien sobre la foto */
    position: relative;
    color: white; /* Cambia el color si tu foto es clara */
}

/* Si quieres oscurecer la foto para que el texto resalte */
.hero-con-fondo::before {
    content: "";
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background-color: rgba(-5, 2, 0, 0.4); /* Capa oscura al 100% */
    z-index: 1;
}

.hero-con-fondo .container {
    position: relative;
    z-index: 2; /* Pone el texto por encima de la capa oscura */
}
/* ==========================================================================
   THEME: GOASIA PARTNERS - MINIMALIST EDITORIAL EDITION
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Montserrat:wght@400;500;600;700;800&display=swap');

:root {
    --bg-main: #F5F2EB;
    --bg-card: #FFFFFF;
    --text-dark: #1A1A1A;
    --text-muted: #5A5A5A;
    --accent: #D96B43;
    --accent-light: rgba(217, 107, 67, 0.08);
    --border-color: #DCD7CE;
    --dark-box: #111111;
    --white: #FFFFFF;
    --radius-sm: 6px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --pill: 50px;
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html, body {
    width: 100%;
    font-family: 'Inter', sans-serif;
    color: var(--text-dark);
    background-color: var(--bg-main);
    line-height: 1.6;
}

h1, h2, h3, h4 { font-family: 'Montserrat', sans-serif; font-weight: 700; color: var(--text-dark); }

.container { width: 90%; max-width: 1280px; margin: 0 auto; }

/* --- CABECERA --- */
.site-header { padding: 30px 0; position: sticky; top: 0; z-index: 1000; backdrop-filter: blur(10px); border-bottom: 1px solid rgba(220, 215, 206, 0.5); }
.header-container { display: flex; justify-content: space-between; align-items: center; }

/* --- SECCIÓN HERO CON FONDO (CORREGIDA) --- */
.hero-con-fondo {
    position: relative;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: var(--white);
}

/* Capa de contraste profesional */
.hero-con-fondo::before {
    content: "";
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(rgba(0,0,0,0.3), rgba(0,0,0,0.7));
    z-index: 1;
}

.hero-con-fondo .container { position: relative; z-index: 2; }

/* Legibilidad forzada */
.hero-con-fondo h2, 
.hero-con-fondo p, 
.hero-con-fondo .hero-tagline {
    color: var(--white) !important;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.hero-con-fondo h2 { font-size: 58px; margin-bottom: 20px; }
.hero-con-fondo p { font-size: 20px; margin-bottom: 40px; max-width: 600px; }

/* --- BOTONES --- */
.btn-primary {
    display: inline-block;
    background-color: var(--accent);
    color: var(--white);
    padding: 16px 32px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}
.btn-primary:hover { background-color: var(--text-dark); transform: translateY(-2px); }

/* --- SERVICIOS --- */
.services { padding: 120px 0; background-color: var(--bg-main); }
.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(320px, 1fr)); gap: 30px; }
.service-card { background: var(--bg-card); padding: 40px; border-radius: var(--radius-md); border: 1px solid var(--border-color); }
.service-icon { width: 50px; height: 50px; background: var(--accent-light); display: flex; align-items: center; justify-content: center; margin-bottom: 20px; border-radius: var(--radius-sm); color: var(--accent); }

/* --- STATS --- */
.stats { padding: 60px 0; border-top: 1px solid var(--border-color); border-bottom: 1px solid var(--border-color); background: var(--bg-main); }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 40px; }
.stat-number { font-size: 48px; font-weight: 700; color: var(--text-dark); }

/* --- FOOTER --- */
.site-footer { background-color: var(--dark-box); color: #888; padding: 80px 0; }

/* --- RESPONSIVE --- */
@media (max-width: 768px) {
    .hero-con-fondo h2 { font-size: 36px; }
    .stats-grid { grid-template-columns: 1fr; }
    .header-container { flex-direction: column; gap: 20px; }
}
/* Centrado total del contenido del Hero */
.hero-con-fondo {
    display: flex;
    justify-content: center; /* Centrado horizontal */
    align-items: center;     /* Centrado vertical */
    text-align: center;      /* Centra todo el texto */
    position: relative;
    background-size: cover;
    background-position: center;
    min-height: 650px;
    color: var(--white);
}

.hero-content {
    max-width: 1800px;        /* Limitamos el ancho para que el texto sea elegante */
    margin: 0 auto;          /* Asegura el margen automático */
    z-index: 2;
    position: relative;
}

/* Ajustes específicos para centrar los elementos de texto */
.hero-con-fondo .hero-tagline {
    display: block;
    margin-bottom: 10px;
}

.hero-con-fondo h2 {
    font-size: 100px;
    line-height: 1.2;
    margin-bottom: 25px;
}

.hero-con-fondo p {
    font-size: 25px;
    margin: 0 auto 30px auto; /* Centrado del párrafo con margen inferior */
    max-width: 1000px;         /* Ajuste de ancho para mejor lectura centrada */
}

.btn-custom {
    background-color: #D6724E; /* Tu color naranja */
    color: white;
    padding: 15px 30px;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease; /* Suaviza la transición */
    display: inline-block;
}

/* Efecto de "resaltado y brillo" al pasar el ratón */
.btn-custom:hover {
    background-color: #e68560; /* Un tono un poco más claro para resaltar */
    box-shadow: 0 0 15px rgba(214, 114, 78, 0.6); /* El brillo exterior */
    transform: translateY(-2px); /* Un pequeño efecto de elevación */
}

.btn-custom:active {
    transform: translateY(0); /* Efecto al hacer clic */
}
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr); /* 3 columnas */
    gap: 20px;
    padding: 40px;
    background-color: #F5F2EB; /* Fondo crema */
}

.service-card {
    background: #EBE8E0;
    padding: 30px;
    border-radius: 20px;
    transition: transform 0.3s ease;
}

/* Tarjeta oscura específica */
.service-card.dark-mode {
    background: #1A1A1A;
    color: #FFFFFF;
}

.service-card.dark-mode .tag { border: 1px solid #555; color: #fff; }

/* Estilos de elementos */
.icon-box { margin-bottom: 20px; font-size: 24px; }
.tag { 
    display: inline-block;
    padding: 5px 12px;
    border: 1px solid #D6724E;
    color: #D6724E;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
    margin-bottom: 15px;
}

h3 { font-size: 20px; margin-bottom: 15px; }

/* Responsive para móvil */
@media (max-width: 768px) {
    .services-container { grid-template-columns: 1fr; }
}
/* Contenedor principal de servicios */
.services-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    padding: 40px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Tarjeta estructurada con Flexbox */
.service-card {
    background: #EBE8E0;
    padding: 30px;
    border-radius: 20px;
    display: flex;
    flex-direction: column; /* Alineación vertical clara */
    height: 100%;
    transition: transform 0.3s ease;
}

/* Ajustes para el icono y la etiqueta */
.icon-box { margin-bottom: 15px; }

.tag { 
    display: inline-block;
    padding: 4px 10px;
    border: 1px solid #D6724E;
    color: #D6724E;
    border-radius: 20px;
    font-size: 11px;
    font-weight: bold;
    margin-bottom: 10px;
    align-self: flex-start; /* Evita que la etiqueta se estire */
}

/* Asegurar que el título no se rompa */
.service-card h3 { 
    font-size: 18px; 
    margin-bottom: 10px;
    line-height: 1.3;
}

/* Responsive: Una sola columna en móviles */
@media (max-width: 768px) {
    .services-container { 
        grid-template-columns: 1fr; /* Columna única */
        padding: 20px;
    }
    
    .service-card {
        padding: 25px;
    }
}
/* ==========================================================================
   CORRECCIÓN DEFINITIVA DESBORDE DE TARJETAS EN MÓVIL
   ========================================================================== */

/* 1. Forzar que las tarjetas no superen el ancho del contenedor en ningún caso */
.service-card, 
.services-grid > *, 
.services-container > * {
    min-width: 0 !important;
    max-width: 100% !important;
    width: 100% !important;
    box-sizing: border-box !important;
}

/* 2. Ajuste tipográfico imprescindible para coreano, chino y japonés */
.service-card h3, 
.service-card p {
    word-break: keep-all;      /* Evita que las palabras en asiático se corten mal */
    overflow-wrap: break-word; /* Fuerza el salto de línea si una palabra es muy larga */
    white-space: normal;
}

/* 3. Regla móvil estricta para una sola columna perfecta */
@media (max-width: 768px) {
    .services-grid, 
    .services-container {
        display: grid !important;
        grid-template-columns: 1fr !important; /* Ancho exacto de 1 columna, sin minmax() */
        gap: 20px !important;
        padding: 20px 5% !important; /* 5% de margen lateral para que respire por ambos lados */
        width: 100% !important;
        max-width: 100% !important;
        box-sizing: border-box !important;
    }

    .service-card {
        padding: 25px 20px !important; /* Relleno interno optimizado para pantallas pequeñas */
        margin: 0 !important;
    }
}