/* 
   ASG Ejecutores & Consultores E.I.R.L. - Official Stylesheet
   Palette extracted from branding: Deep Industrial Blue (#0D3B66, #1A4D80), Charcoal/Dark Steel (#2B2D42), Bright Accent (#E07A5F / Golden Accent #D4AF37)
*/

:root {
    --primary: #0D3B66;
    --primary-dark: #08233E;
    --primary-light: #1D5893;
    --secondary: #2B2D42;
    --accent: #106EBE;
    --gold: #D4AF37;
    --bg-light: #F8F9FA;
    --bg-white: #FFFFFF;
    --text-color: #333333;
    --text-muted: #6C757D;
    --border-color: #E2E8F0;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    --shadow-hover: 0 15px 35px rgba(13, 59, 102, 0.15);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --radius: 8px;
}

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

html {
    scroll-behavior: smooth;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: var(--text-color);
    background-color: var(--bg-white);
    line-height: 1.6;
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

/* Header & Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(8px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    z-index: 1000;
    padding: 15px 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 10px 0;
    background-color: var(--bg-white);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

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

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-badge {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: var(--bg-white);
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius);
    font-size: 1.4rem;
    box-shadow: 0 4px 10px rgba(13, 59, 102, 0.3);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-title {
    font-size: 1.6rem;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--primary);
    line-height: 1;
}

.brand-subtitle {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--secondary);
    letter-spacing: 0.5px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--secondary);
    position: relative;
}

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

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

.btn-nav {
    background-color: var(--primary);
    color: var(--bg-white) !important;
    padding: 10px 20px;
    border-radius: var(--radius);
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(13, 59, 102, 0.2);
}

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

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary);
    cursor: pointer;
}

/* Hero Section */
.hero {
    position: relative;
    padding: 180px 0 100px;
    background: linear-gradient(135deg, rgba(8, 35, 62, 0.92), rgba(26, 77, 128, 0.88)), url('https://images.unsplash.com/photo-1541888946425-d0fbb186a5b7?auto=format&fit=crop&w=1600&q=80') center/cover no-repeat;
    color: var(--bg-white);
    overflow: hidden;
}

.hero-content {
    max-width: 850px;
}

.badge-hero {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 20px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-description {
    font-size: 1.15rem;
    opacity: 0.9;
    margin-bottom: 35px;
    max-width: 700px;
}

.hero-cta {
    display: flex;
    gap: 15px;
    margin-bottom: 50px;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 700;
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

.btn-primary {
    background-color: var(--accent);
    color: var(--bg-white);
    box-shadow: 0 4px 15px rgba(16, 110, 190, 0.4);
}

.btn-primary:hover {
    background-color: #0b5697;
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--bg-white);
    border: 2px solid var(--bg-white);
}

.btn-outline:hover {
    background-color: var(--bg-white);
    color: var(--primary);
}

.hero-stats {
    display: flex;
    gap: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--gold);
}

.stat-plus {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
}

.stat-label {
    display: block;
    font-size: 0.85rem;
    opacity: 0.8;
}

/* Layout Helper Classes */
.section {
    padding: 90px 0;
}

.section-subtitle {
    text-transform: uppercase;
    font-size: 0.85rem;
    font-weight: 800;
    color: var(--accent);
    letter-spacing: 2px;
    display: block;
    margin-bottom: 5px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--primary-dark);
    margin-bottom: 15px;
}

.text-center {
    text-align: center;
}

.grid {
    display: grid;
    gap: 30px;
}

.grid-2 {
    grid-template-columns: repeat(2, 1fr);
}

.grid-3 {
    grid-template-columns: repeat(3, 1fr);
}

.align-center {
    align-items: center;
}

/* About Section */
.about-image-wrapper {
    position: relative;
    height: 400px;
    background: linear-gradient(135deg, var(--primary-light), var(--primary));
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow);
}

.about-card-badge {
    text-align: center;
    color: var(--bg-white);
}

