/* /* ============================================
   NexCore IT Consulting - Main Stylesheet
   ============================================ */

/* ============================================
   CSS Variables - Brand Colors & Typography
   ============================================ */
:root {
    /* Brand Colors */
    --primary-blue: #0C243C;
    --primary-orange: #E36C1E;
    --white: #FFFFFF;
    --light-gray: #F4F4F4;
    --medium-gray: #E0E0E0;
    --dark-gray: #333333;
    --text-gray: #666666;
    /* Typography */
    --font-heading: 'Montserrat', sans-serif;
    --font-body: 'Open Sans', sans-serif;
    /* Spacing */
    --section-padding: 100px 0;
    --container-max-width: 1200px;
    /* Transitions */
    --transition-smooth: all 0.3s ease;
    --transition-fast: all 0.2s ease;
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(12, 36, 60, 0.1);
    --shadow-md: 0 4px 20px rgba(12, 36, 60, 0.15);
    --shadow-lg: 0 8px 30px rgba(12, 36, 60, 0.2);
}

/* ============================================
   Global Styles & Reset
   ============================================ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    color: var(--dark-gray);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

ul {
    list-style: none;
}

/* ============================================
   Typography
   ============================================ */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--primary-blue);
}

h1 {
    font-size: 3rem;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

h4 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1rem;
    color: var(--text-gray);
}

/* ============================================
   Buttons
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 30px;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1rem;
    border-radius: 50px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: var(--transition-smooth);
    text-align: center;
    white-space: nowrap;
}

.btn-primary {
    background: var(--primary-orange);
    color: var(--white);
    border-color: var(--primary-orange);
}

    .btn-primary:hover {
        background: #c55a16;
        border-color: #c55a16;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-secondary {
    background: var(--primary-blue);
    color: var(--white);
    border-color: var(--primary-blue);
}

    .btn-secondary:hover {
        background: #081a2b;
        border-color: #081a2b;
        transform: translateY(-2px);
        box-shadow: var(--shadow-md);
    }

.btn-outline {
    background: transparent;
    color: var(--primary-blue);
    border-color: var(--primary-blue);
}

    .btn-outline:hover {
        background: var(--primary-blue);
        color: var(--white);
        transform: translateY(-2px);
    }

.btn-lg {
    padding: 16px 40px;
    font-size: 1.1rem;
}

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

/* ============================================
   Navigation
   ============================================ */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    transition: var(--transition-smooth);
}

    .navbar.scrolled {
        box-shadow: var(--shadow-md);
    }

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px; /* fijo: evita que crezca la barra */
    padding: 0; /* elimina padding que engordaba la barra */
}

.logo-img {
    height: 180px; /* solo crece el logo */
    width: auto;
}

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

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 15px;
}

.btn-language {
    background: transparent;
    border: 2px solid var(--primary-blue);
    color: var(--primary-blue);
    padding: 8px 16px;
    border-radius: 25px;
    font-family: var(--font-heading);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 6px;
}

    .btn-language:hover {
        background: var(--primary-blue);
        color: var(--white);
    }

.btn-nav {
    padding: 10px 25px;
    font-size: 0.9rem;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
}

    .nav-toggle span {
        width: 25px;
        height: 3px;
        background: var(--primary-blue);
        border-radius: 3px;
        transition: var(--transition-smooth);
    }

/* ============================================
   Hero Section
   ============================================ */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 0 80px; /* sin cambios: no queremos mover el hero */
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a5c 100%);
    z-index: -1;
}

    .hero-background::before {
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('https://images.unsplash.com/photo-1451187580459-43490279c0fa?w=1920&q=80') center/cover;
        opacity: 0.1;
        mix-blend-mode: overlay;
    }

.hero-content {
    text-align: center;
    color: var(--white);
    max-width: 900px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 25px;
    color: var(--white);
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 40px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 60px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    flex-wrap: wrap;
}

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

.stat-number {
    font-size: 3rem;
    font-weight: 800;
    color: var(--primary-orange);
    font-family: var(--font-heading);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    margin-top: 5px;
}

