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

:root {
    --gold: #C9A962;
    --gold-light: #E5D4A3;
    --gold-dark: #B39450;
    --bronze: #CD7F32;
    --dark: #1a1a1a;
    --dark-blue: #0f1824;
    --white: #ffffff;
    --gray: #f5f5f5;
    --gray-dark: #666666;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: var(--white);
    overflow-x: hidden;
    perspective: 1px;
    transform-style: preserve-3d;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', serif;
    font-weight: 700;
}

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

/* Hero Section con Parallax */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1e2a3a 50%, #2a3444 100%);
}

.parallax-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 120%;
    background: radial-gradient(circle at 30% 50%, rgba(201, 169, 98, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(205, 127, 50, 0.08) 0%, transparent 50%);
    transform: translateZ(0);
    will-change: transform;
}

.parallax-layer {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.6;
    animation: float 20s ease-in-out infinite;
    will-change: transform;
    transform-style: preserve-3d;
    backface-visibility: hidden;
}

.layer-1 {
    top: 10%;
    left: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold), transparent);
    animation-delay: 0s;
}

.layer-2 {
    bottom: 10%;
    right: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--bronze), transparent);
    animation-delay: 5s;
}

.layer-3 {
    top: 50%;
    left: 50%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, var(--gold-light), transparent);
    animation-delay: 10s;
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 900px;
    padding: 2rem;
}

.logo-container {
    margin-bottom: 2rem;
}

.logo {
    height: 100px;
    width: auto;
    transition: var(--transition);
    filter: drop-shadow(0 10px 30px rgba(201, 169, 98, 0.3));
}

.logo:hover {
    transform: scale(1.1) rotate(5deg);
}

.hero-title {
    font-size: clamp(3rem, 8vw, 6rem);
    color: var(--gold);
    margin-bottom: 1rem;
    text-shadow: 0 5px 20px rgba(201, 169, 98, 0.5);
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--gold-light);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.hero-tagline {
    font-size: clamp(1.2rem, 2.5vw, 1.5rem);
    color: rgba(201, 169, 98, 0.8);
    margin-bottom: 3rem;
}

.trust-indicators {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.trust-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(201, 169, 98, 0.8);
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.trust-item:hover {
    color: var(--gold);
    transform: scale(1.05);
}

.trust-item .icon {
    width: 20px;
    height: 20px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.4);
}

.cta-button .arrow-icon {
    width: 20px;
    height: 20px;
    transition: var(--transition);
}

.cta-button:hover .arrow-icon {
    transform: translateX(5px);
}

.scroll-indicator {
    margin-top: 3rem;
    color: rgba(201, 169, 98, 0.6);
    cursor: pointer;
    transition: var(--transition);
}

.scroll-indicator:hover {
    color: var(--gold);
    transform: scale(1.1);
}

.scroll-indicator .chevron {
    width: 24px;
    height: 24px;
    margin: 0 auto;
}

.scroll-indicator p {
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.hero-contact-info {
    margin-top: 4rem;
    color: rgba(201, 169, 98, 0.7);
}

.hero-contact-info p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    transition: var(--transition);
    cursor: pointer;
}

.hero-contact-info p:hover {
    color: var(--gold);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

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

.animate-fade-in {
    animation: fadeIn 1s ease-out forwards;
}

.animate-fade-in-up {
    animation: fadeInUp 1s ease-out forwards;
}

.animate-bounce {
    animation: bounce 2s ease-in-out infinite;
}

/* Services Section */
.services-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #f8f4e8 0%, #fdfbf4 100%);
}

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

.section-title {
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--dark);
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: clamp(1rem, 2vw, 1.3rem);
    color: var(--gray-dark);
    max-width: 700px;
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    transition: var(--transition);
    border: 2px solid transparent;
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(201, 169, 98, 0.2);
    border-color: rgba(201, 169, 98, 0.3);
}

.service-icon-wrapper {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.service-icon {
    width: 40px;
    height: 40px;
    color: white;
}

.service-title {
    font-size: 1.5rem;
    color: var(--dark);
    text-align: center;
    margin-bottom: 1.5rem;
}

.service-list {
    list-style: none;
    padding: 0;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.service-list li:before {
    content: '✓';
    color: var(--gold);
    font-weight: bold;
    font-size: 1.2rem;
    flex-shrink: 0;
}

/* Stats Section con Parallax */
.stats-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1e2a3a 100%);
}

