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

:root {
    --primary-color: #e0c240;
    --dark-color: #000000;
    --light-color: #ffffff;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--dark-color);
    color: var(--light-color);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

header {
    background-color: var(--dark-color);
    color: var(--light-color);
    display: flex;
    justify-content: center;
    padding: 18px 48px;
    margin-bottom: 28px;
}

#menu-principal {
    display: flex;
    list-style: none;
    justify-content: center;
    align-items: center;
    gap: 36px;
    padding: 0 12px;
}

#menu-principal li {
    margin: 0;
}

#menu-principal a {
    color: var(--light-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: color 0.3s;
}

#menu-principal a:hover {
    color: var(--primary-color);
}

main {
    width: 85%;
    max-width: 1000px;
    margin: auto;
}

#inicio {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 36px;
    text-align: center;
}

.intro-text,
.hero-media {
    flex: 1 1 320px;
    padding: 10px;
}

.hero-media {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 20px;
    text-align: center;
}

@media (min-width: 769px) {
    #inicio {
        gap: 48px;
    }
}


.animated-section {
    padding: 60px 0;
    border-bottom: 1px solid var(--primary-color);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}

.animated-section.visible {
    opacity: 1;
    transform: translateY(0);
}

h1,
h2 {
    color: var(--light-color);
    margin-bottom: 0.5rem;
}

footer {
    text-align: center;
    border-top: 1px solid var(--light-color);
    padding: 20px 0;
    background-color: var(--dark-color);
    color: var(--light-color);
}

footer a {
    color: var(--light-color);
    text-decoration: none;
    transition: color 0.3s;
}

footer a:hover {
    color: var(--primary-color);
}

.social-icons a {
    color: var(--light-color);
    margin: 0 10px;
    font-size: 24px;
    transition: color 0.3s;
}

.social-icons a:hover {
    color: var(--primary-color);
}

#contacto form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#contacto label {
    font-weight: bold;
    color: var(--light-color);
}

#contacto input,
#contacto textarea {
    padding: 10px;
    background-color: var(--dark-color);
    color: var(--light-color);
    border: 1px solid var(--light-color);
    border-radius: 4px;
    font-size: 16px;
}

#contacto button {
    background-color: var(--light-color);
    color: var(--dark-color);
    border: none;
    padding: 10px;
    cursor: pointer;
    font-size: 16px;
    transition: background-color 0.3s, color 0.3s;
}

#contacto button:hover {
    background-color: rgba(255, 255, 255, 0.85);
    color: var(--dark-color);
}

.info-placeholder-grid {
    margin-top: 28px;
    display: grid;
    gap: 24px;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
}

.info-placeholder {
    display: flex;
    align-items: stretch;
    justify-content: center;
    min-height: 220px;
}

.placeholder-card {
    position: relative;
    width: 100%;
    padding: 26px 24px;
    border-radius: 20px;
    background: linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
    border: 1px solid rgba(255, 215, 0, 0.25);
    box-shadow: 0 18px 38px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 16px;
    text-align: center;
    transition: transform 0.35s ease, box-shadow 0.35s ease, border-color 0.35s ease;
    color: var(--light-color);
}

.placeholder-card--image {
    padding: 32px 24px 28px;
    background:
        radial-gradient(circle at top, rgba(255, 215, 0, 0.18), rgba(0, 0, 0, 0)), linear-gradient(160deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
}

.placeholder-card--text {
    gap: 14px;
    padding: 28px 24px;
}

.placeholder-card__badge {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--primary-color);
    background: rgba(255, 215, 0, 0.12);
    border: 1px solid rgba(255, 215, 0, 0.6);
    border-radius: 999px;
    padding: 6px 14px;
    font-weight: 600;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.placeholder-card__image {
    width: min(220px, 70%);
    max-height: 140px;
    object-fit: contain;
    object-position: center;
    filter: drop-shadow(0 14px 18px rgba(0, 0, 0, 0.45));
}

.placeholder-card__caption {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.placeholder-card__title {
    font-weight: 700;
    font-size: 1.08rem;
    letter-spacing: 0.3px;
}

.placeholder-card--text .placeholder-card__title {
    font-size: 1.1rem;
}

.info-placeholder:hover .placeholder-card,
.info-placeholder:focus .placeholder-card {
    transform: translateY(-4px);
    box-shadow: 0 26px 48px rgba(0, 0, 0, 0.38);
    border-color: rgba(255, 215, 0, 0.45);
}

.info-placeholder:focus-visible .placeholder-card {
    outline: 3px solid rgba(255, 215, 0, 0.35);
    outline-offset: 3px;
}

@media (max-width: 540px) {
    .info-placeholder {
        min-height: 200px;
    }

    .placeholder-card {
        padding: 24px 20px;
    }

    .placeholder-card__image {
        width: min(200px, 80%);
        max-height: 120px;
    }
}

/* Botón hamburguesa */
#hamburger-btn {
    background: none;
    border: none;
    font-size: 1.8rem;
    cursor: pointer;
    color: var(--light-color);
    display: block;
    margin-left: 20px;
}

/* Panel lateral */
#side-panel {
    position: fixed;
    top: 0;
    right: -100%;
    width: 300px;
    height: 100%;
    background: var(--dark-color);
    color: var(--light-color);
    box-shadow: -2px 0 8px rgba(0, 0, 0, 0.4);
    transition: right 0.3s ease;
    z-index: 999;
    display: flex;
    flex-direction: column;
    padding: 1rem;
}

#side-panel.active {
    right: 0;
}

.panel-header {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    align-items: center;
    margin-bottom: 1rem;
}

.panel-header h3 {
    width: 100%;
    font-size: 1.3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.panel-header button {
    align-self: flex-end;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--light-color);
    cursor: pointer;
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cta-tool {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.8rem;
    border: 1px solid var(--primary-color);
    border-radius: 8px;
    text-decoration: none;
    color: var(--light-color);
    transition: background 0.2s, transform 0.2s;
}

.cta-tool:hover {
    background: rgba(224, 194, 64, 0.15);
    transform: translateX(4px);
}

.cta-tool img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

nav {
    width: 100%;
    margin-right: 10%;
    margin-left: 10%;
    display: flex;
    justify-content: space-between;
}

#hamburger-btn.hidden {
    opacity: 0%;
}

@media (max-width: 768px) {
    header {
        justify-content: space-between;
        padding: 12px 24px;
    }

    nav {
        width: 100%;
        margin: 0px;
        margin-top: 2%;
    }

    #menu-principal {
        margin-left: -10%;
        display: flex;
        gap: 20px;
    }

    #menu-principal a {
        font-size: 0.85rem;
    }

    #hamburger-btn {
        font-size: 1.4rem;
    }
}