:root {
    --color-primary-dark: #0A0E17;
    --color-primary-light: #D4AF37;
    --color-secondary-gold: #D4AF37;
    --color-text-dark: #0A0E17;
    --color-text-light: #6c7a89;
    --color-background-light: #ffffff;
    --color-background-dark: #0A0E17;
    --color-panel-background: #ffffff;
    --color-border: #e0e6ed;
    --color-header-bg: #0A0E17;
    --gradient-primary: linear-gradient(135deg, #D4AF37 0%, #F4D03F 100%);
    --gradient-dark: linear-gradient(135deg, #0A0E17 0%, #1a1f2e 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.1);
    --shadow-medium: 0 20px 40px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 30px 60px rgba(0, 0, 0, 0.2);
}

* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background: var(--gradient-dark);
    color: #ffffff;
    line-height: 1.6;
    margin: 0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.main-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.panel {
    background: var(--gradient-dark);
    box-shadow: var(--shadow-medium);
    border-radius: 1.5rem;
    border: 2px solid var(--color-primary-light);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    position: relative;
    overflow: hidden;
}

.panel::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.1), transparent);
    transition: left 0.6s ease;
}

.panel:hover::before {
    left: 100%;
}

.panel:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: #ffffff;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.9rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    line-height: 1.08;
    margin-bottom: 1.5rem;
    text-shadow: none;
    animation: fadeInUp 1s ease-out;
}

.section-title {
    font-family: 'Playfair Display', serif;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.3rem;
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 0.7px;
    animation: fadeInUp 0.8s ease-out;
}

.section-subtitle {
    font-size: 1.18rem;
    color: #ffffff;
    max-width: 650px;
    margin: 0 auto 3rem auto;
    font-family: 'Inter', sans-serif;
    animation: fadeInUp 1s ease-out 0.2s both;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--color-background-dark);
    border-radius: 1.2rem;
    font-weight: 800;
    padding: 1.1rem 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
    font-size: 1.08rem;
    border: none;
    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.3), transparent);
    transition: left 0.5s ease;
}

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

.btn-primary:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: var(--shadow-medium);
}

.btn-secondary {
    background: transparent;
    color: #ffffff;
    border: 2px solid var(--color-primary-light);
    border-radius: 1.2rem;
    font-weight: 800;
    padding: 1.1rem 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.7px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 1.08rem;
    position: relative;
    overflow: hidden;
}

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

.btn-secondary:hover::before {
    left: 0;
}

.btn-secondary:hover {
    color: var(--color-background-dark);
    border-color: var(--color-primary-light);
    transform: translateY(-3px) scale(1.05);
}

.form-input {
    background: rgba(255, 255, 255, 0.08);
    border: 2px solid transparent;
    border-radius: 0.9rem;
    padding: 1.1rem 1.3rem;
    width: 100%;
    font-size: 1.05rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.form-input:focus {
    border-color: var(--color-primary-light);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.2);
    outline: none;
    transform: translateY(-2px);
}

.form-label {
    color: var(--color-primary-light);
    font-weight: 600;
    transition: all 0.3s ease;
}

.form-input:focus + .form-label {
    color: #ffffff;
}

.hover-up {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.hover-up:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: var(--shadow-strong);
}

.panel .fa-whatsapp {
    color: #25d366;
    transition: all 0.3s ease;
}

.icon-circle {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 3.5rem;
    height: 3.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.2rem auto;
    font-size: 1.7rem;
    box-shadow: var(--shadow-soft);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--color-background-dark);
}

.icon-circle:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: var(--shadow-medium);
}

.service-icon {
    background: var(--gradient-primary);
    border: none;
    color: var(--color-background-dark);
    border-radius: 0.6rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 4rem;
    height: 4rem;
    margin: 0 auto 1.25rem auto;
    font-size: 1.75rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: var(--shadow-soft);
}

.service-icon:hover {
    transform: scale(1.1) rotate(-5deg);
    box-shadow: var(--shadow-medium);
}

.service-title {
    color: var(--color-primary-light);
    font-weight: bold;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: color 0.3s ease;
}

.service-description {
    color: #ffffff;
    font-size: 0.875rem;
    opacity: 0.9;
    transition: opacity 0.3s ease;
}