.parallax-bg-stats {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(201, 169, 98, 0.1) 0%, transparent 70%);
    animation: rotate 30s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    position: relative;
    z-index: 10;
}

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

.stat-number {
    font-size: clamp(3rem, 6vw, 5rem);
    font-weight: 900;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-family: 'Playfair Display', serif;
    text-shadow: 0 5px 20px rgba(201, 169, 98, 0.4);
}

.stat-label {
    font-size: 1.1rem;
    color: var(--gold-light);
    font-weight: 500;
}

/* Benefits Section */
.benefits-section {
    padding: 5rem 0;
    background: linear-gradient(to bottom, #fdfbf4 0%, #f8f4e8 100%);
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1.5rem;
    background: white;
    border: 2px solid rgba(201, 169, 98, 0.3);
    border-radius: 50px;
    color: var(--gold);
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

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

.benefit-card {
    background: white;
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.05);
    transition: var(--transition);
    border: 1px solid rgba(201, 169, 98, 0.1);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.15);
    border-color: rgba(201, 169, 98, 0.3);
}

.benefit-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    box-shadow: 0 8px 20px rgba(201, 169, 98, 0.25);
}

.benefit-icon {
    width: 30px;
    height: 30px;
    color: white;
}

.benefit-title {
    font-size: 1.3rem;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.benefit-description {
    color: var(--gray-dark);
    font-size: 0.95rem;
    line-height: 1.6;
}

.benefits-cta {
    margin-top: 4rem;
}

.cta-box {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
    box-shadow: 0 20px 50px rgba(201, 169, 98, 0.3);
}

.cta-box h3 {
    font-size: 2rem;
    color: var(--dark);
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.1rem;
    color: rgba(26, 26, 26, 0.8);
}

/* Team Section con Parallax */
.team-section {
    padding: 5rem 0;
    position: relative;
    overflow: hidden;
    background: linear-gradient(135deg, #1e2a3a 0%, var(--dark-blue) 100%);
}

.parallax-bg-team {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 30%, rgba(201, 169, 98, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(205, 127, 50, 0.06) 0%, transparent 50%);
    animation: parallaxMove 20s ease-in-out infinite;
}

@keyframes parallaxMove {
    0%, 100% {
        transform: translate(0, 0) scale(1);
    }
    50% {
        transform: translate(30px, -30px) scale(1.05);
    }
}

.team-section .section-title,
.team-section .section-subtitle {
    color: var(--gold-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 3rem;
    position: relative;
    z-index: 10;
    max-width: 1400px;
    margin: 0 auto;
}

.team-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(201, 169, 98, 0.3);
    transition: var(--transition);
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(201, 169, 98, 0.3);
    border-color: rgba(201, 169, 98, 0.6);
}

.team-image-wrapper {
    width: 100%;
    height: 400px;
    overflow: hidden;
    position: relative;
    background: linear-gradient(135deg, #2a3444 0%, #1e2a3a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    border-bottom: 4px solid var(--gold);
}

.team-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    transition: var(--transition);
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.team-card:hover .team-image {
    transform: scale(1.1);
}

.team-content {
    padding: 2rem;
}

.team-name {
    font-size: 1.3rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
}

.team-position {
    font-size: 0.95rem;
    color: var(--gold-light);
    margin-bottom: 1.5rem;
}

.team-section-info {
    margin-bottom: 1.5rem;
}

.team-section-title {
    font-size: 0.9rem;
    color: var(--gold);
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.team-section-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    line-height: 1.6;
}

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

.team-section-info li {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.team-section-info li:before {
    content: '•';
    color: var(--gold);
    position: absolute;
    left: 0;
}

.team-buttons {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(201, 169, 98, 0.2);
}

.team-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: var(--transition);
}

.team-btn.whatsapp {
    background: rgba(37, 211, 102, 0.1);
    border: 2px solid rgba(37, 211, 102, 0.3);
    color: #25D366;
}

.team-btn.whatsapp:hover {
    background: #25D366;
    color: white;
    transform: translateY(-3px);
}

.team-btn.email {
    background: rgba(59, 130, 246, 0.1);
    border: 2px solid rgba(59, 130, 246, 0.3);
    color: #3B82F6;
}

.team-btn.email:hover {
    background: #3B82F6;
    color: white;
    transform: translateY(-3px);
}

.btn-icon {
    width: 18px;
    height: 18px;
}

/* Contact Section */
.contact-section {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--dark-blue) 0%, #1e2a3a 100%);
    position: relative;
    overflow: hidden;
}

.contact-section::before,
.contact-section::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
}

.contact-section::before {
    top: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 98, 0.1), transparent);
}

