/* ====== VARIABLES DE COLOR ====== */
:root {
    --primary-color: #1e6cb1;
    --primary-dark: #154a7c;
    --primary-light: #4a8fc7;
    --text-light: #f8f9fa;
    --text-dark: #212529;
    --shadow-light: rgba(0,0,0,0.1);
    --shadow-medium: rgba(0,0,0,0.3);
    --shadow-dark: rgba(0,0,0,0.5);
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
}

/* ====== TIPOGRAFÍA Y LEGIBILIDAD ====== */
body {
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: #f8f9fa;
    opacity: 1;
    transition: opacity 0.3s ease;
}

body.dom-ready {
    opacity: 1;
}

/* ====== ANIMACIONES GLOBALES ====== */
/* @keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
} */

@keyframes slideInFromLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* ====== ENCABEZADO ====== */
.header-container {
    position: relative;
    width: 100%;
    overflow: hidden;
}

.header-img {
    width: 100%;
    height: auto;
    filter: brightness(0.7);
    display: block;
    /* transition: transform 0.5s ease, filter 0.5s ease; */
}


/* ====== TÍTULOS ====== */
h1, h2, h3, h4, h5, h6,
.titulo-index {
    color: var(--primary-dark);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    text-shadow: 0 1px 2px var(--shadow-light);
}

h1 {
    font-size: 2.2rem;
    letter-spacing: -0.5px;
    animation: slideInFromLeft 0.6s ease-out;
}

h2 {
    font-size: 1.8rem;
}

.titulo-index {
    font-size: 1.6rem;
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 0.5rem;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.titulo-index::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: var(--primary-dark);
    transition: left 0.3s ease;
}

.titulo-index:hover::after {
    left: 0;
}

/* ====== TEXTO GENERAL ====== */
p {
    font-size: 1.1rem;
    color: #495057;
    margin-bottom: 1.5rem;
}

.lead {
    font-size: 1.25rem;
    font-weight: 300;
    color: var(--primary-color);
}

/* ====== BARRA DE NAVEGACIÓN ====== */
.navbar {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    box-shadow: 0 2px 15px var(--shadow-medium);
    animation: slideInFromRight 0.6s ease-out;
}

.navbar-brand, .nav-link {
    color: var(--text-light) !important;
    font-weight: 500;
    text-shadow: 0 1px 3px var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
}

.nav-link {
    padding: 0.5rem 1.2rem;
    margin: 0 0.3rem;
    border-radius: 4px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: white;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 80%;
}

