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

/* Variables */
:root {
    --primary: #0066CC;
    --secondary: #FF6B6B;
    --dark: #1a1a1a;
    --light: #f8f9fa;
    --white: #ffffff;
    --gray: #666666;
}

/* Base */
body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--dark);
}

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

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    z-index: 1000;
    padding: 1rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

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

.nav-brand {
    display: flex;
    align-items: center;
}

.logo {
    height: 40px;
    width: auto;
}

.nav-links {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.social-links {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin: 0 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(0, 102, 204, 0.1);
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s;
}

.social-link:hover {
    background: var(--primary);
    color: white;
    transform: translateY(-2px);
}

.nav-links a {
    text-decoration: none;
    color: white;
    font-weight: 500;
    transition: color 0.3s;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.nav-links a:hover {
    color: var(--secondary);
}

.nav-cta {
    background: var(--secondary);
    color: white !important;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
}

.nav-cta:hover {
    background: #ff5252 !important;
    transform: translateY(-2px);
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    color: white;
    text-align: center;
    padding-top: 80px;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
    transform: translateZ(0);
    will-change: auto;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
}

/* Hero Service Cards */
.service-cards-hero {
    margin-top: 3rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}



.hero-service-card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(25px);
    border-radius: 20px;
    padding: 2rem;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.6s;
}

.hero-service-card:hover::before {
    left: 100%;
}

.hero-service-card:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.25);
    border-color: var(--primary);
}

.travel-card:hover {
    background: rgba(0, 102, 204, 0.25);
    border-color: rgba(0, 102, 204, 0.4);
}

.legal-card:hover {
    background: rgba(255, 107, 107, 0.25);
    border-color: rgba(255, 107, 107, 0.4);
}

.hero-service-card .card-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s;
    flex-shrink: 0;
}

.travel-card .card-icon {
    background: rgba(0, 102, 204, 0.2);
    color: rgba(0, 102, 204, 0.9);
    border: 1px solid rgba(0, 102, 204, 0.3);
}

.legal-card .card-icon {
    background: rgba(255, 107, 107, 0.2);
    color: rgba(255, 107, 107, 0.9);
    border: 1px solid rgba(255, 107, 107, 0.3);
}

.hero-service-card:hover .card-icon {
    transform: rotate(5deg) scale(1.1);
}

.hero-service-card .card-content {
    flex: 1;
    position: relative;
}

.hero-service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
    color: white;
}

.travel-card:hover h3 {
    color: rgba(173, 216, 255, 1);
}

.legal-card:hover h3 {
    color: rgba(255, 182, 182, 1);
}

.hero-service-card p {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.4;
    margin-bottom: 1rem;
}

.card-arrow {
    position: absolute;
    right: 0;
    bottom: 0;
    font-size: 1.5rem;
    font-weight: bold;
    opacity: 0;
    transform: translateX(-10px);
    transition: all 0.3s;
}

.travel-card .card-arrow {
    color: rgba(173, 216, 255, 1);
}

.legal-card .card-arrow {
    color: rgba(255, 182, 182, 1);
}

.hero-service-card:hover .card-arrow {
    opacity: 1;
    transform: translateX(0);
}

.hero-content h1 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 400;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-display: swap;
    will-change: transform;
}

#rotating-text {
    transition: opacity 0.3s ease;
    font-display: swap;
    contain: layout style paint;
}

.agency-name {
    font-size: clamp(1.5rem, 3vw, 2.5rem);
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.con-text {
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.agency-brand {
    font-family: 'Tenor Sans', sans-serif;
    font-weight: 400;
    letter-spacing: 0.05em;
}

.highlight {
    color: var(--secondary);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

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

.btn-primary:hover {
    background: #ff5252;
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-3px);
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat .number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--secondary);
}

.stat .label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Services */
.services {
    padding: 3rem 0 5rem;
    background: var(--light);
    text-align: center;
}

.services h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
}

.service-card {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.service-icon {
    margin-bottom: 1.5rem;
    color: var(--primary);
    display: flex;
    justify-content: center;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--dark);
}

.service-card ul {
    list-style: none;
}

.service-card li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Destinations */
.destinations {
    padding: 5rem 0;
    text-align: center;
}

.destinations h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark);
}

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

.destination-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.destination-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.punta-cana {
    background: linear-gradient(45deg, rgba(0, 180, 219, 0.8), rgba(0, 131, 176, 0.8)),
                linear-gradient(135deg, #00b4db, #0083b0);
}

.cancun {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.8), rgba(255, 142, 142, 0.8)),
                linear-gradient(135deg, #ff6b6b, #ff8e8e);
}

.cuba {
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.8), rgba(68, 160, 141, 0.8)),
                linear-gradient(135deg, #4ecdc4, #44a08d);
}

.europa {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)),
                linear-gradient(135deg, #667eea, #764ba2);
}

.destination-content {
    padding: 1.5rem;
}

.destination-content h3 {
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
    color: var(--dark);
}

.destination-content p {
    color: var(--gray);
    margin-bottom: 1rem;
}

.price {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--secondary);
}

/* Contact */
.contact {
    padding: 5rem 0;
    background: var(--light);
    text-align: center;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
}

.contact-info h2 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: var(--dark);
    letter-spacing: 0.02em;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.contact-item svg {
    color: var(--primary);
    flex-shrink: 0;
}

.contact-item a {
    color: var(--primary);
    text-decoration: none;
}