.contact-section::after {
    bottom: 10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(205, 127, 50, 0.08), transparent);
}

.contact-section .section-title,
.contact-section .section-subtitle {
    color: var(--gold);
}

.contact-section .section-subtitle {
    color: var(--gold-light);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
    position: relative;
    z-index: 10;
}

.contact-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(201, 169, 98, 0.2);
    transition: var(--transition);
}

.contact-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 50px rgba(201, 169, 98, 0.2);
    border-color: rgba(201, 169, 98, 0.4);
    background: rgba(255, 255, 255, 0.08);
}

.contact-icon-wrapper {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.contact-icon {
    width: 28px;
    height: 28px;
    color: white;
}

.contact-title {
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 0.8rem;
}

.contact-content {
    color: var(--gold-light);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.contact-button {
    display: inline-block;
    padding: 0.6rem 1.5rem;
    background: transparent;
    border: 2px solid rgba(201, 169, 98, 0.3);
    border-radius: 8px;
    color: var(--gold);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 600;
    transition: var(--transition);
}

.contact-button:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    transform: translateY(-2px);
}

.contact-cta {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    background: linear-gradient(to right, rgba(201, 169, 98, 0.1), rgba(205, 127, 50, 0.1));
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(201, 169, 98, 0.2);
    position: relative;
    z-index: 10;
}

.contact-cta h3 {
    font-size: 2rem;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-cta p {
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 2rem;
    line-height: 1.8;
}

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

.cta-button-primary,
.cta-button-secondary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 10px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
}

.cta-button-primary {
    background: linear-gradient(135deg, var(--gold) 0%, var(--gold-dark) 100%);
    color: var(--dark);
    box-shadow: 0 10px 30px rgba(201, 169, 98, 0.3);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(201, 169, 98, 0.4);
}

.cta-button-secondary {
    background: transparent;
    border: 2px solid rgba(201, 169, 98, 0.3);
    color: var(--gold);
}

.cta-button-secondary:hover {
    background: var(--gold);
    color: var(--dark);
    border-color: var(--gold);
    transform: translateY(-3px);
}

.trust-footer {
    text-align: center;
    margin-top: 3rem;
    color: rgba(201, 169, 98, 0.6);
    font-size: 0.9rem;
}

/* Footer */
.footer {
    background: var(--dark);
    color: var(--gold-light);
    text-align: center;
    padding: 2rem 0;
}

.footer p {
    margin: 0;
    font-size: 0.9rem;
}

/* Scroll Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

.animate-on-scroll.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Parallax decorations */
.parallax-section {
    position: relative;
    overflow: hidden;
}

.parallax-decoration {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.4;
    pointer-events: none;
    will-change: transform;
    transition: transform 0.1s linear;
}

.parallax-circle-1 {
    top: 10%;
    left: -5%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--gold), transparent);
}

.parallax-circle-2 {
    bottom: 20%;
    right: -5%;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--bronze), transparent);
}

.parallax-circle-3 {
    top: 30%;
    right: 5%;
    width: 350px;
    height: 350px;
    background: radial-gradient(circle, var(--gold-light), transparent);
}

.parallax-circle-4 {
    bottom: 10%;
    left: 10%;
    width: 450px;
    height: 450px;
    background: radial-gradient(circle, var(--gold), transparent);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }

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

    .trust-indicators {
        flex-direction: column;
        gap: 1rem;
    }

    .services-grid,
    .team-grid {
        grid-template-columns: 1fr;
    }

    .benefits-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }

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

    .cta-buttons {
        flex-direction: column;
    }

    .team-buttons {
        flex-direction: column;
    }
    
    .team-image-wrapper {
        height: 350px;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-image-wrapper {
        height: 400px;
    }
}

@media (min-width: 1025px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .team-image-wrapper {
        height: 450px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}
