/* ================================
   SERVICIOS PAGE STYLES
   ================================ */

/* Variables CSS - Tema Elegante Negro/Blanco */
:root {
    --primary-color: #ffffff;
    --secondary-color: #cccccc;
    --accent-color: #d4af37;
    --background-dark: #0a0a0a;
    --background-black: #000000;
    --background-card: #111111;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --border-dark: #333333;
    --border-gold: #d4af37;
    --shadow-dark: 0 2px 20px rgba(0, 0, 0, 0.8);
    --shadow-gold: 0 4px 30px rgba(212, 175, 55, 0.3);
    --border-radius: 12px;
    --transition: all 0.3s ease;
}

/* Body y layout principal */
.servicios-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--background-black) 0%, var(--background-dark) 100%);
    padding-top: 80px; /* Espacio para navbar fija */
    color: var(--text-primary);
}

/* ================================
   HERO SECTION
   ================================ */
.hero-section {
    background: linear-gradient(135deg, var(--background-black) 0%, var(--background-dark) 50%, #1a1a1a 100%);
    padding: 100px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border-dark);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="20" cy="20" r="0.5" fill="%23d4af37" opacity="0.1"/><circle cx="80" cy="40" r="0.3" fill="%23ffffff" opacity="0.05"/><circle cx="40" cy="80" r="0.4" fill="%23d4af37" opacity="0.08"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grain)"/></svg>') repeat;
    opacity: 0.3;
    z-index: 0;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 4rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    background: linear-gradient(135deg, #ffffff 0%, #d4af37 50%, #ffffff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.7;
    max-width: 700px;
    margin: 0 auto;
    text-shadow: 0 1px 5px rgba(0, 0, 0, 0.3);
}

/* ================================
   SERVICIOS GRID
   ================================ */
.servicios-grid {
    padding: 120px 0;
    background: linear-gradient(180deg, var(--background-dark) 0%, var(--background-black) 100%);
}

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

.services-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

/* ================================
   SERVICE CARDS
   ================================ */
.service-card {
    background: linear-gradient(145deg, var(--background-card) 0%, #1a1a1a 100%);
    border: 1px solid var(--border-dark);
    border-radius: var(--border-radius);
    padding: 50px 35px;
    text-align: center;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--accent-color), transparent);
    transition: left 0.6s ease;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at center, rgba(212, 175, 55, 0.03) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.service-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-gold);
    border-color: var(--accent-color);
    background: linear-gradient(145deg, #1a1a1a 0%, var(--background-card) 100%);
}

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

.service-card:hover::after {
    opacity: 1;
}

.service-icon {
    width: 90px;
    height: 90px;
    margin: 0 auto 30px;
    background: linear-gradient(135deg, var(--accent-color) 0%, #b8941f 50%, var(--accent-color) 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--background-black);
    transition: var(--transition);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    position: relative;
}

.service-icon::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, transparent, var(--accent-color), transparent);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.service-card:hover .service-icon {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.5);
}

.service-card:hover .service-icon::before {
    opacity: 1;
}

.service-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.6rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.service-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 30px;
}

.service-features {
    list-style: none;
    padding: 0;
    margin: 0;
    text-align: left;
}

.service-features li {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-secondary);
    padding: 10px 0;
    position: relative;
    padding-left: 30px;
    transition: color 0.3s ease;
}

.service-features li::before {
    content: '✦';
    position: absolute;
    left: 0;
    top: 10px;
    color: var(--accent-color);
    font-weight: bold;
    font-size: 1rem;
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

.service-card:hover .service-features li {
    color: var(--text-primary);
}

/* ================================
   CONTACT SECTION
   ================================ */
.contact-section {
    background: linear-gradient(135deg, var(--background-black) 0%, var(--background-dark) 50%, #1a1a1a 100%);
    padding: 100px 0;
    text-align: center;
    border-top: 1px solid var(--border-dark);
    position: relative;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    z-index: 0;
}

.contact-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.contact-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 25px;
    letter-spacing: -0.01em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.contact-description {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.2rem;
    font-weight: 300;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 50px;
}

.contact-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ================================
   BUTTONS
   ================================ */
.btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-family: 'Montserrat', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
    transition: var(--transition);
    border: 2px solid transparent;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent-color) 0%, #b8941f 50%, var(--accent-color) 100%);
    color: var(--background-black);
    border-color: var(--accent-color);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #b8941f 0%, var(--accent-color) 50%, #b8941f 100%);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(212, 175, 55, 0.5);
    color: var(--background-black);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border-color: var(--text-primary);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-secondary:hover {
    background: var(--text-primary);
    color: var(--background-black);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 255, 255, 0.2);
}

/* ================================
   RESPONSIVE DESIGN
   ================================ */

/* Tablets */
@media (max-width: 768px) {
    .servicios-page {
        padding-top: 70px;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
        margin-bottom: 15px;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .servicios-grid {
        padding: 60px 0;
    }
    
    .services-list {
        grid-template-columns: 1fr;
        gap: 30px;
        margin-top: 40px;
    }
    
    .service-card {
        padding: 30px 25px;
    }
    
    .service-icon {
        width: 70px;
        height: 70px;
        margin-bottom: 20px;
    }
    
    .service-title {
        font-size: 1.3rem;
        margin-bottom: 15px;
    }
    
    .contact-section {
        padding: 60px 0;
    }
    
    .contact-title {
        font-size: 2rem;
        margin-bottom: 15px;
    }
    
    .contact-description {
        font-size: 1rem;
        margin-bottom: 30px;
    }
    
    .contact-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .btn {
        padding: 12px 25px;
        font-size: 0.9rem;
        width: 100%;
        max-width: 280px;
    }
}

/* Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-content {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
        line-height: 1.2;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .services-list {
        grid-template-columns: 1fr;
        gap: 25px;
    }
    
    .service-card {
        padding: 25px 20px;
    }
    
    .service-icon {
        width: 60px;
        height: 60px;
    }
    
    .service-title {
        font-size: 1.2rem;
    }
    
    .service-description {
        font-size: 0.9rem;
    }
    
    .service-features li {
        font-size: 0.85rem;
        padding: 6px 0;
    }
    
    .contact-title {
        font-size: 1.8rem;
    }
    
    .contact-description {
        font-size: 0.95rem;
    }
}

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

.service-card {
    animation: fadeInUp 0.6s ease forwards;
}

.service-card:nth-child(2) {
    animation-delay: 0.1s;
}

.service-card:nth-child(3) {
    animation-delay: 0.2s;
}

.service-card:nth-child(4) {
    animation-delay: 0.3s;
}

.service-card:nth-child(5) {
    animation-delay: 0.4s;
}

.service-card:nth-child(6) {
    animation-delay: 0.5s;
}

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

/* Focus states */
.btn:focus {
    outline: 2px solid var(--accent-color);
    outline-offset: 2px;
}

.service-card:focus-within {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--accent-color);
}