.hero-scroll {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    animation: bounce 2s infinite;
}

    .hero-scroll i {
        font-size: 2rem;
        color: var(--white);
    }

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }

    40% {
        transform: translateX(-50%) translateY(-10px);
    }

    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ============================================
   Section Headers
   ============================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.8rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.section-subtitle {
    font-size: 1.2rem;
    color: var(--text-gray);
}

/* ============================================
   About Section
   ============================================ */
.about {
    padding: var(--section-padding);
    background: var(--white);
}

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

.about-text {
    padding-right: 30px;
}

.about-description {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
}

.about-location {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 30px;
    padding: 15px;
    background: var(--light-gray);
    border-radius: 10px;
    font-weight: 600;
    color: var(--primary-blue);
}

    .about-location i {
        font-size: 1.5rem;
        color: var(--primary-orange);
    }

.about-image img {
    border-radius: 15px;
    box-shadow: var(--shadow-lg);
}

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

.mvv-card {
    padding: 40px 30px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

    .mvv-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.mvv-icon {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary-orange), #f58b4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

    .mvv-icon i {
        font-size: 2rem;
        color: var(--white);
    }

.mvv-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.mvv-text {
    font-size: 1rem;
    line-height: 1.7;
}

.mvv-list {
    list-style: none;
}

    .mvv-list li {
        margin-bottom: 12px;
        font-size: 1rem;
    }

    .mvv-list strong {
        color: var(--primary-blue);
    }

/* ============================================
   Services Section
   ============================================ */
.services {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, var(--light-gray) 100%);
}

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

.service-card {
    background: var(--white);
    padding: 40px 25px;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition-smooth);
    border: 2px solid transparent;
}

    .service-card:hover {
        transform: translateY(-10px);
        border-color: var(--primary-orange);
        box-shadow: var(--shadow-lg);
    }

.service-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary-blue), #1a3a5c);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: var(--transition-smooth);
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, var(--primary-orange), #f58b4a);
    transform: scale(1.1);
}

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

.service-title {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.service-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Packages Section
   ============================================ */
.packages {
    padding: var(--section-padding);
    background: var(--white);
}

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

.package-card {
    background: var(--white);
    border: 2px solid var(--medium-gray);
    border-radius: 20px;
    padding: 40px 30px;
    position: relative;
    transition: var(--transition-smooth);
}

    .package-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        border-color: var(--primary-orange);
    }

.package-featured {
    border-color: var(--primary-orange);
    box-shadow: var(--shadow-md);
}

.package-badge {
    position: absolute;
    top: -15px;
    right: 30px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 20px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.9rem;
    font-family: var(--font-heading);
}

.package-header {
    text-align: center;
    margin-bottom: 30px;
}

.package-name {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.package-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 5px;
}

    .package-price .currency {
        font-size: 1.5rem;
        font-weight: 700;
        color: var(--primary-orange);
    }

    .package-price .amount {
        font-size: 2.5rem;
        font-weight: 800;
        color: var(--primary-blue);
        font-family: var(--font-heading);
    }

    .package-price .period {
        font-size: 1rem;
        color: var(--text-gray);
    }

.package-features {
    list-style: none;
    margin-bottom: 30px;
}

    .package-features li {
        display: flex;
        align-items: flex-start;
        gap: 12px;
        margin-bottom: 15px;
        font-size: 0.95rem;
    }

    .package-features i {
        color: var(--primary-orange);
        margin-top: 3px;
        flex-shrink: 0;
    }

.package-ideal {
    background: var(--light-gray);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 25px;
    font-size: 0.9rem;
}

    .package-ideal strong {
        color: var(--primary-blue);
        display: block;
        margin-bottom: 5px;
    }

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

/* ============================================
   Specializations Section
   ============================================ */
.specializations {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a5c 100%);
    color: var(--white);
}

    .specializations .section-title,
    .specializations .section-subtitle {
        color: var(--white);
    }

.spec-grid {
    display: grid;
    gap: 40px;
}

