/* Variables de colores - Nueva paleta Tu Futuro */
:root {
    /* Colores principales */
    --primary: #00829E;
    --primary-dark: #08315D;
    --primary-light: #48BDE0;
    --secondary: #168EC0;
    --accent-teal: #00ADA1;
    --accent-green: #85C492;
    --accent-navy: #004B75;
    --accent-rose: #B44B75;
    --accent-pink: #FF7B92;
    --accent-red: #FF262B;

    /* Colores adicionales para contraste */
    --accent-gold: #D4A853;
    --accent-purple: #6B5B95;
    --accent-coral: #FF6F61;

    /* Neutros */
    --white: #FCFCFC;
    --black: #0A1628;
    --gray: #8A9AAF;
    --gray-light: #E8ECF1;
    --gray-dark: #2D3A4F;
    --gray-medium: #4A5568;

    /* Fondos con profundidad */
    --bg-dark: #0F1C2E;
    --bg-medium: #1A2B42;
    --bg-light: #F0F4F8;
    --bg-gradient-1: linear-gradient(135deg, #08315D 0%, #00829E 100%);
    --bg-gradient-2: linear-gradient(135deg, #00ADA1 0%, #48BDE0 100%);
    --bg-gradient-3: linear-gradient(135deg, #B44B75 0%, #FF7B92 100%);
    --bg-gradient-4: linear-gradient(135deg, #004B75 0%, #168EC0 100%);

    /* Estados */
    --success: #85C492;
    --warning: #D4A853;
    --danger: #FF262B;

    /* Texto */
    --text: #1A2B42;
    --text-light: #5A6B7F;
    --text-on-dark: #E8ECF1;

    /* Sombras */
    --shadow: rgba(8, 49, 93, 0.15);
    --shadow-lg: rgba(8, 49, 93, 0.25);
    --shadow-colored: rgba(0, 130, 158, 0.3);
}

/* Reset y estilos generales */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--bg-light);
    overflow-x: hidden;
}

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

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

a {
    text-decoration: none;
    color: var(--primary);
    transition: all 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

ul {
    list-style: none;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 1rem;
    color: var(--black);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary);
    border-radius: 2px;
}

.section-description {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 3rem;
    color: var(--text-light);
    font-size: 1.1rem;
}

/* Botones */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
}

.btn.primary {
    background: var(--bg-gradient-1);
    color: var(--white);
    box-shadow: 0 4px 15px var(--shadow-colored);
    position: relative;
    overflow: hidden;
}

.btn.primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn.primary:hover::before {
    left: 100%;
}

.btn.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px var(--shadow-colored);
}

.btn.secondary {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn.secondary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    height: 100%;
    background: var(--bg-gradient-2);
    transition: width 0.3s ease;
    z-index: -1;
}

.btn.secondary:hover::before {
    width: 100%;
}

.btn.secondary:hover {
    color: var(--white);
    border-color: var(--accent-teal);
    transform: translateY(-3px);
}

/* Barra superior */
.top-bar {
    background: var(--bg-gradient-1);
    color: var(--white);
    padding: 10px 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

.top-bar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.5;
}

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

.contact-info span {
    margin-right: 20px;
}

.contact-info i,
.social-media i {
    margin-right: 5px;
    color: var(--primary);
}

.social-media a {
    color: var(--white);
    margin-left: 15px;
    font-size: 1rem;
}

.social-media a:hover {
    color: var(--primary);
}

/* Cabecera */
header {
    background-color: var(--white);
    box-shadow: 0 4px 20px var(--shadow);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.3s ease;
}

header.scrolled {
    background-color: rgba(252, 252, 252, 0.95);
    backdrop-filter: blur(10px);
}

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

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

.logo a {
    display: flex;
    align-items: center;
}

.logo img {
    height: 170px;
    margin-right: 15px;
    border-radius: 10px;
    box-shadow: 0 4px 15px var(--shadow);
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.05);
}

.logo-text h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--black);
    line-height: 1.2;
}

