/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

section {
    padding: 80px 0;
}

h1, h2, h3 {
    margin-bottom: 20px;
}

p {
    margin-bottom: 15px;
}

a {
    text-decoration: none;
}

.btn {
    display: inline-block;
    background: #2DBAFA;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    transition: background 0.3s ease;
}

.btn:hover {
    background: #2c98ca;
}

/* Header Styles */
header {
    background-color: #fff;
    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: 20px 15px;
}

.logo a {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #2DBAFA;
}

.logo img {
    height: 40px;
    width: auto;
    margin-right: 10px;
}

.logo span {
    font-size: 24px;
    font-weight: bold;
}

nav ul {
    display: flex;
    list-style: none;
}

nav ul li {
    margin-left: 30px;
}

nav ul li a {
    color: #333;
    font-weight: 500;
    transition: color 0.3s ease;
}

nav ul li a:hover {
    color: #2DBAFA;
}

.menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* Hero Section */
.section {
    padding-top: 120px;
    min-height: 100vh;
    scroll-margin-top: 80px;
}

.hero {
    text-align: center;
    margin-bottom: 50px;
}

.hero h2 {
    font-size: 36px;
    margin-bottom: 20px;
}

.hero p {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
}

/* Features Section */
.features {
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-top: 50px;
}

.feature {
    flex: 1;
    text-align: center;
    padding: 20px;
    margin: 0 10px;
    background: #f9f9f9;
    border-radius: 5px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.feature i {
    font-size: 50px;
    color: #CC5AFB;
    margin-bottom: 20px;
}

/* Products Section */
.products {
    display: flex;
    justify-content: space-between;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.product {
    display: flex;
    flex-direction: column;
    align-items: center;
    background: #fff;
    border-radius: 5px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.product:hover {
    transform: translateY(-5px);
}

.product img {
    width: 150px;
    height: auto;
    position: relative;
    mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    -webkit-mask-image: linear-gradient(to bottom, rgba(0,0,0,1) 70%, rgba(0,0,0,0) 100%);
    margin-bottom: -20px;
}

.product h3, .product p, .product a {
    padding: 0 20px;
}

.product h3 {
    margin-top: 20px;
}

.product a, .product button {
    display: inline-block;
    margin: 10px 20px;
}

/* Desplegable */
.product-details {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease-out;
    padding: 0 20px;
}

.product-details.active {
    max-height: 1000px;
    transition: max-height 0.6s ease-in;
}

.product-details-content {
    padding: 20px 0;
    border-top: 1px solid #eee;
}

.product-details h4 {
    color: #2DBAFA;
    margin-bottom: 15px;
}

.product-details p {
    margin-bottom: 15px;
    text-align: left;
}

.product-details .btn {
    margin: 10px auto;
    width: auto;
    display: inline-block;
}

.toggle-details {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.toggle-details i {
    transition: transform 0.3s ease;
}

.toggle-details.active i {
    transform: rotate(180deg);
}


/* Contact Section */
.contact-info {
    display: flex;
    flex-wrap: wrap;
    margin-top: 40px;
    gap: 30px;
}

.contact-details, .contact-form {
    flex: 1;
    min-width: 300px;
}

.contact-details p {
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.contact-details i {
    width: 30px;
    color: #2DBAFA;
}

.social {
    display: flex;
    margin-top: 30px;
}

.social a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: #2DBAFA;
    color: #fff !important;
    border-radius: 50%;
    margin-right: 10px;
    transition: background 0.3s ease;
}

.social a i {
    color: #fff;
    font-size: 18px;
}

.social a:hover {
    background: #2c98ca;
}

.social a:hover i {
    color: #fff;
}

.form-group {
    margin-bottom: 15px;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 5px;
    outline: none;
    transition: border-color 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    border-color: #2DBAFA;
}

.form-group textarea {
    height: 150px;
    resize: vertical;
}

/* Footer */
footer {
    background: #222;
    color: #fff;
    text-align: center;
    padding: 20px 0;
}

/* Responsive Styles */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    nav ul {
        position: absolute;
        flex-direction: column;
        top: 70px;
        left: 0;
        right: 0;
        background: #fff;
        box-shadow: 0 5px 10px rgba(0, 0, 0, 0.1);
        padding: 20px;
        clip-path: circle(0% at 100% 0);
        transition: clip-path 0.5s ease-in-out;
    }

    nav ul.active {
        clip-path: circle(150% at 100% 0);
    }

    nav ul li {
        margin: 15px 0;
    }

    .features {
        flex-direction: column;
    }

    .feature {
        margin: 10px 0;
    }

    .contact-info {
        flex-direction: column;
    }

    .hero h2 {
        font-size: 28px;
    }

    .hero p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    section {
        padding: 60px 0;
    }

    .logo h1 {
        font-size: 20px;
    }

    .products {
        grid-template-columns: 1fr;
    }
}