/* Variables de color */
:root {
    --primary-color: #0066cc; /* Azul marino */
    --secondary-color: #00a0e9; /* Azul claro */
    --dark-color: #1a1a1a; /* Negro */
    --light-color: #ffffff; /* Blanco */
    --accent-color: #003366; /* Azul más oscuro para acentos */
}

/* Reset y estilos base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: var(--light-color);
    color: var(--dark-color);
    line-height: 1.6;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Header */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    height: 50px;
    width: auto;
}

.logo2 {
    height: auto;
    width: auto;
}
header h1 {
    color: var(--primary-color);
    font-size: 1.8rem;
    font-weight: 700;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    text-decoration: none;
    color: var(--dark-color);
    font-weight: 500;
    transition: color 0.3s;
}

nav ul li a:hover {
    color: var(--primary-color);
}

header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 0;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: var(--light-color);
    padding: 150px 0 100px;
    text-align: center;
}

.hero h2 {
    font-size: 2.5rem;
    margin-bottom: 20px;
}

.hero p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 30px;
}

/* Services Section */
.services {
    padding: 80px 0;
    background-color: #f9f9f9;
}

.services h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2rem;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.service-card {
    background-color: var(--light-color);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
}

.service-card i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.service-card h3 {
    margin-bottom: 15px;
    color: var(--accent-color);
}

/* Contact Section */
.contact {
    padding: 80px 0;
    background-color: var(--light-color);
}

.contact h2 {
    text-align: center;
    margin-bottom: 50px;
    color: var(--primary-color);
    font-size: 2rem;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 50px;
}

.contact-info {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.contact-info h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.contact-info p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.contact-info i {
    color: var(--primary-color);
    width: 20px;
    text-align: center;
}

.contact-form {
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 10px;
}

.contact-form h3 {
    margin-bottom: 20px;
    color: var(--accent-color);
}

.form-group {
    margin-bottom: 20px;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.form-group textarea {
    height: 120px;
    resize: vertical;
}

/* Footer */
footer {
    background-color: #161c1f;
    color: var(--light-color);
    padding: 50px 0 0;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
    align-items: start; /* Añade esto para que los items no se estiren */
}

.footer-logo {
    display: flex;
    align-items: center; /* o 'flex-start' si prefieres alineación arriba */
    gap: 10px;
    /* Añade estas propiedades: */
    height: auto; /* Altura automática */
    min-height: 0; /* Anula cualquier mínimo predefinido */
}

.footer-logo img {
    /* Reemplaza el height:10% por: */
    height: 80px; /* Ajusta este valor según necesites */
    width: auto; /* Mantiene proporciones */
    max-width: 100%; /* Evita que sobresalga */
    object-fit: contain; /* Mantiene relación de aspecto */
}

.footer-logo h3 {
    color: var(--light-color);
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--secondary-color);
}

.footer-social {
    display: flex;
    gap: 15px;
}

.footer-social a {
    color: var(--light-color);
    background-color: rgba(255, 255, 255, 0.1);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background-color 0.3s;
}

.footer-social a:hover {
    background-color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding: 20px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
}

/* Botones */
.btn {
    display: inline-block;
    background-color: var(--primary-color);
    color: var(--light-color);
    padding: 12px 30px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 500;
    transition: background-color 0.3s, transform 0.3s;
}

.btn:hover {
    background-color: var(--accent-color);
    transform: translateY(-2px);
}

/* WhatsApp Float */
.float-whatsapp {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background-color: #25D366;
    color: white;
    padding: 15px;
    border-radius: 50px;
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
    z-index: 999;
    transition: transform 0.3s, box-shadow 0.3s;
}

.float-whatsapp i {
    font-size: 1.5rem;
}

.float-whatsapp span {
    font-weight: 500;
    display: none;
}

.float-whatsapp:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.float-whatsapp:hover span {
    display: inline;
}

/* Responsive Design */
@media (max-width: 768px) {
    header .container {
        flex-direction: column;
        padding: 15px 0;
    }

    nav ul {
        margin-top: 15px;
    }

    nav ul li {
        margin-left: 15px;
    }

    .hero {
        padding: 120px 0 80px;
    }

    .hero h2 {
        font-size: 2rem;
    }

    .float-whatsapp span {
        display: inline;
    }
}

@media (max-width: 480px) {
    nav ul {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }

    nav ul li {
        margin-left: 0;
    }

    .hero h2 {
        font-size: 1.8rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .float-whatsapp {
        bottom: 20px;
        right: 20px;
        padding: 10px 15px;
    }

    .float-whatsapp span {
        font-size: 0.9rem;
    }
}

/* Sección de Descuentos */
.discounts {
    background-color: #f9f9f9;
    padding: 60px 0;
    text-align: center;
}

.discounts .subtitle {
    color: #666;
    margin-bottom: 40px;
    font-size: 1.2rem;
}

.discounts-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-bottom: 30px;
}

.discount-card {
    background: white;
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    position: relative;
    transition: transform 0.3s ease;
}

.discount-card:hover {
    transform: translateY(-10px);
}

.discount-badge {
    position: absolute;
    top: -15px;
    right: 20px;
    background: #ff6b6b;
    color: white;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
    box-shadow: 0 3px 10px rgba(255,107,107,0.3);
}

.discount-card h3 {
    margin-top: 10px;
    color: #333;
}

.original-price {
    text-decoration: line-through;
    color: #999;
    font-size: 1rem;
    margin: 10px 0;
}

.discounted-price {
    color: #2ecc71;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 10px 0;
}

.discount-info {
    color: #666;
    font-size: 0.9rem;
    margin: 15px 0;
    min-height: 40px;
}

.discount-btn {
    background: linear-gradient(135deg, #3498db, #2ecc71);
    border: none;
    width: 100%;
    padding: 12px;
    border-radius: 5px;
    color: white;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.discount-btn:hover {
    background: linear-gradient(135deg, #2980b9, #27ae60);
    box-shadow: 0 5px 15px rgba(46, 204, 113, 0.3);
}

.disclaimer {
    font-size: 0.8rem;
    color: #999;
    margin-top: 20px;
    font-style: italic;
}