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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #fff;
}

/* Header y Navegación */
.header {
    background: linear-gradient(135deg, #022210 0%, #022210 100%);
    color: white;
    padding: 1rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #4CAF50;
}

.logo img {
    height: 58px;
    width: auto;
    display: block;
    filter: brightness(3.0);
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

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

/* Estilos base para desktop */
.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-menu a:hover {
    background: rgba(255,255,255,0.1);
    color: #4CAF50;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
    cursor: pointer;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(44, 95, 65, 0.7), rgba(30, 74, 50, 0.8)), 
                url('https://images.unsplash.com/photo-1504307651254-35680f356dfd?ixlib=rb-4.0.3&ixid=M3wxMjA3fDB8MHxwaG90by1wYWdlfHx8fGVufDB8fHx8fA%3D%3D&auto=format&fit=crop&w=2076&q=80');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    height: 100vh;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 80px;
}

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

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: 700;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #4CAF50;
    font-weight: 500;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2.5rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

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

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: #4CAF50;
    color: white;
}

.btn-primary:hover {
    background: #45a049;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(76, 175, 80, 0.4);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.btn-secondary:hover {
    background: white;
    color: #2c5f41;
}

/* Contact Quick */
.contact-quick {
    background: #f7fafc;
    padding: 2rem 0;
    border-bottom: 3px solid #4CAF50;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: center;
}

