:root {
    /* Color Palette */
    --bg-primary: #0a1128;
    --bg-secondary: #121c3b;
    --accent-gold: #d4af37;
    --accent-gold-hover: #e6c863;
    --text-main: #f8f9fa;
    --text-muted: #a0aab2;

    /* Glassmorphism */
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);

    /* Fonts */
    --font-sans: 'Outfit', sans-serif;
    --font-serif: 'Playfair Display', serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-family: var(--font-sans);
    background-color: var(--bg-primary);
    color: var(--text-main);
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

body {
    -webkit-font-smoothing: antialiased;
    width: 100%;
    max-width: 100vw;
    overflow-x: hidden;
}

/* Typography Utilities */
h1,
h2,
h3,
h4 {
    font-weight: 600;
}

.highlight {
    color: var(--accent-gold);
    font-family: var(--font-serif);
    font-style: italic;
    font-weight: 400;
}

.text-center {
    text-align: center;
}

.mb-12 {
    margin-bottom: 3rem;
}

/* Background Glows */
.bg-glow {
    position: absolute;
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.08) 0%, transparent 60%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
}

.circle-top {
    top: -20%;
    right: -10%;
}

.circle-bottom {
    bottom: -10%;
    left: -20%;
}

/* Glassmorphism Classes */
.glass {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.section {
    padding: 100px 0;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 24px 0;
    z-index: 100;
    transition: all 0.4s ease;
}

.navbar.scrolled {
    padding: 16px 0;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.brand {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--accent-gold);
    text-decoration: none;
    letter-spacing: 2px;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: var(--accent-gold);
}

.nav-cta {
    padding: 10px 24px;
    border: 1px solid var(--accent-gold);
    border-radius: 30px;
    color: var(--accent-gold);
}

.nav-cta:hover {
    background: var(--accent-gold);
    color: var(--bg-primary);
}

.nav-logo {
    height: 60px;
    width: auto;
    object-fit: contain;
}

.menu-btn {
    display: none;
    font-size: 1.5rem;
    color: var(--text-main);
    cursor: pointer;
}

/* Mobile Menu */
.mobile-menu {
    position: fixed;
    top: 0;
    left: 100%;
    width: 100%;
    height: 100vh;
    background: var(--bg-primary);
    z-index: 99;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 40px;
    transition: left 0.4s cubic-bezier(0.77, 0, 0.175, 1);
}

.mobile-menu.active {
    left: 0;
}

.mobile-link {
    font-size: 2rem;
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-serif);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding-top: 80px;
    text-align: center;
    overflow: hidden;
    /* Prevent floating images from breaking mobile viewport */
}

.hero-bg-img {
    position: absolute;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    max-width: 45vw;
    /* Responsive sizing */
    max-height: 50vh;
    object-fit: contain;
}

.hero-avion {
    top: 15%;
    right: 5%;
    transform: rotate(15deg);
    animation: floatPlane 6s ease-in-out infinite;
}

.hero-maleta {
    bottom: 10%;
    left: 5%;
    transform: rotate(-10deg);
    animation: floatSuitcase 8s ease-in-out infinite;
}

@keyframes floatPlane {
    0% {
        transform: translateY(0px) rotate(15deg);
    }

    50% {
        transform: translateY(-15px) rotate(12deg);
    }

    100% {
        transform: translateY(0px) rotate(15deg);
    }
}

@keyframes floatSuitcase {
    0% {
        transform: translateY(0px) rotate(-10deg);
    }

    50% {
        transform: translateY(-10px) rotate(-12deg);
    }

    100% {
        transform: translateY(0px) rotate(-10deg);
    }
}

.hero-content {
    max-width: 800px;
    padding: 0 24px;
    z-index: 1;
}

