/* Estilos principales para Multiservicios Express */
:root {
    --primary: #d67e48;
    --primary-dark: #b65e28;
    --secondary: #fefefe;
    --secondary-dark: #010101;
    --light: #f8fafc;
    --dark: #0f172a;
    --gray: #475569;
    --light-gray: #e2e8f0;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --shadow: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --border-radius: 12px;
    --border-radius: 12px;
    --transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--dark);
    background-color: #f5f7fa;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    color: var(--dark);
}

h2 {
    font-size: 2rem;
    color: var(--primary-dark);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: 1.2rem;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition);
}

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

.section-title {
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--secondary);
}

.section-subtitle {
    text-align: center;
    color: var(--gray);
    margin-bottom: 3rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Header */
header {
    background-color: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-top {
    background-color: var(--dark);
    color: white;
    padding: 10px 0;
    font-size: 0.9rem;
}

.header-top-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.contact-info {
    display: flex;
    gap: 20px;
}

.contact-info span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    color: white;
    font-size: 1.1rem;
}

.social-icons a:hover {
    color: var(--secondary);
    transform: translateY(-2px);
}

.header-main {
    padding: 20px 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    background-color: var(--primary);
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
}

.logo h1 {
    font-size: 1.8rem;
    margin-bottom: 5px;
    color: var(--primary-dark);
}

.location {
    color: var(--gray);
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 5px;
}

.location i {
    color: var(--secondary);
}

.cta-buttons {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-size: 1rem;
    white-space: nowrap;
}

.btn-primary {
    background-color: var(--primary);
    color: white;
    position: relative;
    overflow: hidden;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--dark);
    border: 1px solid var(--light-gray);
}

.btn-secondary:hover {
    background-color: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-outline {
    background-color: transparent;
    color: var(--primary);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background-color: var(--primary);
    color: white;
}

.btn-large {
    padding: 15px 30px;
    font-size: 1.1rem;
}

.btn-small {
    padding: 8px 16px;
    font-size: 0.9rem;
}

/* Navigation */
nav {
    background-color: var(--primary-dark);
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    list-style: none;
}

.nav-links li {
    position: relative;
}

.nav-links a {
    color: white;
    padding: 18px 20px;
    display: block;
    font-weight: 500;
    transition: var(--transition);
}

.nav-links a:hover {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.nav-links a.active {
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--secondary);
}

.nav-links a i {
    margin-right: 8px;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.5)), url('../assets/images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: white;
    padding: 160px 0;
    text-align: center;
    display: flex;
    align-items: center;
    min-height: 80vh;
}

@media (max-width: 768px) {
    .hero {
        padding: 100px 0;
        min-height: 60vh;
        background-attachment: scroll; /* Better for mobile performance */
    }
}

.hero-content h1 {
    color: white;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    max-width: 800px;
    margin: 0 auto 2.5rem;
    opacity: 0; /* Changed from 0.95 for animation */
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    opacity: 0;
    animation: fadeInUp 0.8s ease-out 0.6s forwards;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: white;
}

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

.service-card {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    transition: var(--transition);
    border-top: 4px solid var(--primary);
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
}

.service-icon {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
}

/* CTA Section */
.cta-section {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary), var(--primary-dark));
    color: white;
    text-align: center;
}

.cta-content h2 {
    color: white;
    margin-bottom: 1.5rem;
}

.cta-content p {
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto 2.5rem;
    opacity: 0.9;
}

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

/* Location Section */
.location-section {
    padding: 80px 0;
    background-color: white;
}

.location-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    margin-top: 40px;
}

.location-details {
    margin-top: 30px;
}

.detail {
    display: flex;
    gap: 20px;
    margin-bottom: 25px;
}

.detail i {
    font-size: 1.5rem;
    color: var(--primary);
    margin-top: 5px;
}

.detail h4 {
    margin-bottom: 5px;
}