.nav-link:hover {
    background-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.navbar-toggler {
    border-color: rgba(255,255,255,0.2);
    transition: transform 0.3s ease;
}

.navbar-toggler:hover {
    transform: rotate(90deg);
}

/* ====== WIDGET DEL CLIMA ====== */
.weather-widget {
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.18);
    padding: 20px 22px;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 1rem;
    animation: slideInFromLeft 0.5s ease-out;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.weather-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.city-block {
    display: flex;
    flex-direction: column;
}

.city-label {
    font-size: 11px;
    text-transform: uppercase;
    color: #6b7280;
    letter-spacing: 0.5px;
}

.city-name {
    font-size: 18px;
    font-weight: 600;
    color: #111827;
    display: flex;
    align-items: center;
    gap: 6px;
}

.city-name .icon {
    animation: pulse 2s infinite ease-in-out;
}

.updated-at {
    font-size: 11px;
    color: #6b7280;
}

.weather-today {
    display: flex;
    justify-content: space-between;
    padding: 12px 14px;
    border-radius: 12px;
    background: linear-gradient(135deg, #eff6ff, #e0f2fe);
    transition: transform 0.3s ease;
}


.today-main {
    display: flex;
    flex-direction: column;
}

.today-label {
    font-size: 12px;
    text-transform: uppercase;
    color: #2563eb;
    font-weight: 600;
    letter-spacing: 0.5px;
}

.today-temp {
    font-size: 30px;
    font-weight: 700;
    color: var(--primary-dark);
    line-height: 1.2;
}

.today-desc {
    font-size: 13px;
    color: #6b7280;
}

/* .today-icon {
    /* transition: transform 0.3s ease; */
 */

/* .today-icon:hover {
    transform: rotate(10deg) scale(1.1);
} */

.today-icon img {
    width: 48px;
    height: 48px;
    /* transition: all 0.3s ease; */
}

.weather-next {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.next-row {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    padding: 8px 0;
    transition: background-color 0.3s ease;
    border-radius: 8px;
}

.next-row:hover {
    background-color: #f8f9fa;
}

.next-label {
    font-weight: 600;
    color: var(--text-dark);
}

.next-desc {
    color: #6b7280;
}

.next-temp-block {
    display: flex;
    align-items: center;
    gap: 8px;
}

.next-temp {
    font-weight: 600;
    color: #f97316;
    transition: color 0.3s ease;
}

.next-temp-block:hover .next-temp {
    color: #ea580c;
}

.next-temp-block img {
    width: 32px;
    height: 32px;
    transition: transform 0.3s ease;
}

.next-temp-block img:hover {
    transform: scale(1.15);
}

.divider {
    height: 1px;
    background: #e5e7eb;
    margin: 4px 0;
}

.alert-banner {
    padding: 10px 12px;
    border-radius: 10px;
    background: #fef3c7;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 12px;
    color: #92400e;
    border-left: 4px solid #f59e0b;
    transition: all 0.3s ease;
    cursor: pointer;
}

.alert-banner:hover {
    background: #fde68a;
    transform: translateX(5px);
}

.alert-icon {
    font-size: 16px;
    /* animation: pulse 2s infinite; */
    }


.alert-text {
    flex: 1;
}

/* ====== CAJAS PUBLICITARIAS ====== */
.ad-box {
    background: white;
    border-left: 4px solid var(--primary-color);
    border-radius: 8px;
    padding: 1.5rem;
    margin: 1rem 0;
    box-shadow: 0 3px 10px var(--shadow-light);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    overflow: hidden;
}

.ad-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.1) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.ad-box:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.ad-box:hover::before {
    opacity: 1;
}

.ad-box h5 {
    color: var(--primary-dark);
    font-weight: 600;
    margin-bottom: 1rem;
}

.ad-box p {
    font-size: 1rem;
    color: #6c757d;
    margin-bottom: 1rem;
}

/* ====== OFERTAS ====== */
.offer-badge {
    background-color: var(--danger-color);
    color: white;
    display: inline-block;
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 1rem;
    text-transform: uppercase;
    animation: pulse 2s infinite;
    box-shadow: 0 2px 5px rgba(220, 53, 69, 0.3);
}

.offer-countdown {
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    text-align: center;
    transition: all 0.3s ease;
}

.offer-countdown:hover {
    background-color: #e9ecef;
    transform: scale(1.02);
}

.countdown-timer {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-dark);
    letter-spacing: 2px;
    font-family: 'Courier New', monospace;
}

.countdown-timer span {
    display: inline-block;
    min-width: 2ch;
    transition: all 0.3s ease;
}

.countdown-timer:hover span {
    color: var(--primary-color);
    transform: scale(1.1);
}

/* ====== TESTIMONIOS ====== */
.testimonial-item {
    margin-top: 1rem;
}

.testimonial-text {
    font-style: italic;
    background-color: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--primary-light);
    transition: all 0.3s ease;
}

.testimonial-text:hover {
    background-color: #e9ecef;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px var(--shadow-light);
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
    transition: all 0.4s ease;
}

.testimonial-author:hover img {
    transform: scale(1.1) rotate(5deg);
    border: 2px solid var(--primary-color);
}

.stars {
    color: var(--warning-color);
}

.stars i {
    transition: transform 0.3s ease;
}

.stars:hover i {
    transform: scale(1.2);
    margin: 0 2px;
}

/* ====== LISTA DE DESCARGABLES ====== */
.download-list {
    list-style: none;
    padding-left: 0;
}

.download-list li {
    margin-bottom: 0.75rem;
    transition: transform 0.3s ease;
}

.download-list li:hover {
    transform: translateX(10px);
}

.download-list a {
    text-decoration: none;
    color: var(--primary-dark);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 4px;
}

