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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: white;
    min-height: 100vh;
    color: #2d2d2d;
    border-left: 20px solid #cb6ce6;
    border-right: 20px solid #cb6ce6;
}

header {
    background: #ffffff;
    padding: 1rem 2rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 220px;
    overflow: hidden;
}

.logo img {
    height: 250px;
    width: auto;
    position: relative;
    top: -10px;
    left: 0;
    animation: fadeInLogo 2s ease;
}

.hero {
    text-align: center;
    padding: 4rem 2rem;
    color:#cb6ce6;
}

.hero h1 {
    font-family: 'Montserrat', sans-serif;
    font-size: 81.7px;
    margin-bottom: 1rem;
    position: relative;
    animation: fadeInDown 1s ease;
    display: inline-block;
}

.hero h1 span {
    position: relative;
    display: inline-block;
    color: #cb6ce6;
    text-shadow: none;
}

/* .hero h1 span::before {
    content: attr(data-letter);
    position: absolute;
    top: -5px;
    left: 50px;
    color: #FFCCEB;
    z-index: -1;
    transform: skewX(-57deg);
} */

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 1s ease;
}

.cta-button {
    background: white;
    color: #cb6ce6;
    padding: 1rem 2.5rem;
    border: 2px solid #FFCCEB;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: fadeIn 1.5s ease;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    background: #ffffff;
    color:#cb6ce6;
}

.services {
    background: white;
    padding: 4rem 2rem;
    margin: 2rem auto;
    max-width: 1200px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
}

.services h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #cb6ce6;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.size-control {
    text-align: center;
    margin-bottom: 2rem;
}

.size-control label {
    font-size: 1.1rem;
    color: #cb6ce6;
    margin-right: 1rem;
}

.size-control input {
    width: 200px;
}

.service-card {
    background: linear-gradient(135deg, #FFCCEB 0%, #f0b8e0 100%);
    padding: 1.5rem;
    border-radius: 50%;
    border: 2px solid #cb6ce6;
    box-shadow: 0 4px 15px rgba(203, 108, 230, 0.2);
    transition: all 0.3s ease;
    cursor: pointer;
    width: 300px;
    height: 300px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}


.service-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(203, 108, 230, 0.4);
}

.service-number {
    position: absolute;
    top: 15px;
    left: 15px;
    background: #cb6ce6;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    text-align: center;
    line-height: 35px;
    font-weight: bold;
    z-index: 2;
}

.service-card h3 {
    color: #5a2d6b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
    position: relative;
    top: -35px; /* Puedes cambiar este valor para mover arriba/abajo */
}

.service-icon {
    width: 187px;
    height: 187px;
    margin-bottom: 0.5rem;
    border-radius: 50%;
    object-fit: cover;
}

.position-controls {
    position: absolute;
    right: -80px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.vertical-slider {
    writing-mode: bt-lr;
    width: 60px;
    height: 20px;
    transform: rotate(270deg);
    transform-origin: center;
}

.horizontal-slider {
    width: 60px;
    height: 20px;
}

footer {
    text-align: center;
    padding: 2rem;
    color: white;
    font-size: 0.9rem;
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes fadeInLogo {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2rem;
    }

    .hero p {
        font-size: 1rem;
    }

    .services h2 {
        font-size: 2rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }
}

/* Modal styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background-color: white;
    margin: 5% auto;
    padding: 2rem;
    border-radius: 15px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    animation: slideIn 0.3s ease;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}

.close:hover {
    color: #cb6ce6;
}

.modal h2 {
    color: #cb6ce6;
    margin-bottom: 1.5rem;
    text-align: center;
}

.requirements-section {
    background: #f9f9f9;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    border-left: 4px solid #cb6ce6;
}

.requirements-section h3 {
    color: #5a2d6b;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.requirements-section ul {
    list-style-type: disc;
    padding-left: 1.5rem;
}

.requirements-section li {
    margin-bottom: 0.3rem;
    color: #333;
}

.modal form {
    display: flex;
    flex-direction: column;
}

.modal label {
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #5a2d6b;
}

.modal input,
.modal textarea {
    margin-bottom: 1rem;
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

.modal input:focus,
.modal textarea:focus {
    outline: none;
    border-color: #cb6ce6;
    box-shadow: 0 0 5px rgba(203, 108, 230, 0.5);
}

.submit-btn {
    background: #cb6ce6;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.whatsapp-btn {
    background: #25d366;
    color: white;
    padding: 1rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    margin-bottom: 1rem;
}

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

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