.map-placeholder {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    text-align: center;
    box-shadow: var(--shadow);
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.map-image {
    background-color: var(--primary);
    color: white;
    border-radius: var(--border-radius);
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 20px;
    font-size: 4rem;
}

/* Footer */
footer {
    background-color: var(--dark);
    color: var(--light-gray);
    padding: 60px 0 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h3 {
    color: white;
    margin-bottom: 20px;
    font-size: 1.3rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a:hover {
    color: var(--secondary);
}

.contact-list li {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-social {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.footer-social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.1rem;
}

.footer-social a:hover {
    background-color: var(--primary);
    transform: translateY(-3px);
}

.footer-cta {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

/* Floating WhatsApp Button */
.floating-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

.whatsapp-float {
    display: flex;
    align-items: center;
    gap: 10px;
    background-color: #25d366;
    color: white;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: var(--shadow-lg);
    font-weight: 500;
    transition: var(--transition);
}

.whatsapp-float:hover {
    background-color: #128c7e;
    transform: translateY(-3px);
    color: white;
}

.whatsapp-float i {
    font-size: 1.5rem;
}

/* Service Page Specific Styles */
.service-hero {
    background-size: cover !important;
    background-position: center !important;
    background-attachment: fixed;
    color: white;
    padding: 120px 0;
    text-align: center;
    min-height: 50vh; /* Reduced slightly for better mobile view */
    display: flex;
    align-items: center;
    position: relative;
}

.service-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(rgba(15, 23, 42, 0.6), rgba(15, 23, 42, 0.4));
    z-index: 1;
}

.service-hero .container {
    position: relative;
    z-index: 2;
}

@media (max-width: 768px) {
    .service-hero {
        padding: 80px 0;
        min-height: 40vh;
        background-attachment: scroll;
        background-repeat: no-repeat;
    }
}

.service-hero h1 {
    color: white;
    font-size: clamp(2rem, 4vw, 3rem);
    margin-bottom: 1rem;
    text-shadow: 0 2px 10px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out forwards;
}

.service-hero p {
    font-size: clamp(1rem, 2vw, 1.2rem);
    max-width: 850px;
    margin: 0 auto;
    opacity: 0;
    text-shadow: 0 1px 5px rgba(0,0,0,0.3);
    animation: fadeInUp 0.8s ease-out 0.3s forwards;
}

.service-content {
    padding: 80px 0;
    background-color: white;
}

.service-details {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 50px;
}

.service-info h2 {
    color: var(--primary-dark);
    margin-bottom: 1.5rem;
}

.service-benefits {
    margin-top: 30px;
}

.benefit-list {
    list-style: none;
    margin-top: 20px;
}

.benefit-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--light-gray);
    display: flex;
    align-items: center;
    gap: 10px;
}

.benefit-list li:last-child {
    border-bottom: none;
}

.benefit-list i {
    color: var(--success);
}

.service-sidebar {
    background-color: var(--light);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: var(--shadow);
}

.sidebar-cta {
    text-align: center;
    margin-bottom: 30px;
}

.sidebar-cta h3 {
    margin-bottom: 20px;
}

.service-contact {
    border-top: 1px solid var(--light-gray);
    padding-top: 30px;
}

.contact-options {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 20px;
}

.service-gallery {
    margin-top: 50px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.gallery-item {
    background-color: var(--light);
    border-radius: var(--border-radius);
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary);
    box-shadow: var(--shadow);
}

/* Responsive */
.menu-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Estilos adicionales para formularios */
.contact-form {
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid var(--light-gray);
    border-radius: var(--border-radius);
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(26, 95, 122, 0.1);
}

.form-group textarea {
    min-height: 100px;
    resize: vertical;
}

/* Estilos específicos para cada página de servicio */
.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.benefit {
    background-color: var(--light);
    padding: 20px;
    border-radius: var(--border-radius);
}

.benefit h4 {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.price {
    color: var(--secondary);
    font-weight: 600;
    font-size: 1.2rem;
    margin-top: 10px;
}

.process-list {
    margin-left: 20px;
    margin-top: 15px;
}

.process-list li {
    margin-bottom: 10px;
    padding-left: 10px;
}

/* Mejoras de SEO visuales para ubicación */
.location-highlight {
    background-color: rgba(255, 126, 48, 0.1);
    border-left: 4px solid var(--secondary);
    padding: 15px;
    margin: 20px 0;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
}

.location-highlight strong {
    color: var(--primary-dark);
}
/* Estilos específicos para desponchado */
.emergency-banner {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(220, 53, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(220, 53, 69, 0);
    }
}

.steps-timeline {
    position: relative;
}

.steps-timeline:before {
    content: '';
    position: absolute;
    left: 20px;
    top: 0;
    bottom: 0;
    width: 2px;
    background-color: var(--primary);
    z-index: 1;
}

.step {
    position: relative;
    z-index: 2;
}

/* Mejoras para tabla de servicios */
.service-table tr:hover {
    background-color: var(--light);
}

.service-table td:first-child {
    font-weight: 600;
    color: var(--primary-dark);
}

/* Estilos para formulario de emergencia */
#desponchado-form button[type="submit"] {
    background-color: var(--danger);
    border-color: var(--danger);
}

#desponchado-form button[type="submit"]:hover {
    background-color: #c82333;
    border-color: #bd2130;
}

/* Responsive para timeline */
@media (max-width: 768px) {
    .steps-timeline:before {
        left: 15px;
    }
    
    .step-number {
        width: 30px;
        height: 30px;
        font-size: 0.9rem;
    }
}