.spec-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 40px;
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

    .spec-card:hover {
        background: rgba(255, 255, 255, 0.15);
        transform: translateX(10px);
    }

.spec-number {
    font-size: 4rem;
    font-weight: 800;
    color: var(--primary-orange);
    font-family: var(--font-heading);
    opacity: 0.5;
    line-height: 1;
    margin-bottom: 20px;
}

.spec-title {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: var(--white);
}

.spec-description {
    font-size: 1.05rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 20px;
}

.spec-tech {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tech-tag {
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* ============================================
   Team Section
   ============================================ */
.team {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
}

.team-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: var(--shadow-sm);
}

    .team-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.team-image {
    position: relative;
    overflow: hidden;
    aspect-ratio: 1/1;
}

    .team-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-smooth);
    }

.team-card:hover .team-image img {
    transform: scale(1.1);
}

.team-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(12, 36, 60, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition-smooth);
}

.team-card:hover .team-overlay {
    opacity: 1;
}

.team-social {
    display: flex;
    gap: 15px;
}

.social-link {
    width: 45px;
    height: 45px;
    background: var(--primary-orange);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    font-size: 1.2rem;
    transition: var(--transition-smooth);
}

    .social-link:hover {
        background: var(--white);
        color: var(--primary-orange);
        transform: scale(1.1);
    }

.team-info {
    padding: 30px 25px;
    text-align: center;
}

.team-name {
    font-size: 1.5rem;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.team-role {
    font-size: 1rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 15px;
}

.team-description {
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ============================================
   Why Us Section
   ============================================ */
.why-us {
    padding: var(--section-padding);
    background: var(--white);
}

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

.why-card {
    text-align: center;
    padding: 40px 25px;
    background: var(--light-gray);
    border-radius: 15px;
    transition: var(--transition-smooth);
}

    .why-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
        background: var(--white);
    }

.why-icon {
    width: 90px;
    height: 90px;
    background: linear-gradient(135deg, var(--primary-orange), #f58b4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
}

    .why-icon i {
        font-size: 2.5rem;
        color: var(--white);
    }

.why-title {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.why-description {
    font-size: 1rem;
    line-height: 1.7;
}

/* ============================================
   Testimonials Section
   ============================================ */
.testimonials {
    padding: var(--section-padding);
    background: linear-gradient(135deg, #f8f9fa 0%, var(--light-gray) 100%);
}

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

.testimonial-card {
    background: var(--white);
    padding: 40px;
    border-radius: 20px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

    .testimonial-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.testimonial-rating {
    display: flex;
    gap: 5px;
    margin-bottom: 20px;
}

    .testimonial-rating i {
        color: #FFD700;
        font-size: 1.2rem;
    }

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.8;
    font-style: italic;
    color: var(--dark-gray);
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

    .testimonial-author img {
        width: 60px;
        height: 60px;
        border-radius: 50%;
        object-fit: cover;
    }

.author-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--primary-blue);
}

.author-position {
    font-size: 0.9rem;
    color: var(--text-gray);
}

/* ============================================
   Resources/Blog Section
   ============================================ */
.resources {
    padding: var(--section-padding);
    background: var(--white);
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-bottom: 50px;
}

.resource-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-smooth);
}

    .resource-card:hover {
        transform: translateY(-10px);
        box-shadow: var(--shadow-lg);
    }

.resource-image {
    position: relative;
    height: 250px;
    overflow: hidden;
}

    .resource-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        transition: var(--transition-smooth);
    }

.resource-card:hover .resource-image img {
    transform: scale(1.1);
}

.resource-category {
    position: absolute;
    top: 20px;
    left: 20px;
    background: var(--primary-orange);
    color: var(--white);
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 700;
    font-size: 0.85rem;
}

.resource-content {
    padding: 30px;
}

.resource-title {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-blue);
}

.resource-excerpt {
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 20px;
}

