/* Estilos generales */
:root {
    --primary-color: #003366; /* Azul oscuro corporativo */
    --secondary-color: #E31937; /* Rojo corporativo */
    --accent-color: #FFC72C; /* Amarillo corporativo */
    --light-color: #F5F5F5;
    --dark-color: #333333;
    --text-color: #444444;
    --white: #FFFFFF;
}

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

body {
    font-family: 'Open Sans', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
}

h1, h2, h3, h4 {
    font-family: 'Montserrat', sans-serif;
    color: var(--primary-color);
}

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

.whatsapp-button {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background-color: #25D366;
    color: white;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    text-align: center;
    line-height: 50px;
    font-size: 24px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s;
  }
  
.whatsapp-button:hover {
    background-color: #128C7E;
    transform: scale(1.1);
}
.btn-whatsapp-orange {
  background-color: orange;
  color: white;
  border: none;
  border-radius: 50px;
  padding: 10px 20px;
  font-size: 16px;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.btn-whatsapp-orange:hover {
  background-color: darkorange;
}

.btn {
    display: inline-block;
    background-color: var(--secondary-color);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn:hover {
    background-color: #C1121F;
    transform: translateY(-2px);
}

/* Header */
header {
    background-color: var(--white);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

.logo img {
    height: 60px;
}

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

nav ul li a {
    color: var(--primary-color);
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    transition: color 0.3s ease;
}

nav ul li a:hover, nav ul li a.active {
    color: var(--secondary-color);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../img/banner.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 180px 0 100px;
    margin-top: 60px;
}

.hero h1 {
    font-size: 2.5rem;
    color: var(--white);
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 30px;
}

/* About Section */
.about {
    padding: 80px 0;
    text-align: center;
}

.about h2 {
    margin-bottom: 30px;
    font-size: 2rem;
}

.about p {
    max-width: 800px;
    margin: 0 auto 40px;
}

.features {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    margin-top: 40px;
}

.feature {
    flex: 1;
    min-width: 250px;
    margin: 15px;
    padding: 30px 20px;
    background-color: var(--light-color);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.feature h3 {
    color: var(--secondary-color);
    margin-bottom: 15px;
}

/* CTA Section */
.cta {
    background-color: var(--primary-color);
    color: var(--white);
    text-align: center;
    padding: 60px 0;
}

.cta h2 {
    color: var(--white);
    margin-bottom: 20px;
}

/* Services Page */
.services-hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../img/banner.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 60px;
}

.services-hero h1 {
    color: var(--white);
}

.services-list {
    padding: 80px 0;
}

.service {
    background-color: var(--light-color);
    padding: 30px;
    margin-bottom: 30px;
    border-left: 5px solid var(--secondary-color);
    border-radius: 0 5px 5px 0;
}

.service h2 {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.why-us {
    background-color: var(--primary-color);
    color: var(--white);
    padding: 60px 0;
}

.why-us h2 {
    color: var(--white);
    text-align: center;
    margin-bottom: 30px;
}

.why-us ul {
    max-width: 800px;
    margin: 0 auto;
    list-style-position: inside;
}

.why-us li {
    margin-bottom: 15px;
}

/* Contact Page */
.contact-hero {
    background: linear-gradient(rgba(0, 51, 102, 0.8), rgba(0, 51, 102, 0.8)), url('../img/banner.jpg') no-repeat center center/cover;
    color: var(--white);
    text-align: center;
    padding: 150px 0 80px;
    margin-top: 60px;
}

.contact-hero h1 {
    color: var(--white);
}

.contact-form {
    padding: 80px 0;
}

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

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: bold;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-family: 'Open Sans', sans-serif;
}

.form-group textarea {
    min-height: 150px;
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border-radius: 5px;
}

.alert.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.alert.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

.contact-info {
    padding: 60px 0;
    background-color: var(--light-color);
    text-align: center;
}

.contact-details {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.contact-item {
    flex: 1;
    min-width: 300px;
    margin: 15px;
    padding: 30px;
    background-color: var(--white);
    border-radius: 5px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.contact-item h3 {
    margin-bottom: 15px;
    color: var(--secondary-color);
}

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

.footer-info, .footer-links {
    flex: 1;
    min-width: 300px;
    margin-bottom: 30px;
}

.footer-info h3 {
    color: var(--white);
    margin-bottom: 20px;
}

.footer-links h3 {
    color: var(--white);
    margin-bottom: 20px;
}

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

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

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--white);
}

.copyright {
    text-align: center;
    padding: 20px 0;
    background-color: rgba(0, 0, 0, 0.2);
    margin-top: 30px;
}

/* Responsive */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    nav ul {
        flex-direction: column;
        align-items: center;
    }
    
    nav ul li {
        margin-bottom: 10px;
    }
    
    .hero {
        padding: 150px 0 80px;
    }
    
    .features {
        flex-direction: column;
    }
    
    .feature {
        margin-bottom: 20px;
    }
}