.download-list a:hover {
    color: var(--primary-color);
    background-color: rgba(30, 108, 177, 0.05);
}

.download-list i {
    font-size: 1.25rem;
    color: var(--danger-color);
    transition: all 0.3s ease;
}

.download-list li:hover i {
    transform: scale(1.2) translateY(-2px);
}

/* ====== CONTACTO DE EMERGENCIA ====== */
.emergency-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--danger-color);
    text-decoration: none;
    margin: 0.5rem 0;
    transition: all 0.3s ease;
    padding: 0.75rem;
    border-radius: 4px;
    text-align: center;
    background-color: rgba(220, 53, 69, 0.05);
}

.emergency-number:hover {
    color: white;
    background-color: var(--danger-color);
    transform: scale(1.05);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.3);
}

.emergency-number i {
    transition: transform 0.3s ease;
}

.emergency-number:hover i {
    transform: rotate(15deg) scale(1.2);
}

/* ====== TIP-AUTHOR ====== */
.tip-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.tip-author:hover {
    background-color: rgba(30, 108, 177, 0.05);
}

.rounded-circle {
    border-radius: 50%;
    width: 60px;
    height: 60px;
    object-fit: cover;
    box-shadow: 0 2px 5px var(--shadow-light);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.tip-author:hover .rounded-circle {
    transform: scale(1.1) rotate(5deg);
    border-color: var(--primary-light);
    box-shadow: 0 5px 15px rgba(30, 108, 177, 0.3);
}

.tip-author p {
    margin-bottom: 0;
    font-weight: 600;
}

.tip-author span {
    font-weight: 400;
    font-size: 0.9rem;
    color: #6c757d;
}

/* ====== TARJETAS DE SERVICIOS ====== */
.service-features {
    list-style: none;
    padding-left: 0;
    margin-top: 1rem;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    transition: transform 0.3s ease;
}

.service-features li:hover {
    transform: translateX(5px);
}

.service-features i {
    color: var(--success-color);
    transition: transform 0.3s ease;
}

.service-features li:hover i {
    transform: scale(1.2);
}

.card {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    overflow: hidden;
    border: none;
    box-shadow: 0 5px 15px var(--shadow-light);
}

.card:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 0 20px 40px var(--shadow-medium);
}

.card-img-top {
    height: 200px;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.card:hover .card-img-top {
    transform: scale(1.1);
}

.card.border-primary {
    border-top: 4px solid var(--primary-color) !important;
}

.card.border-success {
    border-top: 4px solid var(--success-color) !important;
}

.card.border-warning {
    border-top: 4px solid var(--warning-color) !important;
}

/* ====== LOGROS ====== */
.achievements {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.achievement-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.achievement-item:hover {
    background-color: rgba(30, 108, 177, 0.05);
    transform: translateX(10px);
}

.achievement-icon {
    width: 50px;
    height: 50px;
    background-color: var(--primary-light);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.achievement-item:hover .achievement-icon {
    transform: rotate(360deg) scale(1.1);
    background-color: var(--primary-color);
}

.achievement-content h4 {
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
}

/* ====== POR QUÉ ELEGIRNOS ====== */
.why-us-list {
    list-style: none;
    padding-left: 0;
    margin-top: 1.5rem;
}

.why-us-list li {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: 8px;
}

.why-us-list li:hover {
    background-color: rgba(30, 108, 177, 0.05);
    transform: translateX(10px);
}

.why-us-list i {
    font-size: 1.5rem;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.why-us-list li:hover i {
    transform: scale(1.2) rotate(10deg);
    color: var(--primary-dark);
}

.why-us-list h5 {
    margin-bottom: 0.25rem;
    font-size: 1.1rem;
}

.why-us-list p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* ====== PROYECTOS ====== */
.project-card {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    cursor: pointer;
    transition: all 0.4s ease;
}

.project-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 30px var(--shadow-medium);
}

.project-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.8s ease;
    display: block;
}

.project-card:hover img {
    transform: scale(1.15);
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
    color: white;
    padding: 2rem 1rem 1rem;
    transition: opacity 0.4s ease, transform 0.4s ease;
    opacity: 0;
    transform: translateY(20px);
}

.project-card:hover .project-overlay {
    opacity: 1;
    transform: translateY(0);
}

.project-overlay h3 {
    color: white;
    margin-bottom: 0.25rem;
    font-size: 1.25rem;
    text-shadow: 0 1px 3px black;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.1s;
}

.project-card:hover .project-overlay h3 {
    transform: translateY(0);
}

.project-overlay p {
    color: rgba(255,255,255,0.9);
    margin-bottom: 0;
    font-size: 0.9rem;
    text-shadow: 0 1px 2px black;
    transform: translateY(20px);
    transition: transform 0.4s ease 0.2s;
}

.project-card:hover .project-overlay p {
    transform: translateY(0);
}

/* ====== BOTONES ====== */
.btn {
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.5rem 1.5rem;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s ease, height 0.6s ease;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-dark);
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-3px);
    box-shadow: 0 6px 12px var(--shadow-medium);
}