.resource-link {
    color: var(--primary-orange);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

    .resource-link:hover {
        gap: 12px;
    }

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

/* ============================================
   Calculator Section
   ============================================ */
.calculator {
    padding: var(--section-padding);
    background: linear-gradient(135deg, var(--primary-blue) 0%, #1a3a5c 100%);
}

    .calculator .section-title,
    .calculator .section-subtitle {
        color: var(--white);
    }

.calculator-container {
    max-width: 800px;
    margin: 0 auto;
    background: var(--white);
    border-radius: 20px;
    padding: 50px;
    box-shadow: var(--shadow-lg);
}

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

    .form-group label {
        display: block;
        margin-bottom: 10px;
        font-weight: 600;
        color: var(--primary-blue);
        font-family: var(--font-heading);
    }

.form-control {
    width: 100%;
    padding: 14px;
    border: 2px solid var(--medium-gray);
    border-radius: 10px;
    font-size: 1rem;
    font-family: var(--font-body);
    transition: var(--transition-smooth);
}

    .form-control:focus {
        outline: none;
        border-color: var(--primary-orange);
        box-shadow: 0 0 0 3px rgba(227, 108, 30, 0.1);
    }

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px;
    background: var(--light-gray);
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .checkbox-label:hover {
        background: var(--medium-gray);
    }

.service-checkbox {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.calculator-result {
    text-align: center;
    padding: 40px;
}

.result-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, var(--primary-orange), #f58b4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
}

    .result-icon i {
        font-size: 3rem;
        color: var(--white);
    }

.result-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    color: var(--primary-blue);
}

.result-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 8px;
    margin-bottom: 15px;
}

    .result-price .currency {
        font-size: 2rem;
        color: var(--primary-orange);
        font-weight: 700;
    }

    .result-price .amount {
        font-size: 4rem;
        font-weight: 800;
        color: var(--primary-blue);
        font-family: var(--font-heading);
    }

    .result-price .period {
        font-size: 1.2rem;
        color: var(--text-gray);
    }

.result-package {
    font-size: 1.2rem;
    color: var(--primary-orange);
    font-weight: 600;
    margin-bottom: 20px;
}

.result-note {
    font-size: 0.9rem;
    color: var(--text-gray);
    margin-bottom: 30px;
}

/* ============================================
   Contact Section
   ============================================ */
.contact {
    padding: var(--section-padding);
    background: var(--light-gray);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
}

.contact-info-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-blue);
}

.contact-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), #f58b4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .contact-icon i {
        font-size: 1.5rem;
        color: var(--white);
    }

.contact-details h4 {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: var(--primary-blue);
}

.contact-details p {
    font-size: 1rem;
    line-height: 1.6;
}

.contact-actions {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 30px;
}

.contact-form-container {
    background: var(--white);
    padding: 50px;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
}

.form-title {
    font-size: 1.8rem;
    margin-bottom: 30px;
    color: var(--primary-blue);
    text-align: center;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* ============================================
   Footer
   ============================================ */
.footer {
    background: var(--primary-blue);
    color: var(--white);
    padding: 60px 0 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: var(--white);
}

.footer-text {
    font-size: 0.95rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 12px;
}

.social-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
}

    .social-icon:hover {
        background: var(--primary-orange);
        transform: translateY(-3px);
    }

.footer-links {
    list-style: none;
}

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

    .footer-links a {
        color: rgba(255, 255, 255, 0.8);
        font-size: 0.95rem;
        transition: var(--transition-smooth);
    }

        .footer-links a:hover {
            color: var(--primary-orange);
            padding-left: 5px;
        }

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.footer-contact i {
    color: var(--primary-orange);
    margin-top: 3px;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-legal {
    display: flex;
    gap: 15px;
}

    .footer-legal a {
        color: rgba(255, 255, 255, 0.8);
    }

        .footer-legal a:hover {
            color: var(--primary-orange);
        }

/* ============================================
   Chat Widget
   ============================================ */
.chat-widget {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 999;
}

.chat-button {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-orange), #f58b4a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: var(--shadow-lg);
    transition: var(--transition-smooth);
}

    .chat-button:hover {
        transform: scale(1.1);
    }

    .chat-button i {
        font-size: 1.8rem;
        color: var(--white);
    }