.contact-item {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.contact-icon {
    font-size: 2rem;
    color: #2196F3;
}

.contact-info h3 {
    color: #2c5f41;
    margin-bottom: 0.5rem;
}

/* Sections */
.section {
    padding: 4rem 0;
}

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

.section-title {
    text-align: center;
    font-size: 2.5rem;
    color: #2c5f41;
    margin-bottom: 1rem;
    font-weight: 700;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #666;
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* About Section */
.about {
    background: #f7fafc;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h3 {
    color: #2c5f41;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    line-height: 1.7;
}

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

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: white;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #4CAF50;
    display: block;
}

.stat-label {
    color: #2c5f41;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Services Section */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border-top: 4px solid #4CAF50;
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

.service-icon {
    font-size: 3rem;
    color: #2196F3;
    margin-bottom: 1rem;
}

.service-card h3 {
    color: #2c5f41;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

/* Projects Section */
.projects {
    background: #f7fafc;
}

.project-categories {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.category-btn {
    padding: 0.8rem 1.5rem;
    background: white;
    border: 2px solid #2196F3;
    color: #2196F3;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
}

.category-btn.active,
.category-btn:hover {
    background: #2196F3;
    color: white;
}

.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.project-card {
    background: white;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.project-card:hover {
    transform: translateY(-5px);
}

.project-images {
    position: relative;
    height: 250px;
    overflow: hidden;
}

.project-images.single-image {
    height: 250px;
}

.project-images.dual-image {
    height: 250px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
}

.project-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.project-image:hover {
    transform: scale(1.05);
}

.project-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(33, 150, 243, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.project-placeholder {
    height: 100%;
    background: linear-gradient(45deg, #2196F3, #4CAF50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

.project-overlay {
    position: absolute;
    top: 15px;
    left: 15px;
    background: rgba(33, 150, 243, 0.9);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    z-index: 2;
}

.project-placeholder {
    height: 100%;
    background: linear-gradient(45deg, #2196F3, #4CAF50);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 1rem;
}

.project-content {
    padding: 1.5rem;
}

.project-category {
    color: #4CAF50;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.project-card h3 {
    color: #2c5f41;
    margin: 0.5rem 0 1rem 0;
    font-size: 1.2rem;
}

.project-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.5rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid #e2e8f0;
    font-size: 0.9rem;
}

.detail-item strong {
    color: #2c5f41;
}

/* Contact Section */
.contact-form-section {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2c5f41;
    font-weight: 600;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e2e8f0;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #2196F3;
}

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

.contact-info-card {
    background: #2c5f41;
    color: white;
    padding: 2rem;
    border-radius: 15px;
    height: fit-content;
}

.contact-info-card h3 {
    color: #4CAF50;
    margin-bottom: 1.5rem;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
}

/* Mejoras visuales para Contact Quick */
.contact-quick {
    background: linear-gradient(135deg, #022210, #4CAF50);
    padding: 3rem 0;
    border-bottom: none;
}

.contact-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    text-align: center;
}

.contact-item {
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e2e8f0;
    border-radius: 15px;
    padding: 1.5rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

.contact-icon {
    font-size: 2.5rem;
    color: #2196F3;
    margin-bottom: 0.5rem;
}

.contact-info h3 {
    font-size: 1.2rem;
    color: #2c5f41;
    margin-bottom: 0.5rem;
}

.contact-info p, .contact-info a {
    font-size: 1rem;
    color: #555;
}

.contact-whatsapp-btn {
    display: inline-block;
    background: #25d366;
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 20px;
    text-decoration: none;
    transition: background 0.3s ease;
    margin-top: 0.5rem;
}

.contact-whatsapp-btn:hover {
    background: #1ebe57;
}

/* Add to remol.css */

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-top: 4px solid #4CAF50;
    position: relative; /* For the new pseudo-element */
    overflow: hidden; /* To hide the overflowing pseudo-element */
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.05); /* Lighter green overlay */
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
    z-index: 1;
}

.service-card:hover::before {
    transform: scaleY(1);
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 3.5rem; /* Increase icon size for more impact */
    color: #4CAF50; /* Change icon color to match brand */
    margin-bottom: 1rem;
    transition: color 0.3s ease;
}

.service-card:hover .service-icon {
    color: #2c5f41; /* Darken icon on hover */
}

.service-card h3 {
    color: #2c5f41;
    margin-bottom: 0.75rem;
    font-size: 1.5rem; /* Increase heading size */
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 0;
}


/* Footer */
.footer {
    background: #2c5f41;
    color: white;
    padding: 3rem 0 1rem 0;
}

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

.footer-section h3 {
    color: #4CAF50;
    margin-bottom: 1rem;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #4CAF50;
}

.footer-bottom {
    border-top: 1px solid #4CAF50;
    padding-top: 1rem;
    text-align: center;
    color: #cbd5e0;
}

/* WhatsApp Button */
.whatsapp-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: #25d366;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    text-decoration: none;
    box-shadow: 0 2px 10px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: transform 0.3s ease;
}

.whatsapp-btn:hover {
    transform: scale(1.1);
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-direction: row;
        align-items: center;
        padding: 0 1rem;
    }

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

    .contact-item {
        padding: 1rem;
    }

    .contact-icon {
        font-size: 2rem;
    }

    .contact-info h3 {
        font-size: 1.1rem;
    }
	
    .mobile-menu-btn {
        display: block;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        background: #022210;
        flex-direction: column;
        align-items: flex-start;
        gap: 0;
        padding: 0.5rem 0;
        z-index: 999;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        transition: all 0.3s ease;
    }

    .nav-menu.hidden {
        display: none;
    }

    .nav-menu.show {
        display: flex;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100vw;
        background: #022210;
        z-index: 9999;
        box-shadow: 0 4px 16px rgba(0,0,0,0.15);
        padding: 0.5rem 0;
    }

    .nav-menu li {
        width: 100%;
        text-align: left;
        padding: 0.5rem 1.5rem;
    }

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

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .cta-buttons {
        flex-direction: column;
        align-items: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .project-categories {
        flex-direction: column;
        align-items: center;
    }
}

@media (max-width: 480px) {
    .logo img {
        height: 32px;
    }

    .navbar {
        padding: 4px 0;
    }

    .project-images.dual-image {
        grid-template-columns: 1fr;
        grid-template-rows: 1fr 1fr;
        height: 300px;
    }
}

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

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

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

/* Additional styles for new sections */
.jobs-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    margin-top: 3rem;
}

.jobs-intro h3 {
    color: #2c5f41;
    margin-bottom: 2rem;
    font-size: 1.5rem;
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.benefit-item {
    text-align: center;
    padding: 1.5rem;
    background: #f7fafc;
    border-radius: 10px;
    border: 1px solid #e2e8f0;
}

.benefit-icon {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.benefit-item h4 {
    color: #1a365d;
    margin-bottom: 0.5rem;
}

.job-form-container {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.job-form-container h3 {
    color: #1a365d;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.map-container {
    margin-top: 3rem;
    text-align: center;
}

.map-container h3 {
    color: #2c5f41;
    margin-bottom: 2rem;
}

.map-placeholder {
    background: #f7fafc;
    padding: 3rem;
    border-radius: 15px;
    border: 2px dashed #cbd5e0;
    color: #666;
}

.map-placeholder p {
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.social-links {
    margin-top: 1rem;
}

.social-link {
    display: inline-block;
    margin-right: 1rem;
    color: #cbd5e0;
    text-decoration: none;
    transition: color 0.3s ease;
}

.social-link:hover {
    color: #4CAF50;
}

@media (max-width: 768px) {
    .jobs-content,
    .form-row {
        grid-template-columns: 1fr;
    }

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

.cv-download {
    text-align: center;
    margin: 24px 0 16px 0;
}

.cv-download .btn {
    font-size: 1.1rem;
    padding: 12px 28px;
    border-radius: 6px;
    background: #f5f5f5;
    color: #333;
    border: 1px solid #bbb;
    transition: background 0.2s, color 0.2s;
    text-decoration: none;
    display: inline-block;
}

.cv-download .btn:hover {
    background: #e0e0e0;
    color: #0077b6;
    border-color: #0077b6;
}


/* Modal Gallery Styles */
.modal-gallery {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    overflow: hidden;
}

.modal-gallery.active {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 40px;
    color: #fff;
    font-size: 45px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10002;
    transition: color 0.3s ease;
}

.modal-close:hover,
.modal-close:focus {
    color: #4CAF50;
}

.modal-content-gallery {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 90%;
    max-width: 1200px;
    height: 70vh;
    margin: 0 auto;
}

.modal-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    border-radius: 8px;
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.5);
    animation: zoomIn 0.3s ease;
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

.modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(76, 175, 80, 0.8);
    color: white;
    border: none;
    font-size: 30px;
    padding: 15px 20px;
    cursor: pointer;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    z-index: 10001;
}

.modal-nav:hover {
    background-color: rgba(76, 175, 80, 1);
}

.modal-prev {
    left: 20px;
}

.modal-next {
    right: 20px;
}

.modal-counter {
    color: white;
    font-size: 18px;
    text-align: center;
    margin-top: 15px;
    font-weight: 600;
}

.modal-thumbnails {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    padding: 0 20px;
    max-width: 90%;
    overflow-x: auto;
}

.modal-thumbnails::-webkit-scrollbar {
    height: 8px;
}

.modal-thumbnails::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
}

.modal-thumbnails::-webkit-scrollbar-thumb {
    background: #4CAF50;
    border-radius: 4px;
}

.thumbnail-item {
    width: 80px;
    height: 60px;
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease, transform 0.3s ease;
    border-radius: 5px;
    object-fit: cover;
    border: 2px solid transparent;
}

.thumbnail-item:hover {
    opacity: 0.8;
    transform: scale(1.05);
}

.thumbnail-item.active {
    opacity: 1;
    border-color: #4CAF50;
    transform: scale(1.1);
}

.modal-caption {
    color: white;
    text-align: center;
    padding: 15px;
    font-size: 16px;
    max-width: 80%;
    margin: 10px auto 0;
}

/* Hover effect for gallery images */
.gallery-trigger {
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.gallery-trigger:hover {
    transform: scale(1.02);
    filter: brightness(1.1);
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .modal-content-gallery {
        height: 60vh;
        width: 95%;
    }

    .modal-close {
        top: 10px;
        right: 20px;
        font-size: 35px;
    }

    .modal-nav {
        font-size: 24px;
        padding: 10px 15px;
    }

    .modal-prev {
        left: 10px;
    }

    .modal-next {
        right: 10px;
    }

    .thumbnail-item {
        width: 60px;
        height: 45px;
    }

    .modal-counter {
        font-size: 14px;
    }

    .modal-caption {
        font-size: 14px;
        padding: 10px;
    }
}

@media (max-width: 480px) {
    .modal-content-gallery {
        height: 50vh;
    }

    .modal-thumbnails {
        gap: 5px;
        margin-top: 10px;
    }

    .thumbnail-item {
        width: 50px;
        height: 38px;
    }
}

/* Services Section - NUEVO CÓDIGO COMPLETO */
.service-card-link {
    text-decoration: none;
    display: block;
}

.service-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease, background-color 0.3s ease;
    border-top: 4px solid #4CAF50;
    position: relative;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
    cursor: pointer;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(76, 175, 80, 0.05);
    transform: scaleY(0);
    transform-origin: bottom;
    transition: transform 0.3s ease;
    z-index: 1;
}

.service-card-link:hover .service-card::before {
    transform: scaleY(1);
}

.service-card-link:hover .service-card {
    transform: translateY(-8px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.15);
    border-top-color: #2196F3;
}

.service-card > * {
    position: relative;
    z-index: 2;
}

.service-icon {
    font-size: 3.5rem;
    color: #4CAF50;
    margin-bottom: 1rem;
    transition: color 0.3s ease, transform 0.3s ease;
}

.service-card-link:hover .service-icon {
    color: #2c5f41;
    transform: scale(1.1);
}

.service-card h3 {
    color: #2c5f41;
    margin-bottom: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
}

.service-card p {
    color: #666;
    line-height: 1.7;
    margin-bottom: 1rem;
    flex-grow: 1;
}

.service-link-text {
    margin-top: auto;
    color: #2196F3;
    font-weight: 600;
    font-size: 0.95rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
    padding-top: 1rem;
}

.service-card-link:hover .service-link-text {
    opacity: 1;
    transform: translateY(0);
}