.subtitle {
    font-size: 1rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.hero-title {
    font-size: clamp(2.5rem, 5vw, 4.5rem);
    line-height: 1.1;
    margin-bottom: 24px;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-muted);
    margin-bottom: 40px;
    font-weight: 300;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 36px;
    border-radius: 40px;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cta-button.primary {
    background: var(--accent-gold);
    color: var(--bg-primary);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.cta-button.primary:hover {
    background: var(--accent-gold-hover);
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
}

/* Section Shared */
.section-title {
    font-family: var(--font-serif);
    font-size: 2.5rem;
    margin-bottom: 24px;
}

.section-title i {
    color: var(--accent-gold);
    font-style: italic;
    font-weight: 400;
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

/* About Grid */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.about-text p {
    color: var(--text-muted);
    line-height: 1.8;
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.about-text strong {
    color: var(--text-main);
    font-weight: 600;
}

.about-image-wrapper {
    width: 100%;
    /* Premium Polaroid / Photo Frame Style */
    background-color: var(--text-main);
    padding: 16px;
    padding-bottom: 50px;
    /* Thicker bottom for the classic photo look */
    position: relative;
    aspect-ratio: 4/3;
    border-radius: 4px;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    transform: rotate(-3deg);
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.6s ease;
}

.about-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.8s ease;
    border-radius: 2px;
}

.about-image-wrapper:hover {
    transform: rotate(0deg) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.6);
}

.about-image-wrapper:hover .about-img {
    /* Subtle inner zoom */
    transform: scale(1.03);
}

.about-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.stat-card {
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 2rem;
    color: var(--accent-gold);
    margin-bottom: 16px;
}

.stat-card h3 {
    margin-bottom: 8px;
    font-size: 1.1rem;
}

.stat-card p {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.5;
}

/* Services Grid */
.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.service-card {
    padding: 40px 30px;
    height: 100%;
    display: flex;
    flex-direction: column;
    transition: transform 0.4s ease, border-color 0.4s ease;
    position: relative;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: rgba(212, 175, 55, 0.3);
}

.service-card.featured {
    border-color: rgba(212, 175, 55, 0.4);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3), inset 0 0 20px rgba(212, 175, 55, 0.05);
}

.badge {
    position: absolute;
    top: -12px;
    right: 30px;
    background: var(--accent-gold);
    color: var(--bg-primary);
    padding: 4px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-icon {
    font-size: 2.5rem;
    color: var(--accent-gold);
    margin-bottom: 24px;
}

.service-card h3 {
    font-size: 1.5rem;
    margin-bottom: 16px;
    font-family: var(--font-serif);
}

.service-card p {
    color: var(--text-muted);
    line-height: 1.6;
    margin-bottom: 24px;
    flex-grow: 1;
}

.service-list {
    list-style: none;
}

.service-list li {
    margin-bottom: 12px;
    color: var(--text-main);
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 10px;
}

.service-list i {
    color: var(--accent-gold);
    font-size: 0.8rem;
}

/* Footer */
.footer {
    background: #060b19;
    padding: 80px 0 40px;
    border-top: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
}

.footer-map-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    /* Keeps the whole map visible */
    opacity: 0.08;
    /* Very subtle like a watermark */
    z-index: 0;
    pointer-events: none;
}

.footer .container {
    position: relative;
    z-index: 1;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-brand h2 {
    font-family: var(--font-serif);
    color: var(--accent-gold);
    letter-spacing: 2px;
    margin-bottom: 16px;
    font-size: 1.8rem;
}

.footer-logo {
    width: 180px;
    margin-bottom: 16px;
}

.footer-brand p {
    color: var(--text-muted);
    margin-bottom: 24px;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-icon {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    color: var(--text-main);
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: var(--accent-gold);
    border-color: var(--accent-gold);
    transform: translateY(-3px);
}

.footer-contact h3 {
    margin-bottom: 24px;
    font-size: 1.2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 16px;
    transition: color 0.3s ease;
}

.contact-item:hover {
    color: var(--accent-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Entry Animations */
.fade-in-up {
    animation: fadeInUp 1s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsiveness */
/* Tablet & Small Desktop (Max 1024px) */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (Max 900px) */
@media (max-width: 900px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image-wrapper {
        margin: 0 auto;
        max-width: 600px;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .social-links {
        justify-content: center;
    }

    .footer-contact {
        align-items: center;
        display: flex;
        flex-direction: column;
    }
}

/* Mobile Devices (Max 768px) */
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }

    .nav-links {
        display: none;
    }

    .menu-btn {
        display: block;
    }

    .nav-logo {
        height: 35px;
        max-width: 55vw;
        object-fit: contain;
    }

    .hero-title {
        font-size: clamp(1.8rem, 7vw, 2.5rem);
        margin-bottom: 20px;
    }

    .hero-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }

    /* HIDE decorative images on mobile to prevent overflow */
    .hero-bg-img {
        display: none !important;
    }

    /* Disable hover transforms on mobile (no hover on touch) */
    .service-card:hover {
        transform: none;
    }

    .service-card:hover .stamp-wrapper {
        transform: none;
    }

    .about-image-wrapper {
        transform: rotate(0deg);
        /* No tilt on mobile */
    }

    .about-image-wrapper:hover {
        transform: none;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .service-card {
        padding: 25px 20px;
    }

    .about-stats-grid {
        grid-template-columns: 1fr;
    }

    .section-title {
        font-size: 2rem;
    }

    .floating-wa {
        bottom: 80px;
        right: 16px;
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
    }
}

/* Small Mobile (Max 480px) */
@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .cta-button {
        padding: 14px 28px;
        width: 100%;
        /* Full width button on small mobile */
        justify-content: center;
    }

    .floating-wa {
        bottom: 85px;
        /* Moved up to clear mobile browser bottom bars */
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}

/* Margin Utility */
.mt-4 {
    margin-top: 1.5rem;
}

/* Stamp Mask for Images in Services */
.stamp-wrapper {
    width: 100%;
    /* Creating a clean white postcard/stamp background */
    background-color: var(--text-main);
    padding: 12px;
    position: relative;
    aspect-ratio: 4/3;
    margin-top: auto;
    /* Push to bottom of flex card */
    transition: transform 0.4s ease;
    border-radius: 4px;
    /* Slight rounding for a premium card feel */
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

/* Subtle Golden Dashed Inner Border (Classic Stamp Look) */
.stamp-wrapper::before {
    content: '';
    position: absolute;
    top: 6px;
    left: 6px;
    right: 6px;
    bottom: 6px;
    border: 1.5px dashed var(--accent-gold);
    border-radius: 2px;
    pointer-events: none;
    z-index: 1;
    opacity: 0.8;
}

.service-card:hover .stamp-wrapper {
    transform: translateY(-5px) rotate(2deg);
}

.service-card:nth-child(even):hover .stamp-wrapper {
    transform: translateY(-5px) rotate(-2deg);
}

.stamp-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Inner image also gets a slight crop inside the white border */
    transition: transform 0.8s ease;
}

.service-card:hover .stamp-img {
    transform: scale(1.08);
}

/* Floating WhatsApp Custom Button */
.floating-wa {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 2rem;
    color: var(--accent-gold);
    text-decoration: none;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.floating-wa::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: var(--accent-gold);
    opacity: 0.1;
    z-index: -1;
    transition: opacity 0.3s ease;
}

.floating-wa:hover {
    transform: translateY(-5px) scale(1.1);
    color: var(--bg-primary);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
    border-color: var(--accent-gold);
}

.floating-wa:hover::before {
    opacity: 1;
}

/* Pulse Animation for WA Button */
.floating-wa {
    animation: waPulse 3s infinite;
}

@keyframes waPulse {
    0% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4);
    }

    70% {
        box-shadow: 0 0 0 15px rgba(212, 175, 55, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(212, 175, 55, 0);
    }
}

@media (max-width: 768px) {
    .floating-wa {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
        font-size: 1.6rem;
    }
}