.chat-box {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.chat-header {
    background: var(--primary-blue);
    color: var(--white);
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

    .chat-header h4 {
        color: var(--white);
        font-size: 1.1rem;
    }

.chat-close {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
}

.chat-body {
    padding: 20px;
    height: 300px;
    overflow-y: auto;
}

.chat-message {
    padding: 12px 16px;
    border-radius: 15px;
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message-received {
    background: var(--light-gray);
    color: var(--dark-gray);
}

.chat-message-sent {
    background: var(--primary-orange);
    color: var(--white);
    margin-left: auto;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid var(--medium-gray);
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 2px solid var(--medium-gray);
    border-radius: 25px;
    font-size: 0.95rem;
}

.chat-send {
    width: 40px;
    height: 40px;
    background: var(--primary-orange);
    border: none;
    border-radius: 50%;
    color: var(--white);
    cursor: pointer;
    transition: var(--transition-smooth);
}

    .chat-send:hover {
        background: #c55a16;
    }

/* ============================================
   Scroll to Top Button
   ============================================ */
.scroll-top {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 50px;
    height: 50px;
    background: var(--primary-blue);
    border: none;
    border-radius: 50%;
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    box-shadow: var(--shadow-md);
    opacity: 0;
    visibility: hidden;
    transition: var(--transition-smooth);
    z-index: 998;
}

    .scroll-top.visible {
        opacity: 1;
        visibility: visible;
    }

    .scroll-top:hover {
        background: var(--primary-orange);
        transform: translateY(-5px);
    }

/* ============================================
   Responsive Design
   ============================================ */

/* Tablets (768px - 1024px) */
@media (max-width: 1024px) {
    h1 {
        font-size: 2.5rem;
    }

    h2 {
        font-size: 2rem;
    }

    .hero-title {
        font-size: 2.8rem;
    }

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

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

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

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

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

/* Mobile (max-width: 768px) */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 72px; /* antes 80px */
        left: -100%;
        width: 100%;
        height: calc(100vh - 72px); /* antes calc(100vh - 80px) */
        background: var(--white);
        flex-direction: column;
        padding: 40px 20px;
        box-shadow: var(--shadow-lg);
        transition: var(--transition-smooth);
        overflow-y: auto;
    }

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

    .nav-toggle {
        display: flex;
    }

        .nav-toggle.active span:nth-child(1) {
            transform: rotate(45deg) translate(8px, 8px);
        }

        .nav-toggle.active span:nth-child(2) {
            opacity: 0;
        }

        .nav-toggle.active span:nth-child(3) {
            transform: rotate(-45deg) translate(7px, -7px);
        }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-stats {
        gap: 30px;
    }

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

    .about-text {
        padding-right: 0;
    }

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

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

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

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

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

    .checkbox-group {
        grid-template-columns: 1fr;
    }

    .calculator-container {
        padding: 30px 20px;
    }

    .contact-form-container {
        padding: 30px 20px;
    }

    .form-row {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }

    .chat-box {
        width: 300px;
    }
}

/* Small Mobile (max-width: 480px) */
@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

    .container {
        padding: 0 15px;
    }

    .section-padding {
        padding: 60px 0;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .stat-number {
        font-size: 2.5rem;
    }

    .chat-box {
        width: calc(100vw - 30px);
    }
}

/* ============================================
   Utility Classes
   ============================================ */
.img-fluid {
    max-width: 100%;
    height: auto;
}

.d-none {
    display: none !important;
}

.d-block {
    display: block !important;
}

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

/* ============================================
   Loading Animation (for future use)
   ============================================ */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease-out;
}

/* ============================================
   Print Styles
   ============================================ */
@media print {
    .navbar,
    .chat-widget,
    .scroll-top,
    .hero-scroll {
        display: none !important;
    }

    body {
        font-size: 12pt;
    }

    .section {
        page-break-inside: avoid;
    }
}
