/* Reset básico */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Variables de color */
:root {
    --color-primario: #2c3e50;
    --color-secundario: #3498db;
    --color-terciario: #2980b9;
    --color-fondo-servicios: #f8f9fa;
    --color-texto-servicios: #26282b;
}

/* Animaciones clave */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Preloader */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1405e2;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
    transition: opacity 0.5s ease;
    color: hsl(56, 98%, 50%);
}

.loader {
    width: 80px;
    height: 80px;
    border: 5px solid rgb(232, 248, 3);
    border-radius: 50%;
    border-top-color: rgb(54, 233, 10)
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Estilos generales */
body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
}

/* Header con logo centrado */
header {
    background: var(--color-primario);
    color: goldenrod;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    position: relative;
}

.logo {
    display: flex;
    justify-content: center;
    width: 100%;
    margin-bottom: 1rem;
}

.logo img {
    height: 250px;
    transition: transform 0.3s ease;
}

.logo img:hover {
    transform: scale(1.50);
}

nav {
    width: 100%;
    display: flex;
    justify-content: center;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 1rem;
}

nav ul li a {
    color: white;
    text-decoration: none;
    padding: 0.5rem 1rem;
    display: block;
    transition: all 0.3s ease;
    border-radius: 4px;
}

nav ul li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 1.5rem;
    position: fixed;
    right: 1rem;
    top: 0.3rem;
}

/* Hero section */
.hero {
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,10,1,0)), url('../image/fondo2.png');
    background-size: cover;
    background-position: center;
    color: white;
    text-align: center;
    padding: 5rem 1rem;
    min-height: 70vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    animation: fadeIn 1s ease forwards;
    animation-delay: 0.3s;
}

.hero h1 {
    font-size: 2.8rem;
    margin-bottom: 1.5rem;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.hero p {
    font-size: 1.2rem;
    max-width: 800px;
    margin-bottom: 2rem;
}

/* Botones */
.btn {
    display: inline-block;
    background: var(--color-secundario);
    color: white;
    padding: 0.8rem 2rem;
    text-decoration: none;
    border-radius: 50px;
    margin-top: 1rem;
    transition: all 0.3s ease;
    font-weight: bold;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 6px rgba(0,0,0,0.1);
}

.btn:hover {
    background: var(--color-terciario);
    transform: translateY(-3px);
    box-shadow: 0 12px 24px rgba(0,0,0,0.15);
}

/* Sección de servicios */
.servicios {
    padding: 4rem 1rem;
    text-align: center;
    background-color: var(--color-fondo-servicios);
}

.servicios h2 {
    margin-bottom: 3rem;
    color: var(--color-primario);
    font-size: 2.2rem;
}

.servicios-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.servicio {
    background:silver;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    text-align: left;
}

.servicio h3 {
    color: var(--color-primario);
    margin-bottom: 1rem;
    font-size: 1.4rem;
}

.servicio p {
    color: var(--color-texto-servicios);
    line-height: 1.7;
}

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

/* Sección nosotros */
.nosotros {
    padding: 4rem 1rem;
    text-align: center;
    background: white;
   

}

.nosotros h2 {
    margin-bottom: 2rem;
    color: var(--color-primario);
}

.nosotros p {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
}

/* Sección Abono */
.nosotros1 {
    padding: 4rem 1rem;
    text-align: center;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,10,1,0)), url('../image/fondo3.png');
   color: whitesmoke;

}

.nosotros1 h2 {
    margin-bottom: 2rem;
    color:whitesmoke;
    
}

.nosotros1 p {
    max-width: 800px;
    margin: 0 auto 2rem;
    line-height: 1.7;
    
}
.logo1{
    display: inline-flexbox;
    justify-content:normal;
    width: 25%;
    margin-bottom: 1rem;
}
.logo2{
    display: inline-flexbox;
    justify-content:normal;
    width: 25%;
    background-color: #26282b;
    margin-bottom: 1rem;
}
/* Footer */
footer {
    background: var(--color-primario);
    color: white;
    padding: 1rem 0rem 1rem;
    text-align: right;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    text-align: left;
}

.footer-column h3 {
    color: white;
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

.footer-column h3::after {
    content: '';
    position: absolute;
    left: 0;
    bottom: 0;
    width: 50px;
    height: 2px;
    background: var(--color-secundario);
}

.footer-column p, .footer-column a {
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 0.5rem;
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-column a:hover {
    color: white;
    transform: translateX(5px);
}

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

.social-links a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    transition: all 0.3s ease;
}

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

.whatsapp-btn {
	  
    align-items: center;
    background: #25D366;
    color: white !important;
    padding: 0.6rem 1.2rem;
    border-radius: 50px;
    margin-top: 1rem;
    font-weight: 100;
    transition: all 0.3s ease;
    text-decoration: none;
    white-space: nowrap; /* Evita que el texto se divida en varias líneas */
    width: auto; /* Asegura que solo tome el ancho necesario */
}

.whatsapp-btn:hover {
    background: #128C7E;
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

.whatsapp-btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.footer-bottom {
    margin-top: 1rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Efectos reveal */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.firma{
		
		align-items: flex-end;
		font-size: 0.8rem;
		color: #CCFF00;
		text-shadow: 12px 2px 4px rgba(0,0,0,0.5);
}
.form-container {
        display: flex;
        justify-content: center;
        align-items: center;
        width: 100%;
    }
    
    form {
        width: 100%;
        max-width: 500px; /* Ajusta este valor según necesites */
        margin: 0 auto;
    }
    
    .form-group {
        margin-bottom: 15px;
        display: flex;
        flex-direction: column;
    }
    
    label {
        margin-bottom: 5px;
    }
    
    input, textarea {
        padding: 8px;
        border: 1px solid #ccc;
        border-radius: 4px;
    }
    
    textarea {
        resize: vertical;
    }
    .con1{
			text-align:center;
			font-size:2 rem;
			font-style:bold;    
    }
.contacto2{
			margin-top: 0.5rem;
			text-align: center;
			background: var(--color-fondo-servicios);
			text-decoration: none;
			
		}	
			
/* Responsive */
@media (max-width: 768px) {
    header {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
        padding: 1rem;
    }
    
    .logo {
        width: auto;
        margin-bottom: 0;
    }
    
    .logo img {
        height: 120px;
    }
    
    nav ul {
        display: none;
        flex-direction: column;
        width: 100%;
        position: absolute;
        top: 100%;
        left: 0;
        background: var(--color-primario);
        padding: 1rem;
        z-index: 100;
    }
    
    nav ul.show {
        display: flex;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .hero {
        min-height: 50vh;
        padding: 3rem 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .servicios-grid {
        grid-template-columns: 1fr;
    }
}
 .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-column h3::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-column a:hover {
        transform: none;
    }
}