.panel:hover .service-title {
    color: #ffffff;
}

.panel:hover .service-description {
    opacity: 1;
}

.client-name {
    color: var(--color-primary-light);
    font-weight: bold;
}

.client-testimonial {
    color: #ffffff;
    opacity: 0.9;
}

@media (max-width: 900px) {
    .main-container {
        padding: 0 0.5rem;
    }

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

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

header {
    background: rgba(10, 14, 23, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    min-height: 80px;
    border-bottom: 2px solid var(--color-primary-light);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
}

header.scrolled {
    background: rgba(10, 14, 23, 0.98);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
}

.logo-text {
    color: var(--color-primary-light);
    font-weight: bold;
    font-size: 1.5rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-divider {
    width: 1px;
    height: 2rem;
    background: var(--color-primary-light);
    opacity: 0.7;
}

.logo-subtitle {
    color: var(--color-primary-light);
    font-size: 0.875rem;
    font-weight: 500;
    line-height: 1.2;
}

nav a,
footer a {
    position: relative;
    overflow: hidden;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    white-space: nowrap;
    transition: all 0.3s ease;
}

nav a::after,
footer a::after {
    content: '';
    display: block;
    position: absolute;
    left: 0;
    bottom: 0;
    width: 100%;
    height: 2px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

nav a:hover::after,
footer a:hover::after {
    transform: scaleX(1);
}

.icon-circle,
.panel .fa-whatsapp {
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.icon-circle:hover,
.panel .fa-whatsapp:hover {
    transform: scale(1.2) rotate(-8deg);
}

nav a {
    font-size: 1.13rem;
    color: #ffffff;
}

nav a:hover {
    color: var(--color-primary-light) !important;
    transform: translateY(-2px);
}

footer.panel {
    background: var(--gradient-dark);
    color: #ffffff;
    font-size: 1rem;
    text-align: center;
    padding: 2rem 0;
    margin-top: 0;
    border: none;
    border-radius: 0;
    box-shadow: none;
}

footer .main-container {
    max-width: 100%;
}

main {
    flex: 1 0 auto;
}

footer a {
    color: #ffffff;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--color-primary-light);
    transform: translateY(-2px);
}

.whatsapp-float {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 100;
    background: var(--gradient-primary);
    color: var(--color-background-dark);
    border-radius: 50%;
    width: 62px;
    height: 62px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    border: none;
    font-size: 2.1rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    transform: scale(1.15) translateY(-5px);
    box-shadow: var(--shadow-strong);
    animation: none;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

#scroll-progress {
    position: fixed;
    top: 0;
    left: 0;
    width: 0%;
    height: 4px;
    background: var(--gradient-primary);
    z-index: 9999;
    transition: width 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

#scroll-to-top {
    position: fixed;
    bottom: 100px;
    right: 28px;
    z-index: 90;
    background: var(--gradient-primary);
    color: var(--color-background-dark);
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    opacity: 0;
    visibility: hidden;
    font-size: 1.5rem;
    border: none;
}

#scroll-to-top.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

#scroll-to-top:hover {
    transform: translateY(-8px) scale(1.1);
    box-shadow: var(--shadow-medium);
}

#loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    pointer-events: all;
}

#loader.hidden {
    opacity: 0;
    pointer-events: none;
    transform: scale(1.1);
}

.spinner {
    border: 4px solid rgba(212, 175, 55, 0.1);
    border-top: 4px solid var(--color-primary-light);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    animation: spin 1s linear infinite;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

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

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.8s ease-out both;
}

.fade-in-left {
    animation: fadeInLeft 0.8s ease-out both;
}

.fade-in-right {
    animation: fadeInRight 0.8s ease-out both;
}

.stagger-1 { animation-delay: 0.1s; }
.stagger-2 { animation-delay: 0.2s; }
.stagger-3 { animation-delay: 0.3s; }
.stagger-4 { animation-delay: 0.4s; }
.stagger-5 { animation-delay: 0.5s; }

.floating {
    animation: floating 3s ease-in-out infinite;
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.glow {
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transition: box-shadow 0.3s ease;
}

.glow:hover {
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.text-gradient {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
} 