:root {
    /* Paleta de Colores */
    --color-bg-dark: #081426;
    --color-bg-light: #0f2540;
    --color-gold: #D4AF37;
    --color-gold-light: #F3E5AB;
    --color-gold-dark: #AA8C2C;
    --color-text-main: #F3E5AB;
    --color-text-muted: #aabbc9;

    /* Tipografía */
    --font-heading: 'Cinzel', serif;
    --font-body: 'Lato', sans-serif;

    /* Espaciado */
    --spacing-sm: 1rem;
    --spacing-md: 2rem;
    --spacing-lg: 4rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: var(--font-heading);
    color: var(--color-gold);
    text-transform: uppercase;
    letter-spacing: 2px;
}

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header & Nav */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(8, 20, 38, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 1.5rem 0;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--color-gold), var(--color-gold-light), var(--color-gold));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    font-size: 0.9rem;
    letter-spacing: 1px;
    color: var(--color-text-main);
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 1px;
    bottom: -5px;
    left: 0;
    background-color: var(--color-gold);
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.btn-contact {
    border: 1px solid var(--color-gold);
    padding: 0.5rem 1.5rem;
    border-radius: 2px;
}

.btn-contact:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: radial-gradient(circle at center, #132b4a 0%, var(--color-bg-dark) 70%);
    padding-top: 80px;
}

.hero-title {
    font-size: 5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--color-gold-dark), var(--color-gold), var(--color-gold-light), var(--color-gold));
    background-size: 300% auto;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    animation: shine 5s linear infinite;
}

@keyframes shine {
    0% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }

    100% {
        background-position: 0% 50%;
    }
}

.hero-tagline {
    font-size: 1.8rem;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 3px;
    font-weight: 700;
    text-transform: uppercase;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    margin-bottom: 3rem;
    color: var(--color-text-muted);
    letter-spacing: 4px;
}

.btn-hero {
    display: inline-block;
    padding: 1rem 3rem;
    background: transparent;
    border: 1px solid var(--color-gold);
    color: var(--color-gold);
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    transition: all 0.4s ease;
}

.btn-hero:hover {
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

/* Sections General */
.section {
    padding: 6rem 0;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 4rem;
    position: relative;
    display: inline-block;
    left: 50%;
    transform: translateX(-50%);
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    background-color: var(--color-gold);
    margin: 1rem auto 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.service-card {
    background-color: var(--color-bg-light);
    padding: 3rem 2rem;
    border: 1px solid rgba(212, 175, 55, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    cursor: pointer;
}

.service-card:hover {
    transform: translateY(-10px);
    border-color: var(--color-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.service-card h3 {
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.service-card p {
    color: var(--color-text-muted);
}

/* About */
.about-content {
    text-align: center;
    max-width: 800px;
}

.about-text p {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    color: var(--color-text-muted);
}

/* Contact */
.contact-email-display {
    text-align: center;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.contact-email-display a {
    color: var(--color-gold);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.contact-email-display a:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--color-text-muted);
}

.contact-form {
    max-width: 600px;
    margin: 0 auto;
}

.form-group {
    margin-bottom: 1.5rem;
}

input,
textarea,
select {
    width: 100%;
    padding: 1rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--color-text-main);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

select {
    cursor: pointer;
}

select option {
    background-color: var(--color-bg-dark);
    color: var(--color-text-main);
}

input:focus,
textarea:focus,
select:focus {
    outline: none;
    border-color: var(--color-gold);
    background-color: rgba(255, 255, 255, 0.1);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background-color: var(--color-gold);
    color: var(--color-bg-dark);
    border: none;
    font-family: var(--font-heading);
    font-size: 1rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-submit:hover {
    background-color: var(--color-gold-light);
    transform: scale(1.02);
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: var(--color-text-muted);
    font-size: 0.9rem;
}

.footer-email {
    margin-top: 0.5rem;
    font-size: 0.95rem;
}

.footer-email a {
    color: var(--color-gold);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-email a:hover {
    color: var(--color-gold-light);
    text-decoration: underline;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.2s;
}

.delay-2 {
    transition-delay: 0.4s;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.modal.show {
    display: block;
    opacity: 1;
}

.modal-content {
    background-color: var(--color-bg-light);
    margin: 10% auto;
    padding: 3rem;
    border: 1px solid var(--color-gold);
    width: 80%;
    max-width: 700px;
    position: relative;
    box-shadow: 0 0 50px rgba(212, 175, 55, 0.2);
    transform: translateY(-20px);
    transition: transform 0.3s ease;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: var(--color-gold);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-modal:hover {
    color: var(--color-text-main);
}

#modal-title {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
    padding-bottom: 1rem;
}

#modal-body p {
    margin-bottom: 1rem;
    color: var(--color-text-muted);
    font-size: 1.1rem;
}

#modal-body ul {
    list-style-type: none;
    margin-left: 0;
    margin-bottom: 1.5rem;
}

#modal-body li {
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
    color: var(--color-text-main);
}

#modal-body li::before {
    content: '•';
    color: var(--color-gold);
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}

.modal-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }

    .nav-links {
        display: none;
    }

    .hamburger {
        display: block;
    }
}