.about-card-badge i {
    font-size: 4rem;
    margin-bottom: 10px;
    opacity: 0.9;
}

.about-card-badge span {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
}

.experience-box {
    position: absolute;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.95);
    padding: 15px 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
}

.exp-num {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary);
}

.exp-text {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-muted);
}

.text-lead {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 15px;
}

.features-list {
    margin-top: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-weight: 600;
}

.feature-item i {
    color: var(--accent);
}

/* Values Section */
.values-section {
    background-color: var(--bg-light);
}

.value-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.value-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-top-color: var(--accent);
}

.value-icon {
    width: 60px;
    height: 60px;
    background: rgba(13, 59, 102, 0.08);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 20px;
}

.value-card h3 {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-dark);
}

.value-card p {
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
    margin-top: 40px;
}

.service-card {
    background: var(--bg-white);
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    padding: 35px;
    box-shadow: var(--shadow);
    transition: var(--transition);
}

.service-card:hover {
    border-color: var(--accent);
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid var(--bg-light);
}

.service-icon {
    font-size: 2rem;
    color: var(--accent);
}

.service-header h3 {
    font-size: 1.4rem;
    color: var(--primary-dark);
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.service-list li {
    font-size: 0.95rem;
    color: #4A5568;
    display: flex;
    align-items: flex-start;
    gap: 8px;
}

.service-list i {
    font-size: 0.75rem;
    color: var(--accent);
    margin-top: 6px;
}

/* Clients Section */
.clients-section {
    background-color: var(--bg-light);
}

.clients-slider {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 30px;
}

.client-box {
    background: var(--bg-white);
    padding: 25px 30px;
    border-radius: var(--radius);
    text-align: center;
    box-shadow: var(--shadow);
    flex: 1 1 180px;
    transition: var(--transition);
}

.client-box:hover {
    transform: scale(1.05);
}

.client-box i {
    font-size: 2.2rem;
    color: var(--primary);
    margin-bottom: 10px;
}

.client-box h4 {
    font-size: 1.1rem;
    color: var(--primary-dark);
}

.client-box span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* Contact Section */
.info-list {
    margin-top: 30px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 15px;
}

.info-icon {
    width: 45px;
    height: 45px;
    background-color: rgba(16, 110, 190, 0.1);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    flex-shrink: 0;
}

.info-item strong {
    display: block;
    color: var(--primary-dark);
    font-size: 0.95rem;
}

.info-item p, .info-item a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.contact-form-card {
    background: var(--bg-white);
    padding: 40px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    border-top: 5px solid var(--accent);
}

.contact-form-card h3 {
    margin-bottom: 20px;
    color: var(--primary-dark);
}

.form-group {
    margin-bottom: 18px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-weight: 600;
    font-size: 0.85rem;
    color: var(--secondary);
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--border-color);
    border-radius: var(--radius);
    font-family: inherit;
    font-size: 0.95rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(16, 110, 190, 0.15);
}

.btn-block {
    width: 100%;
    justify-content: center;
}

.form-feedback {
    margin-top: 15px;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 0.9rem;
    text-align: center;
}

.form-feedback.success {
    background-color: #D4EDDA;
    color: #155724;
    border: 1px solid #C3E6CB;
}

.form-feedback.hidden {
    display: none;
}

/* Footer */
.footer {
    background-color: var(--primary-dark);
    color: var(--bg-white);
    padding: 50px 0 20px;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
}

.logo-text.light .brand-title {
    color: var(--bg-white);
}

.logo-text.light .brand-subtitle {
    color: rgba(255, 255, 255, 0.7);
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    width: 100%;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Responsive Styles */
@media (max-width: 992px) {
    .grid-2, .grid-3, .services-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-title {
        font-size: 2.2rem;
    }
}

@media (max-width: 768px) {
    .mobile-toggle {
        display: block;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--bg-white);
        flex-direction: column;
        justify-content: center;
        transition: var(--transition);
        box-shadow: var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
}
