/* Variables y Reset */
:root {
    --bg-blue: #082b5e;
    --bg-dark-blue: #081736;
    --text-white: #ffffff;
    --text-blue: #0b5ed7;
    --text-dark: #333333;
    --btn-purple: #6a1b9a;
    --btn-purple-hover: #4a148c;
    --font-main: 'Poppins', sans-serif;
}

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

body {
    font-family: var(--font-main);
    color: var(--text-dark);
    background-color: var(--text-white);
    overflow-x: hidden;
}

a {
    text-decoration: none;
    color: inherit;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.text-orange {
    color: #f39c12;
}

.text-blue {
    color: var(--text-blue);
}

.dark-text {
    color: var(--bg-blue) !important;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 40px;
    color: var(--text-white);
}

.subtitle {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 2px;
    margin-bottom: 10px;
    color: var(--text-white);
    text-transform: uppercase;
}

/* Header */
.header {
    background-color: var(--text-white);
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

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

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

.logo img {
    height: 40px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-blue);
}

.nav-links {
    list-style: none;
    display: flex;
    gap: 30px;
}

.nav-links li a {
    font-weight: 600;
    color: var(--bg-blue);
    transition: color 0.3s;
}

.nav-links li a:hover {
    color: var(--text-blue);
}

.mobile-menu-icon {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--bg-blue);
}

/* Clases Comunes de Ondas */
.wave-top {
    position: absolute;
    top: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-top svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

.wave-bottom {
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100%;
    overflow: hidden;
    line-height: 0;
}

.wave-bottom svg {
    display: block;
    width: calc(100% + 1.3px);
    height: 120px;
}

/* Hero Section */
.hero {
    background-color: var(--bg-dark-blue);
    color: var(--text-white);
    position: relative;
    padding-top: 80px;
    padding-bottom: 200px;
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero-content p {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.9;
}

.btn-outline-white {
    display: inline-block;
    padding: 15px 30px;
    border: 2px solid var(--text-white);
    border-radius: 5px;
    font-weight: 600;
    color: var(--text-white);
    transition: all 0.3s;
}

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

.hero-image {
    flex: 1;
    text-align: right;
}

.hero-image img {
    max-width: 100%;
    border-radius: 10px;
}

/* Servicios */
.servicios {
    background-color: var(--bg-blue);
    position: relative;
    padding: 180px 0;
}

.servicios-content {
    position: relative;
    z-index: 1;
}

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

.service-card {
    background-color: var(--bg-dark-blue);
    padding: 40px 20px;
    border-radius: 10px;
    color: var(--text-white);
    transition: transform 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
}

.icon-wrapper {
    width: 70px;
    height: 70px;
    background-color: var(--text-blue);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 2rem;
}

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

.service-card p {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Redes / Asesoría */
.redes {
    background-color: var(--bg-dark-blue);
    position: relative;
    padding: 180px 0;
    color: var(--text-white);
}

.redes-content {
    position: relative;
    z-index: 1;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
}

.social-box {
    width: 80px;
    height: 80px;
    background-color: #333;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: white;
    transition: transform 0.3s;
}

.social-box:hover {
    transform: scale(1.1);
}

.bg-facebook {
    background-color: #3b5998;
}

.redes h2 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    line-height: 1.1;
}

.btn-gradient {
    display: inline-block;
    padding: 15px 40px;
    background: linear-gradient(90deg, #6a1b9a, #3f51b5);
    color: white;
    border-radius: 30px;
    font-weight: 600;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s;
}

.btn-gradient:hover {
    transform: scale(1.05);
}

/* Blog */
.blog {
    padding: 100px 0 150px 0;
    background-color: var(--text-white);
    position: relative;
}

.blog-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.blog-card {
    max-width: 400px;
    text-align: left;
}

.blog-card img {
    width: 100%;
    border-radius: 10px;
    margin-bottom: 15px;
}

.blog-card h3 {
    font-size: 1.2rem;
    color: var(--bg-blue);
    line-height: 1.4;
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}

.dot.active {
    background-color: var(--bg-blue);
}

/* Opiniones */
.opiniones {
    background-color: var(--bg-dark-blue);
    position: relative;
    padding: 180px 0 100px 0;
}

.opiniones-content {
    position: relative;
    z-index: 1;
}

.opiniones-slider {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 60px;
}

.opinion-card {
    background-color: var(--text-white);
    color: var(--text-dark);
    padding: 30px;
    border-radius: 10px;
    max-width: 400px;
    text-align: left;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.opinion-card p {
    font-size: 1rem;
    font-style: italic;
    margin-bottom: 20px;
    color: #666;
}

.client-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.client-info img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
}

.client-info strong {
    display: block;
    color: var(--bg-blue);
}

.client-info span {
    font-size: 0.8rem;
    color: #888;
}

.rating-section h3 {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--text-blue);
}

.stars {
    color: #f39c12;
    font-size: 2rem;
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 70px;
        left: 0;
        width: 100%;
        background-color: var(--text-white);
        padding: 20px;
        box-shadow: 0 5px 10px rgba(0,0,0,0.1);
    }
    
    .nav-links.active {
        display: flex;
    }

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

    .hero-container {
        flex-direction: column;
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .redes h2 {
        font-size: 2rem;
    }

    .blog-slider, .opiniones-slider {
        flex-direction: column;
        align-items: center;
    }
}