.btn-success {
    background-color: var(--success-color);
    border-color: #218838;
}

.btn-success:hover {
    background-color: #218838;
    transform: translateY(-3px);
    box-shadow: 0 6px 12px rgba(40, 167, 69, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-outline-primary:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.btn-warning {
    color: var(--text-dark);
}

/* =====️⚠️ IMPORTANTE: NO TOCAR LAS COLUMNAS ⚠️===== */
/* Bootstrap controla las columnas, no añadir reglas para .col-lg-2 o .col-lg-8 */

/* ====== FOOTER ====== */
footer {
    margin-top: 3rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color), var(--primary-light), var(--primary-color));
    animation: gradientMove 3s infinite linear;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

footer a {
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--primary-light) !important;
    transform: translateX(5px);
}

footer hr {
    opacity: 0.2;
    margin: 2rem 0;
}

.social-links a {
    display: inline-block;
    transition: all 0.3s ease;
}

.social-links a:hover {
    transform: translateY(-5px) scale(1.2);
}

/* ====== RESPONSIVE ====== */
@media (max-width: 992px) {
    .col-lg-2, .col-lg-8 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
    
    .weather-widget {
        max-width: 100%;
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 1.8rem;
    }
    
    .ad-box {
        padding: 1rem;
    }
    
    .countdown-timer {
        font-size: 1.25rem;
    }
    
    .emergency-number {
        font-size: 1.1rem;
    }
}

/* ====== UTILIDADES ====== */
.img-fluid {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 2px 10px var(--shadow-light);
    transition: all 0.4s ease;
}

img:not([class*="rounded-circle"]):hover {
    transform: scale(1.03) translateY(-5px);
    box-shadow: 0 10px 25px var(--shadow-medium);
}

.text-primary-dark {
    color: var(--primary-dark);
}

.bg-primary-light {
    background-color: var(--primary-light);
}

/* ====== ANIMACIONES ====== */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

.navbar-scrolled {
    padding: 0.3rem 1rem;
    box-shadow: 0 5px 20px rgba(0,0,0,0.2);
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color)) !important;
}
/* ====== TÍTULO PREMIUM DORADO ====== */
.titulo-premium {
    font-size: 1.8rem;
    font-weight: 800;
    font-style: italic;
    font-family: 'Playfair Display', 'Times New Roman', serif;
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #D4AF37;
    display: inline-block;
    width: auto;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    letter-spacing: 1px;
    position: relative;
}

