/* Hero Section */
.hero {
    background: linear-gradient(rgba(10, 36, 99, 0.8), rgba(10, 36, 99, 0.8)), url('/project_example_3.png') no-repeat center center/cover;
    color: var(--text-light);
    padding: 6em 0;
    text-align: center;
}
.hero h1 {
    color: var(--text-light);
}
.hero .subtitle {
    font-size: 1.2em;
    color: var(--accent-color);
}

/* Services Grid (for #servicios-principales) */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

/* Proyectos Consultoria Section */
#proyectos-consultoria .container {
    text-align: center; /* Center text content within the container */
}

/* New container for two columns */
.project-types-container {
    display: flex;
    flex-wrap: wrap; /* Allow lists to wrap on small screens */
    gap: 2em; /* Space between columns */
    margin-top: 2em; /* Add space above the container */
    margin-bottom: 1.5em; /* Add margin below the container */
    justify-content: center; /* Center flex items horizontally */
    align-items: flex-start; /* Align items to the start vertically */
    text-align: left; /* Reset text alignment for list content */
}
#proyectos-consultoria ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 0; /* Remove bottom margin from individual lists when inside flex container */
    flex: 1; /* Allow ul to grow */
    min-width: 280px; /* Minimum width before wrapping */
    max-width: 400px; /* Optional: limit max width for balance */
}
.render-showcase {
    margin-top: 2em; 
    margin-bottom: 2em; 
    text-align: center; 
}
.render-showcase img {
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    max-width: 100%; 
    height: auto; 
}
.render-showcase p {
    font-size: 0.9em;
    color: #666;
    margin-top: 0.5em; 
}

/* Certificados Energeticos Page Specifics */
.certificate-features ul li {
    margin-bottom: 0.5em;
    font-size: 1.1em;
}
.feature-icon {
    color: var(--secondary-color);
    margin-right: 0.5em;
}
.price-result {
    margin-top: 1.5em;
    padding: 1em;
    background-color: #e6f3ff;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
}
.price-result p {
    margin: 0;
}
.cta-contact {
    margin-top: 2em;
    text-align: center;
    padding: 1em;
    background-color: var(--background-grey);
    border-radius: 4px;
}

/* Projects Grid (for #ultimos-trabajos and /proyectos.html) */
.projects-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

/* Partners Section */
.partner-logos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(100px, 1fr));
    gap: 2em;
    margin-top: 2em;
    justify-items: center;
    align-items: start; 
}

/* Testimonials Section */
.testimonials-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2em;
    margin-top: 2em;
}

/* Credits Page Specific Styles */
.credits-section .developer-profile {
    background-color: var(--background-light);
    padding: 2em;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    margin-bottom: 2.5em;
    border-left: 5px solid var(--secondary-color);
}

.credits-section .developer-profile h3 {
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 0.2em;
    font-size: 1.8em;
}

.credits-section .developer-profile .developer-role {
    display: block;
    color: var(--secondary-color); 
    margin-bottom: 1em;
    font-style: italic;
    font-weight: bold;
    font-size: 1.1em;
}

.credits-section .developer-profile p:not(.developer-role) {
    line-height: 1.7;
    color: var(--text-dark);
    font-size: 1em;
    margin-bottom: 0;
}