.contact-item a:hover {
    text-decoration: underline;
}

.phone-numbers {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.phone-numbers a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
}

.phone-numbers a:hover {
    text-decoration: underline;
}

.contact-form {
    background: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.contact-form h3 {
    font-size: 1.5rem;
    margin-bottom: 1.5rem;
    color: var(--dark);
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    font-size: 1rem;
    transition: border-color 0.3s;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
}

.contact-form button {
    width: 100%;
    padding: 1rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background 0.3s;
}

.contact-form button:hover {
    background: #0052a3;
}

/* Footer */
.footer {
    background: var(--dark);
    color: white;
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo-img {
    height: 40px;
    width: 40px;
}

.footer-brand h3 {
    font-size: 1.5rem;
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.footer-social .social-link {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.footer-social .social-link:hover {
    background: var(--secondary);
}

.footer-brand p {
    opacity: 0.8;
    line-height: 1.6;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 1rem;
    color: var(--secondary);
}

.footer-links a {
    display: block;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    margin-bottom: 0.5rem;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: white;
}

.footer-contact p {
    margin-bottom: 0.5rem;
    opacity: 0.8;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.footer-contact svg {
    color: var(--secondary);
    flex-shrink: 0;
}

/* Travel & Tourism Section */
.travel-tourism {
    padding: 5rem 0;
    background: var(--light);
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 2.5rem;
    color: var(--dark);
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.section-header p {
    font-size: 1.1rem;
    color: var(--gray);
    max-width: 600px;
    margin: 0 auto;
}

.destination-categories {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.category-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

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

.category-image {
    height: 200px;
    background-size: cover;
    background-position: center;
}

.caribe .category-image {
    background: linear-gradient(45deg, rgba(0, 180, 219, 0.8), rgba(0, 131, 176, 0.8)),
                url('assets/background_1.jpg');
    background-size: cover;
}

.mexico .category-image {
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.8), rgba(255, 142, 142, 0.8)),
                url('assets/background_0.jpg');
    background-size: cover;
}

.cuba .category-image {
    background: linear-gradient(45deg, rgba(78, 205, 196, 0.8), rgba(68, 160, 141, 0.8)),
                url('assets/background_1.jpg');
    background-size: cover;
}

.europa .category-image {
    background: linear-gradient(45deg, rgba(102, 126, 234, 0.8), rgba(118, 75, 162, 0.8)),
                url('assets/background_1.jpg');
    background-size: cover;
}

.category-content {
    padding: 2rem;
}

.category-content h3 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
    letter-spacing: 0.02em;
}

.category-content > p {
    color: var(--gray);
    margin-bottom: 1.5rem;
}

.destination-item {
    border-top: 1px solid #eee;
    padding-top: 1rem;
    margin-top: 1rem;
}

.destination-item h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.25rem;
}

.destination-country {
    font-size: 0.9rem;
    color: var(--gray);
    display: block;
    margin-bottom: 0.5rem;
}

.price {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--secondary);
    display: block;
    margin-bottom: 0.75rem;
}

.hotels {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.hotels span {
    background: var(--light);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    color: var(--gray);
}

/* Travel Services */
.travel-services {
    text-align: center;
    margin-top: 3rem;
}

.travel-services h3 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 2rem;
    letter-spacing: 0.02em;
}

.services-grid-travel {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.travel-service {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s;
}

.travel-service:hover {
    transform: translateY(-5px);
}

.travel-service svg {
    color: var(--primary);
    margin-bottom: 1rem;
}

.travel-service h4 {
    font-size: 1.1rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.travel-service p {
    color: var(--gray);
    font-size: 0.9rem;
}

/* Legal Services Section */
.legal-services {
    padding: 5rem 0;
    background: white;
}

.legal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.legal-category {
    text-align: center;
    padding: 2.5rem;
    border-radius: 20px;
    background: var(--light);
    transition: all 0.3s;
}

.legal-category:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
}

.legal-icon {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.legal-icon svg {
    color: var(--secondary);
}

.legal-category h3 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 1.5rem;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
}

.legal-services-list {
    list-style: none;
    text-align: left;
    max-width: 280px;
    margin: 0 auto;
}

.legal-services-list li {
    padding: 0.5rem 0;
    color: var(--gray);
    position: relative;
    padding-left: 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.legal-services-list li:last-child {
    border-bottom: none;
}

.legal-services-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--secondary);
    font-weight: bold;
}

/* Legal CTA */
.legal-cta {
    text-align: center;
    background: linear-gradient(135deg, var(--primary), #0052a3);
    color: white;
    padding: 3rem;
    border-radius: 20px;
    margin-top: 2rem;
}

.legal-cta h3 {
    font-family: 'Tenor Sans', sans-serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    letter-spacing: 0.02em;
}

.legal-cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.legal-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.legal-buttons .btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.legal-buttons .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.6;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 2rem;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .service-cards-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
        padding: 0 1rem;
    }
    
    .hero-service-card {
        padding: 1.5rem;
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .hero-service-card .card-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-cards-hero {
        grid-template-columns: 1fr;
        gap: 1rem;
        margin-top: 2rem;
    }
    
    .destination-categories {
        grid-template-columns: 1fr;
    }
    
    .legal-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid-travel {
        grid-template-columns: 1fr;
    }
    
    .legal-buttons {
        flex-direction: column;
        align-items: center;
    }
}