.logo-text h1 span {
    color: var(--primary);
}

.slogan {
    font-size: 0.9rem;
    color: var(--gray);
    font-style: italic;
}

nav ul {
    display: flex;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: var(--text);
    font-weight: 600;
    position: relative;
    padding-bottom: 5px;
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease;
}

nav ul li a:hover {
    color: var(--primary);
}

nav ul li a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--text);
}

/* Sección Hero con Carousel */
.hero {
    position: relative;
    min-height: 600px;
    overflow: hidden;
}

.hero-carousel {
    position: relative;
    width: 100%;
    height: 600px;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    background-size: cover;
    background-position: center;
}

.hero-slide.active {
    opacity: 1;
}

.hero-slide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(8, 49, 93, 0.85) 0%, rgba(0, 130, 158, 0.7) 100%);
}

.hero-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 10;
    max-width: 900px;
    width: 90%;
    color: var(--white);
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: fadeInUp 1s ease;
}

.hero p {
    font-size: 1.4rem;
    margin-bottom: 35px;
    opacity: 0.95;
    animation: fadeInUp 1s ease 0.2s backwards;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    animation: fadeInUp 1s ease 0.4s backwards;
}

.carousel-controls {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 12px;
    z-index: 20;
}

.carousel-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.carousel-dot.active,
.carousel-dot:hover {
    background: var(--accent-teal);
    transform: scale(1.2);
}

.carousel-arrows {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 20px;
    z-index: 20;
    pointer-events: none;
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    border: 2px solid rgba(255,255,255,0.5);
    color: var(--white);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    pointer-events: auto;
    backdrop-filter: blur(5px);
}

.carousel-arrow:hover {
    background: var(--primary);
    border-color: var(--primary);
    transform: scale(1.1);
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Sección de servicios */
.services {
    padding: 100px 0;
    background: var(--bg-medium);
    position: relative;
}

.services::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: linear-gradient(180deg, var(--bg-dark) 0%, transparent 100%);
}

.services .section-title,
.services .section-description {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.services .section-title::after {
    background: var(--bg-gradient-2);
}

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

.service-card {
    background: linear-gradient(145deg, var(--white) 0%, var(--gray-light) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow-lg);
    padding: 40px 30px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.1);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-2);
    transform: scaleX(0);
    transition: transform 0.4s ease;
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 50px var(--shadow-lg);
}

