/* ============================================
   IDENTIDAD VISUAL - Inversiones DRC
   Colores: Verde #80bd01 | Azul #2a7de2 | Azul secundario #5686da | Gris #e4e5e6
   Tipografías: Helvetica Neue LT Std (Títulos y texto)
   ============================================ */

/* ===== FUENTES PRINCIPALES - Helvetica Neue LT Std ===== */

/* Fuente para TÍTULOS PRINCIPALES (h1, h2, h3) - Bold Condensed */
@font-face {
    font-family: 'HelveticaNeue Titulos';
    src: url('/fonts/HelveticaNeueLTStd-BdCn.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Fuente para MENÚ DE NAVEGACIÓN - Bold Extended */
@font-face {
    font-family: 'HelveticaNeue Menu';
    src: url('/fonts/HelveticaNeueLTStd-Bd.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
    font-display: swap;
}

/* Fuente para PÁRRAFOS - Light */
@font-face {
    font-family: 'HelveticaNeue Texto';
    src: url('/fonts/HelveticaNeueLTStd-Lt.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
    font-display: swap;
}

/* Reset */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* ============================================
   FUERZA TODAS LAS FUENTES CON !IMPORTANT
   ============================================ */

/* CUERPO PRINCIPAL - Fuente Light para TODOS los textos */
body,
p,
span,
a,
li,
div,
section,
article,
aside,
header,
footer,
nav,
main,
input,
textarea,
select,
button,
label,
.hero p,
.card p,
.section-subtitle,
.stat-label,
.testimonial-text,
.footer p,
.footer a,
.form-group input,
.form-group textarea,
.form-group select,
.hero .container p {
    font-family: 'HelveticaNeue Texto', 'Helvetica Neue', Helvetica, Arial, sans-serif !important;
    font-weight: 300 !important;
}

/* TÍTULOS Y ENCABEZADOS - Fuente Bold Condensed para TODOS los títulos */
h1,
h2,
h3,
h4,
h5,
h6,
.logo,
.hero h1,
.hero h1 span,
.section-title,
.section-title span,
.card h3,
.step-title,
.stat-number,
.testimonial-author,
.form-group label,
.hero-badge,
.btn-primary,
.btn-secondary,
.btn-outline,
.step-circle,
.navbar-brand,
.title,
.heading,
.banner-title,
.hero .hero-badge,
.hero h1,
.hero .hero h1 span {
    font-family: 'HelveticaNeue Titulos', 'HelveticaNeue Menu', 'Courier New', monospace !important;
    font-weight: bold !important;
    letter-spacing: 0.02em;
}

/* Contenedor principal */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ============================================
   BOTONES
   ============================================ */
.btn-primary {
    display: inline-block;
    background-color: #80bd01;
    color: #1a1a1a;
    padding: 14px 32px;
    border-radius: 48px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

/* Botón Cotizar - misma fuente que el menú */
.navbar .btn-primary,
.mobile-menu .btn-primary {
    font-family: 'HelveticaNeue Menu', 'HelveticaNeue Titulos', monospace !important;
    font-weight: bold !important;
}

.btn-primary:hover {
    background-color: #6ea300;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(128,189,1,0.3);
}

.btn-secondary {
    display: inline-block;
    background-color: #2a7de2;
    color: white;
    padding: 14px 32px;
    border-radius: 48px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-secondary:hover {
    background-color: #1e6bc9;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(42,125,226,0.3);
}

.btn-outline {
    display: inline-block;
    background-color: transparent;
    color: #2a7de2;
    padding: 12px 28px;
    border-radius: 48px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: 2px solid #2a7de2;
    cursor: pointer;
}

.btn-outline:hover {
    background-color: #2a7de2;
    color: white;
    transform: translateY(-2px);
}

/* ============================================
   HERO SECTION
   ============================================ */
.hero {
    min-height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #2a7de2 0%, #5686da 50%, #2a7de2 100%);
    color: white;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1000 1000'%3E%3Ccircle cx='500' cy='500' r='400' fill='none' stroke='rgba(255,255,255,0.05)' stroke-width='2'/%3E%3C/svg%3E") repeat;
    opacity: 0.3;
    pointer-events: none;
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero h1 {
    font-size: 56px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero h1 span {
    color: #80bd01;
}

.hero p {
    font-size: 20px;
    opacity: 0.9;
    margin-bottom: 32px;
}

.hero-badge {
    display: inline-block;
    background-color: #80bd01;
    color: #1a1a1a;
    padding: 8px 20px;
    border-radius: 40px;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 24px;
}

@media (max-width: 768px) {
    .hero h1 { font-size: 36px; }
    .hero p { font-size: 16px; }
}

/* ============================================
   SECCIONES
   ============================================ */
.section {
    padding: 100px 0;
}

.section-light {
    background-color: #ffffff;
}

.section-gray {
    background-color: #e4e5e6;
}

.section-title {
    font-size: 40px;
    font-weight: 700;
    text-align: center;
    color: #2a7de2;
    margin-bottom: 16px;
    letter-spacing: 1px;
}

.section-title span {
    color: #80bd01;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-bottom: 60px;
    font-size: 18px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* ============================================
   GRIDS Y TARJETAS
   ============================================ */
.grid-3, .grid-4 {
    display: grid;
    gap: 30px;
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
}

.card {
    background: white;
    padding: 36px 24px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    border: 1px solid #e4e5e6;
}

.card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 35px -12px rgba(42,125,226,0.15);
    border-color: #80bd01;
}

.card-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #80bd01 0%, #6ea300 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.card-icon i {
    font-size: 32px;
    color: white;
}

.card h3 {
    font-size: 20px;
    color: #2a7de2;
    margin-bottom: 12px;
    letter-spacing: 0.5px;
}

.card p {
    color: #666;
    font-size: 15px;
    line-height: 1.6;
}

/* ============================================
   ESTADÍSTICAS
   ============================================ */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    text-align: center;
}

.stat-number {
    font-size: 48px;
    font-weight: 700;
    color: #80bd01;
    margin-bottom: 8px;
}

.stat-label {
    color: #5686da;
    font-size: 14px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   METODOLOGÍA (PASOS)
   ============================================ */
.step-circle {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #2a7de2 0%, #5686da 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    font-weight: 700;
    color: white;
    box-shadow: 0 8px 20px rgba(42,125,226,0.2);
}

.step-title {
    font-size: 18px;
    font-weight: 600;
    color: #2a7de2;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

/* ============================================
   TESTIMONIOS
   ============================================ */
.testimonial-card {
    background: white;
    padding: 32px;
    border-radius: 20px;
    transition: all 0.3s ease;
    border: 1px solid #e4e5e6;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.08);
    border-color: #80bd01;
}

.testimonial-icon {
    color: #80bd01;
    font-size: 36px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.testimonial-text {
    font-style: italic;
    margin-bottom: 20px;
    color: #333;
    line-height: 1.6;
}

.testimonial-author {
    font-size: 14px;
    color: #2a7de2;
    letter-spacing: 1px;
}

/* ============================================
   FORMULARIO
   ============================================ */
.form-group {
    margin-bottom: 24px;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #e4e5e6;
    border-radius: 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #80bd01;
    box-shadow: 0 0 0 4px rgba(128,189,1,0.1);
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-size: 12px;
    color: #2a7de2;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   NAVBAR
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: #140887;
    backdrop-filter: blur(2px);
    box-shadow: 0 1px 0 rgba(0,0,0,0.05);
    z-index: 1000;
    padding: 16px 0;
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 20px;
    font-weight: 700;
    text-decoration: none;
    letter-spacing: 2px;
}

.logo span:first-child {
    color: #2a7de2;
}

.logo span:last-child {
    color: #80bd01;
}

.logo-img {
    height: 60px;
    width: auto;
    max-width: 200px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
}

/* MENÚ PRINCIPAL - Fuente Bold Extended */
.nav-links a {
    font-family: 'HelveticaNeue Menu', 'HelveticaNeue Titulos', monospace !important;
    font-weight: bold !important;
    text-decoration: none;
    font-size: 14px;
    color: #333;
    transition: color 0.3s ease;
}

.nav-links a:hover {
    color: #80bd01;
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
    background-color: #140887 ;
    color: white;
    padding: 60px 0 30px;
    margin-top: 60px;
}

.footer .logo span:first-child {
    color: white;
}

.footer .logo span:last-child {
    color: #80bd01;
}

.footer a {
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #80bd01;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .nav-links { display: none; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .step-circle { width: 60px; height: 60px; font-size: 24px; }
    .section-title { font-size: 32px; }
    .section { padding: 60px 0; }
    .logo-img { height: 45px; }
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
    color: #2a7de2;
}

@media (max-width: 768px) {
    .mobile-menu-btn { display: block; }
}

.mobile-menu {
    display: none;
    background: white;
    padding: 20px;
    border-top: 1px solid #e4e5e6;
}

.mobile-menu.show {
    display: block;
}

/* MENÚ MÓVIL - Fuente Bold Extended */
.mobile-menu a {
    font-family: 'HelveticaNeue Menu', 'HelveticaNeue Titulos', monospace !important;
    font-weight: bold !important;
    display: block;
    padding: 12px 0;
    text-decoration: none;
    color: #333;
    border-bottom: 1px solid #e4e5e6;
    font-size: 12px;
    letter-spacing: 1px;
}

.mobile-menu a:hover {
    color: #80bd01;
} 


/* ============================================
   BOTÓN VER TODOS LOS SERVICIOS
   ============================================ */
.btn-ver-todos {
    display: inline-flex;
    align-items: center;
    padding: 16px 40px;
    background: transparent;
    color: var(--primary, #2a7de2);
    border: 2px solid var(--primary, #2a7de2);
    border-radius: 50px;
    font-family: 'HelveticaNeue Menu', 'HelveticaNeue Titulos', monospace !important;
    font-weight: bold !important;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    position: relative;
    overflow: hidden;
}

.btn-ver-todos::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary, linear-gradient(135deg, #2a7de2 0%, #5686da 100%));
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    z-index: -1;
}

.btn-ver-todos:hover {
    color: white;
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(42,125,226,0.3);
}

.btn-ver-todos:hover::before {
    left: 0;
}

.btn-ver-todos i {
    transition: transform 0.3s ease;
}

.btn-ver-todos:hover i {
    transform: translateX(6px);
}


/* ============================================
   SELECTOR DE IDIOMA - ESTILOS GLOBALES
   ============================================ */
.lang-selector-wrapper {
    position: relative;
    display: inline-block;
}

.lang-btn {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 14px;
    border-radius: 30px;
    cursor: pointer;
    font-size: 12px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s ease;
    font-family: 'HelveticaNeue Menu', 'HelveticaNeue Titulos', monospace !important;
}

.lang-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.lang-dropdown {
    position: absolute;
    top: calc(100% + 8px);
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
    min-width: 140px;
    padding: 8px 0;
    display: none;
    z-index: 1001;
    overflow: hidden;
}

.lang-dropdown.show {
    display: block;
    animation: slideDown 0.25s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.lang-dropdown a {
    display: flex !important;
    align-items: center !important;
    gap: 10px !important;
    padding: 10px 18px !important;
    color: #333 !important;
    text-decoration: none !important;
    font-size: 13px !important;
    font-weight: 500 !important;
    transition: all 0.2s ease !important;
    border-bottom: none !important;
}

.lang-dropdown a:hover {
    background: #f5f6f8 !important;
    color: #2a7de2 !important;
}

.lang-dropdown a.active {
    color: #2a7de2 !important;
    background: #f0f7ff !important;
}

.lang-dropdown a i.fa-check {
    color: #80bd01;
    font-size: 11px;
    width: 16px;
    text-align: center;
}

/* Responsive */
@media (max-width: 992px) {
    .lang-btn {
        padding: 4px 10px;
        font-size: 11px;
    }
    .lang-btn span {
        display: none;
    }
    .lang-btn i.fa-chevron-down {
        display: none;
    }
}

@media (max-width: 768px) {
    .lang-selector-wrapper {
        display: none !important;
    }
}