:root {
    --primary-color: #005646;
    --secondary-color: #FFEFCE;
    --white: #FFFFFF;
    --text-color: #1a1a1a;
    --shadow-color: rgba(0, 0, 0, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--secondary-color);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    min-height: 100vh;
    overflow-x: hidden;
}

.container {
    width: 100%;
    max-width: 500px;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.header {
    text-align: center;
    margin-bottom: 30px;
}

.logo-container {
    width: 180px;
    height: 180px;
    background-color: var(--white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    /* Removing padding to allow circular crop */
    margin: 0 auto 20px;
    box-shadow: 0 10px 25px var(--shadow-color);
    border: 4px solid var(--primary-color);
    overflow: hidden;
    /* Circular crop */
}

.logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Ensuring it fills the circle and crops the square frames */
}

h1 {
    font-size: 1.8rem;
    color: var(--primary-color);
    margin-bottom: 5px;
    letter-spacing: -0.5px;
}

.tagline {
    font-size: 1rem;
    color: #444;
    font-weight: 300;
}

.links-container {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 18px 25px;
    border-radius: 16px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    border: 1px solid transparent;
}

.btn-primary {
    background-color: var(--primary-color);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(0, 86, 70, 0.2);
}

.btn-whatsapp {
    background-color: #25D366;
    color: var(--white);
    box-shadow: 0 8px 20px rgba(37, 211, 102, 0.2);
}

.btn-primary:hover,
.btn-whatsapp:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

.social-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.btn-social {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 0, 0, 0.05);
    color: var(--primary-color);
}

.btn-social:hover {
    background: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.promo-section {
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 16px;
    border: 1px dashed var(--primary-color);
    text-align: center;
}

.promo-section h2 {
    font-size: 1.1rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.promo-container p {
    font-size: 0.9rem;
    color: #666;
    font-style: italic;
}

.video-section {
    margin-top: 30px;
    width: 100%;
}

.video-section h2 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
}

.video-container {
    width: 100%;
    max-height: 450px;
    /* Reduciendo la altura según feedback */
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow-color);
    background: #000;
    line-height: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.video-container video {
    width: 100%;
    height: 100%;
    max-height: 450px;
    object-fit: contain;
    /* Para que el video no se deforme al limitar la altura */
    display: block;
}

.gallery-section {
    margin-top: 40px;
    width: 100%;
}

.gallery-section h2 {
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: 20px;
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
    border-radius: 20px;
    overflow: hidden;
}

.gallery-item {
    aspect-ratio: 1;
    overflow: hidden;
    background-color: #ddd;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.footer {
    margin-top: 60px;
    padding-bottom: 20px;
    text-align: center;
    font-size: 0.85rem;
    color: #666;
}

@media (max-width: 400px) {
    .logo-container {
        width: 150px;
        height: 150px;
    }

    h1 {
        font-size: 1.5rem;
    }
}