.titulo-premium i {
    background: linear-gradient(135deg, #D4AF37 0%, #FFD700 50%, #D4AF37 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Efecto de brillo al pasar el ratón */
.titulo-premium:hover {
    text-shadow: 0 0 15px rgba(212, 175, 55, 0.5);
    transform: scale(1.02);
    transition: all 0.3s ease;
}
/* ====== CORRECCIÓN DE COLUMNAS ====== */
@media (min-width: 992px) {
    .col-lg-2 {
        flex: 0 0 16.66666667% !important;
        width: 16.66666667% !important;
        max-width: 16.66666667% !important;
        display: block !important;
    }
    
    .col-lg-8 {
        flex: 0 0 66.66666667% !important;
        width: 66.66666667% !important;
        max-width: 66.66666667% !important;
        display: block !important;
    }
}

/* Mantén tu responsive para móviles */
@media (max-width: 992px) {
    .col-lg-2, .col-lg-8 {
        width: 100%;
        flex: 0 0 100%;
        max-width: 100%;
    }
}

/* ====== ESTILOS PARA HERO DE PROYECTOS ====== */
.hero-proyectos {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: left;
}

.hero-proyectos h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-proyectos p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.hero-proyectos .btn-light {
    background-color: white;
    color: var(--primary-dark);
    border: none;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-proyectos .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.hero-proyectos .btn-outline-light {
    border: 2px solid white;
    color: white;
    padding: 0.75rem 2rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.hero-proyectos .btn-outline-light:hover {
    background-color: white;
    color: var(--primary-dark);
    transform: translateY(-2px);
}

/* ====== ESTILOS PARA CTA DE PROYECTOS ====== */
.cta-proyectos {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin-top: 2rem;
}

.cta-proyectos h2 {
    color: white;
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.cta-proyectos p {
    color: rgba(255,255,255,0.9);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.cta-proyectos .btn-light {
    background-color: white;
    color: var(--primary-dark);
    border: none;
    padding: 0.75rem 2.5rem;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.cta-proyectos .btn-light:hover {
    background-color: #f8f9fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* ====== RESPONSIVE PARA HERO Y CTA ====== */
@media (max-width: 768px) {
    .hero-proyectos {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    .hero-proyectos h1 {
        font-size: 1.8rem;
    }
    
    .hero-proyectos p {
        font-size: 1rem;
    }
    
    .hero-proyectos .d-flex {
        flex-direction: column;
        gap: 1rem !important;
    }
    
    .hero-proyectos .btn-light,
    .hero-proyectos .btn-outline-light {
        width: 100%;
    }
    
    .cta-proyectos {
        padding: 2rem 1.5rem;
    }
    
    .cta-proyectos h2 {
        font-size: 1.5rem;
    }
    
    .cta-proyectos .btn-light {
        width: 100%;
    }
}
/* ====== CORRECCIÓN CTA CONTACTO ====== */
.cta-contacto p {
    color: white !important;
    opacity: 1 !important;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.2);
}

.cta-contacto h3 {
    color: white !important;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}
/* ====== ESTILOS PARA PÁGINA DE CONTACTO ====== */

.hero-contacto {
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: white;
    padding: 3rem 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
    text-align: center;
}

.hero-contacto h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.2);
}

.hero-contacto p {
    color: rgba(255,255,255,0.9);
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
}

.info-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 5px 20px var(--shadow-light);
    transition: transform 0.3s ease;
    border-left: 4px solid var(--primary-color);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px var(--shadow-medium);
}

.info-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.info-card h3 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.info-card p {
    color: #6c757d;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.info-card a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-card a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.boton-whatsapp {
    display: inline-block;
    background-color: #25D366;
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.boton-whatsapp:hover {
    background-color: #128C7E;
    color: white;
    transform: scale(1.05);
    text-decoration: none !important;
}

.valor-card {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 12px;
    padding: 1.5rem;
    height: 100%;
    text-align: center;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.valor-card:hover {
    border-bottom: 3px solid var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow-light);
}

.valor-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.valor-card h4 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--primary-dark);
}

.valor-card p {
    font-size: 0.95rem;
    color: #6c757d;
    margin-bottom: 0;
}

.mapa-container {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-medium);
    margin: 2rem 0;
}

.mapa-container iframe {
    width: 100%;
    height: 350px;
    border: 0;
    display: block;
}

.faq-item {
    background: white;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    box-shadow: 0 3px 10px var(--shadow-light);
    border-left: 4px solid var(--primary-light);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px var(--shadow-medium);
}

.faq-item h5 {
    color: var(--primary-dark);
    font-weight: 700;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.faq-item p {
    color: #6c757d;
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Responsive para contacto */
@media (max-width: 768px) {
    .hero-contacto {
        padding: 2rem 1rem;
    }
    
    .hero-contacto h1 {
        font-size: 1.8rem;
    }
    
    .hero-contacto p {
        font-size: 1rem;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .mapa-container iframe {
        height: 250px;
    }
}