.service-card:nth-child(1) .service-icon { background: linear-gradient(135deg, #00829E20 0%, #48BDE020 100%); }
.service-card:nth-child(2) .service-icon { background: linear-gradient(135deg, #00ADA120 0%, #85C49220 100%); }
.service-card:nth-child(3) .service-icon { background: linear-gradient(135deg, #B44B7520 0%, #FF7B9220 100%); }
.service-card:nth-child(4) .service-icon { background: linear-gradient(135deg, #D4A85320 0%, #FF6F6120 100%); }
.service-card:nth-child(5) .service-icon { background: linear-gradient(135deg, #6B5B9520 0%, #168EC020 100%); }
.service-card:nth-child(6) .service-icon { background: linear-gradient(135deg, #004B7520 0%, #00829E20 100%); }

.service-card:nth-child(1) .service-icon i { color: var(--primary); }
.service-card:nth-child(2) .service-icon i { color: var(--accent-teal); }
.service-card:nth-child(3) .service-icon i { color: var(--accent-rose); }
.service-card:nth-child(4) .service-icon i { color: var(--accent-gold); }
.service-card:nth-child(5) .service-icon i { color: var(--accent-purple); }
.service-card:nth-child(6) .service-icon i { color: var(--accent-navy); }

.service-icon {
    width: 90px;
    height: 90px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon {
    transform: rotateY(180deg) scale(1.1);
}

.service-icon i {
    font-size: 2.2rem;
    transition: all 0.4s ease;
}

.service-card:hover .service-icon i {
    transform: rotateY(-180deg);
}

.service-card h3 {
    font-size: 1.4rem;
    margin-bottom: 15px;
    color: var(--primary-dark);
    font-weight: 700;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.7;
}

/* Sección de ventajas */
.advantages {
    padding: 100px 0;
    background: var(--bg-gradient-2);
    position: relative;
    overflow: hidden;
}

.advantages::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 500px;
    height: 500px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
}

.advantages::after {
    content: '';
    position: absolute;
    bottom: -30%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.08);
    border-radius: 50%;
}

.advantages .section-title,
.advantages .section-description {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.advantages .section-title::after {
    background: var(--white);
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: 30px;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.advantage-item {
    text-align: center;
    padding: 40px 25px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    transition: all 0.4s ease;
}

.advantage-item:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-10px);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    transition: all 0.4s ease;
}

.advantage-item:hover .advantage-icon {
    transform: scale(1.1) rotate(10deg);
}

.advantage-icon i {
    font-size: 2rem;
    background: var(--bg-gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.advantage-item h3 {
    font-size: 1.3rem;
    margin-bottom: 12px;
    color: var(--white);
    font-weight: 700;
}

.advantage-item p {
    color: rgba(255,255,255,0.85);
    line-height: 1.6;
}

/* Sección Sobre Nosotros */
.about {
    padding: 100px 0;
    background: linear-gradient(135deg, var(--gray-light) 0%, var(--white) 50%, var(--gray-light) 100%);
    position: relative;
    overflow: hidden;
}

.about::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%2300829E' fill-opacity='0.03' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.about-text {
    text-align: left;
}

.about-text .section-title {
    text-align: left;
}

.about-text .section-title::after {
    left: 0;
    transform: none;
    background: var(--bg-gradient-2);
}

.about-text p {
    margin-bottom: 20px;
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.8;
}

.about-text p strong {
    color: var(--primary-dark);
}

.about-text p em {
    color: var(--accent-teal);
    font-style: normal;
    font-weight: 600;
}

.about-image {
    position: relative;
}

.about-image::before {
    content: '';
    position: absolute;
    top: -20px;
    left: -20px;
    right: 20px;
    bottom: 20px;
    background: var(--bg-gradient-2);
    border-radius: 20px;
    z-index: -1;
}

.about-image img {
    border-radius: 20px;
    box-shadow: 0 20px 50px var(--shadow-lg);
    transition: all 0.4s ease;
}

.about-image:hover img {
    transform: scale(1.02);
}

/* Sección de paquetes */
.packages {
    padding: 80px 0;
    background-color: var(--gray-light);
}

.packages-slider {
    display: flex;
    overflow-x: hidden;
    gap: 30px;
    padding: 20px 0;
    margin: 0 -15px;
    position: relative;
}

.package-card {
    flex: 0 0 calc(33.333% - 20px);
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    overflow: hidden;
    transition: all 0.3s ease;
    margin: 15px;
}

.package-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px var(--shadow);
}

.package-card.featured {
    border: 2px solid var(--primary);
    transform: scale(1.05);
}

.package-card.featured:hover {
    transform: scale(1.05) translateY(-10px);
}

.featured-tag {
    position: absolute;
    top: 0;
    right: 0;
    background-color: var(--primary);
    color: var(--white);
    padding: 5px 10px;
    font-size: 0.8rem;
    border-radius: 0 10px 0 10px;
}

.package-header {
    background-color: var(--black);
    color: var(--white);
    padding: 20px;
    text-align: center;
    position: relative;
}

.package-header h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

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

.package-body {
    padding: 30px;
}

.package-body ul {
    margin-bottom: 30px;
}

.package-body ul li {
    margin-bottom: 10px;
    position: relative;
    padding-left: 25px;
}

.package-body ul li::before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    color: var(--primary);
    position: absolute;
    left: 0;
}

.slider-controls {
    display: flex;
    justify-content: center;
    margin-top: 30px;
    gap: 20px;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--white);
    border: 2px solid var(--primary);
    color: var(--primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

/* Sección de testimonios */
.testimonials {
    padding: 100px 0;
    background: var(--bg-dark);
    position: relative;
    overflow: hidden;
}

.testimonials::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at top right, rgba(0, 130, 158, 0.2) 0%, transparent 50%),
                radial-gradient(ellipse at bottom left, rgba(180, 75, 117, 0.15) 0%, transparent 50%);
}

.testimonials .section-title {
    color: var(--white);
    position: relative;
    z-index: 1;
}

.testimonials .section-title::after {
    background: var(--bg-gradient-3);
}

.testimonials-container {
    display: flex;
    flex-wrap: wrap;
    gap: 30px;
    justify-content: center;
    margin-top: 50px;
    position: relative;
    z-index: 1;
}

.testimonial {
    flex: 0 0 calc(33.333% - 20px);
    background: linear-gradient(145deg, var(--bg-medium) 0%, var(--bg-dark) 100%);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    padding: 35px;
    position: relative;
    border: 1px solid rgba(255,255,255,0.1);
    transition: all 0.4s ease;
}

.testimonial:hover {
    transform: translateY(-10px);
    border-color: var(--accent-teal);
}

.testimonial::before {
    content: '\f10d';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    font-size: 3rem;
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    opacity: 0.3;
    position: absolute;
    top: 20px;
    left: 25px;
}

.testimonial-content {
    margin-bottom: 25px;
    padding-top: 20px;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-on-dark);
    line-height: 1.8;
    font-size: 1.05rem;
}

.testimonial-author {
    display: flex;
    align-items: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.testimonial-author img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    object-fit: cover;
    border: 3px solid var(--accent-teal);
}

.testimonial-author h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: var(--white);
}

.testimonial-author span {
    font-size: 0.9rem;
    color: var(--accent-teal);
}

/* Sección de contacto */
.contact {
    padding: 100px 0;
    background: linear-gradient(180deg, var(--bg-light) 0%, var(--gray-light) 100%);
    position: relative;
}

.contact .section-title::after {
    background: var(--bg-gradient-1);
}

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

.contact-info-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-bottom: 30px;
}

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

.contact-item {
    display: flex;
    align-items: flex-start;
}

.contact-item i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-right: 15px;
    margin-top: 5px;
}

.contact-item h3 {
    font-size: 1.2rem;
    margin-bottom: 5px;
}

.map-container {
    height: 100%;
    min-height: 300px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px var(--shadow);
}

.contact-form-container {
    background-color: var(--white);
    border-radius: 10px;
    box-shadow: 0 5px 15px var(--shadow);
    padding: 30px;
}

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

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

.form-group:nth-child(5),
.form-group:nth-child(6) {
    grid-column: span 2;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--gray);
    border-radius: 5px;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 2px rgba(7, 201, 252, 0.2);
}

.contact-form button {
    grid-column: span 2;
    justify-self: center;
    width: 200px;
}

/* Sección CTA */
.cta {
    background: var(--bg-gradient-1);
    position: relative;
    overflow: hidden;
    color: var(--white);
    padding: 100px 0;
    text-align: center;
}

.cta::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.08'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.cta::after {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
}

.cta-content {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.cta h2 {
    font-size: 2.8rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cta p {
    font-size: 1.3rem;
    margin-bottom: 35px;
    opacity: 0.95;
}

/* Footer */
footer {
    background: linear-gradient(180deg, var(--bg-dark) 0%, var(--black) 100%);
    color: var(--white);
    padding: 80px 0 20px;
    position: relative;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient-2);
}

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

.footer-logo img {
    height: 50px;
    margin-bottom: 15px;
}

.footer-logo h3 {
    font-size: 1.3rem;
    line-height: 1.3;
    margin-bottom: 10px;
}

.footer-logo h3 span {
    color: var(--primary);
}

.footer-logo p {
    color: var(--gray);
    font-style: italic;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1.2rem;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 10px;
}

.footer-links h4::after,
.footer-services h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 50px;
    height: 3px;
    background-color: var(--primary);
}

.footer-links ul li,
.footer-services ul li {
    margin-bottom: 10px;
}

.footer-links ul li a,
.footer-services ul li a {
    color: var(--gray);
    transition: all 0.3s ease;
}

.footer-links ul li a:hover,
.footer-services ul li a:hover {
    color: var(--primary);
    padding-left: 5px;
}

.footer-contact p {
    margin-bottom: 15px;
    color: var(--gray);
    display: flex;
    align-items: center;
}

.footer-contact p i {
    color: var(--primary);
    margin-right: 10px;
    width: 20px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    color: var(--white);
    transition: all 0.3s ease;
}

.footer-social a:hover {
    background-color: var(--primary);
    transform: translateY(-5px);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 20px;
    text-align: center;
    color: var(--gray);
    font-size: 0.9rem;
}

.footer-bottom p {
    margin-bottom: 10px;
}

.footer-bottom i {
    color: var(--accent-rose);
}

.footer-bottom a {
    color: var(--accent-teal);
    transition: color 0.3s ease;
}

.footer-bottom a:hover {
    color: var(--accent-pink);
}

/* Scroll Reveal Animations */
.reveal {
    opacity: 0;
    transform: translateY(50px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-left {
    opacity: 0;
    transform: translateX(-100px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-left.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-right {
    opacity: 0;
    transform: translateX(100px);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-right.active {
    opacity: 1;
    transform: translateX(0);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.8s cubic-bezier(0.5, 0, 0, 1);
}

.reveal-scale.active {
    opacity: 1;
    transform: scale(1);
}

/* Stats Counter Section */
.stats-section {
    padding: 80px 0;
    background: var(--bg-gradient-4);
    position: relative;
    overflow: hidden;
}

.stats-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='%23ffffff' fill-opacity='0.05' fill-rule='evenodd'%3E%3Cpath d='M0 40L40 0H20L0 20M40 40V20L20 40'/%3E%3C/g%3E%3C/svg%3E");
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    position: relative;
    z-index: 1;
}

.stat-item {
    text-align: center;
    padding: 30px 20px;
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.stat-number span {
    color: var(--accent-teal);
}

.stat-label {
    font-size: 1.1rem;
    color: rgba(255,255,255,0.9);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Featured Services Section */
.featured-services {
    padding: 100px 0;
    background: var(--white);
    position: relative;
}

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

.featured-item {
    display: grid;
    grid-template-columns: 1fr 1fr;
    min-height: 400px;
}

.featured-item:nth-child(even) {
    direction: rtl;
}

.featured-item:nth-child(even) > * {
    direction: ltr;
}

.featured-image {
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.featured-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(0, 130, 158, 0.3) 0%, rgba(8, 49, 93, 0.5) 100%);
    transition: opacity 0.4s ease;
}

.featured-item:hover .featured-image::before {
    opacity: 0.7;
}

.featured-content {
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--bg-medium);
}

.featured-item:nth-child(odd) .featured-content {
    background: var(--bg-dark);
}

.featured-content h3 {
    font-size: 1.8rem;
    color: var(--white);
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.featured-content h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: var(--bg-gradient-2);
}

.featured-content p {
    color: var(--text-on-dark);
    line-height: 1.8;
    margin-bottom: 25px;
}

.featured-content .btn {
    align-self: flex-start;
}

/* Process/Steps Section */
.process-section {
    padding: 100px 0;
    background: var(--bg-light);
}

.process-steps {
    display: flex;
    justify-content: space-between;
    position: relative;
    margin-top: 60px;
}

.process-steps::before {
    content: '';
    position: absolute;
    top: 50px;
    left: 10%;
    right: 10%;
    height: 3px;
    background: var(--bg-gradient-2);
}

.process-step {
    text-align: center;
    position: relative;
    flex: 1;
    padding: 0 20px;
}

.step-number {
    width: 100px;
    height: 100px;
    background: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    box-shadow: 0 10px 30px var(--shadow);
    position: relative;
    z-index: 1;
    transition: all 0.4s ease;
    border: 4px solid transparent;
}

.process-step:hover .step-number {
    background: var(--bg-gradient-1);
    color: var(--white);
    transform: scale(1.1);
    border-color: var(--accent-teal);
}

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

.process-step p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Service Card Link */
.btn-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--primary);
    font-weight: 600;
    margin-top: 15px;
    transition: all 0.3s ease;
}

.btn-link:hover {
    color: var(--accent-teal);
    gap: 12px;
}

.btn-link i {
    transition: transform 0.3s ease;
}

.btn-link:hover i {
    transform: translateX(5px);
}

/* Author Avatar for Testimonials */
.author-avatar {
    width: 50px;
    height: 50px;
    background: var(--bg-gradient-2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: var(--white);
    font-size: 1.2rem;
}

.rating {
    margin-top: 5px;
}

.rating i {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

/* Page Banner for Legal Pages */
.page-banner {
    background: var(--bg-gradient-1);
    padding: 100px 0 60px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.page-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.page-banner h1 {
    color: var(--white);
    font-size: 3rem;
    margin-bottom: 15px;
    position: relative;
    z-index: 1;
}

.page-banner p {
    color: rgba(255,255,255,0.9);
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
}

/* Legal Content Styles */
.legal-content {
    padding: 80px 0;
    background: var(--bg-light);
}

.legal-card {
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 10px 40px var(--shadow);
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.legal-icon {
    width: 80px;
    height: 80px;
    background: var(--bg-gradient-1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 30px;
    color: var(--white);
    font-size: 2rem;
}

.legal-section {
    margin-bottom: 40px;
    padding-bottom: 30px;
    border-bottom: 1px solid var(--gray-light);
}

.legal-section:last-of-type {
    border-bottom: none;
}

.legal-section h2 {
    color: var(--primary-dark);
    font-size: 1.5rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.legal-section p {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: 15px;
}

.legal-section ul {
    list-style: none;
    padding: 0;
}

.legal-section ul li {
    padding: 10px 0;
    color: var(--text-light);
    display: flex;
    align-items: flex-start;
    gap: 12px;
}

.legal-section ul li i {
    color: var(--accent-teal);
    margin-top: 4px;
}

.legal-section ul li i.fa-times-circle {
    color: var(--accent-rose);
}

/* Purpose Grid */
.purpose-grid,
.requirements-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 20px;
}

.purpose-item,
.requirement-item {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    transition: all 0.3s ease;
}

.purpose-item:hover,
.requirement-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px var(--shadow);
}

.purpose-item i,
.requirement-item i {
    font-size: 2rem;
    color: var(--primary);
    margin-bottom: 15px;
}

.purpose-item h4,
.requirement-item h4 {
    color: var(--primary-dark);
    margin-bottom: 10px;
}

.purpose-item p,
.requirement-item p {
    color: var(--text-light);
    font-size: 0.9rem;
    margin: 0;
}

/* Security Badges */
.security-badges {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 25px;
    flex-wrap: wrap;
}

.security-badge {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 20px 30px;
    background: var(--bg-gradient-1);
    border-radius: 15px;
    color: var(--white);
}

.security-badge i {
    font-size: 2rem;
}

.security-badge span {
    font-size: 0.9rem;
    font-weight: 600;
}

/* Highlight Box */
.highlight-box {
    background: linear-gradient(135deg, rgba(0, 130, 158, 0.1) 0%, rgba(72, 189, 224, 0.1) 100%);
    border-left: 4px solid var(--primary);
    padding: 20px 25px;
    border-radius: 0 15px 15px 0;
    display: flex;
    align-items: center;
    gap: 20px;
    margin-top: 20px;
}

.highlight-box i {
    font-size: 2rem;
    color: var(--primary);
}

.highlight-box p {
    margin: 0;
    color: var(--text);
}

/* Contact Legal */
.contact-legal {
    background: var(--bg-light);
    padding: 25px;
    border-radius: 15px;
    margin-top: 20px;
}

.contact-legal p {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 10px;
}

.contact-legal p:last-child {
    margin-bottom: 0;
}

.contact-legal i {
    color: var(--primary);
    width: 20px;
}

/* Legal Footer */
.legal-footer {
    text-align: center;
    padding-top: 30px;
    border-top: 2px solid var(--gray-light);
    margin-top: 40px;
}

.legal-footer p {
    color: var(--text-light);
    margin-bottom: 20px;
}

/* Responsive for Legal Pages */
@media (max-width: 768px) {
    .legal-card {
        padding: 30px 20px;
    }
    
    .page-banner h1 {
        font-size: 2rem;
    }
    
    .purpose-grid,
    .requirements-grid {
        grid-template-columns: 1fr;
    }
    
    .security-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Botón de WhatsApp flotante */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 99;
    transition: all 0.3s ease;
}

.whatsapp-float:hover {
    transform: scale(1.1);
    background-color: #128c7e;
}

/* Pulse animation for WhatsApp button */
@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

.whatsapp-float {
    animation: pulse 2s infinite;
}

/* Smooth loading animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

body {
    animation: fadeIn 0.5s ease;
}

/* Gradient text effect for special elements */
.gradient-text {
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Hover glow effect */
.glow-hover:hover {
    box-shadow: 0 0 30px var(--shadow-colored);
}

/* Contact form enhanced styles */
.contact-form-container {
    background: linear-gradient(145deg, var(--white) 0%, var(--gray-light) 100%);
    border: 1px solid rgba(0, 130, 158, 0.1);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(0, 130, 158, 0.15);
}

/* Map container enhanced */
.map-container {
    border: 3px solid var(--primary-light);
    border-radius: 15px;
}

/* Footer enhanced styles */
.footer-logo h3 span {
    background: var(--bg-gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Social media hover colors */
.footer-social a:nth-child(1):hover { background: #1877f2; }
.footer-social a:nth-child(2):hover { background: linear-gradient(45deg, #f09433, #e6683c, #dc2743, #cc2366, #bc1888); }
.footer-social a:nth-child(3):hover { background: #25d366; }
.footer-social a:nth-child(4):hover { background: #ff0000; }

/* Top bar social hover */
.social-media a:hover {
    color: var(--accent-teal);
    transform: scale(1.2);
    display: inline-block;
}

/* Section title enhanced */
.section-title {
    position: relative;
}

/* CTA button enhanced */
.cta .btn.primary {
    background: var(--white);
    color: var(--primary-dark);
    font-weight: 700;
    padding: 15px 35px;
    font-size: 1.1rem;
}

.cta .btn.primary:hover {
    background: var(--accent-teal);
    color: var(--white);
}

/* Media Queries */
@media (max-width: 1024px) {
    .package-card {
        flex: 0 0 calc(50% - 30px);
    }

    .testimonial {
        flex: 0 0 calc(50% - 20px);
    }
}

@media (max-width: 768px) {
    .section-title {
        font-size: 2rem;
    }

    nav {
        display: none;
    }

    .menu-toggle {
        display: block;
    }

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

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

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

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

    .form-group:nth-child(5),
    .form-group:nth-child(6),
    .contact-form button {
        grid-column: span 1;
    }

    .package-card {
        flex: 0 0 calc(100% - 30px);
    }

    .testimonial {
        flex: 0 0 100%;
    }

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

@media (max-width: 768px) {
    .hero-carousel,
    .hero {
        min-height: 500px;
        height: 500px;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    .carousel-arrows {
        display: none;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .featured-item {
        grid-template-columns: 1fr;
    }
    
    .featured-image {
        min-height: 250px;
    }
    
    .process-steps {
        flex-direction: column;
        gap: 40px;
    }
    
    .process-steps::before {
        display: none;
    }
}

@media (max-width: 576px) {
    .hero-buttons {
        flex-direction: column;
        gap: 10px;
    }

    .logo img {
        height: 50px;
        margin-right: 10px;
    }

    .logo-text h1 {
        font-size: 1.1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }

    .top-bar .container {
        flex-direction: column;
        gap: 10px;
    }

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