/* ============================================================
   PLANETA MELMAC — CSS
   Paleta: #0d1117 fondo | #c8860a dorado | #e05c1a naranja
           #f0e6cc crema  | #6b4226 marrón | #a89070 texto sec.
   ============================================================ */

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

html { scroll-behavior: smooth; }

body {
    background: #0d1117;
    color: #f0e6cc;
    font-family: 'Lato', sans-serif;
    font-weight: 300;
    line-height: 1.7;
}

/* ---- TIPOGRAFÍA ---- */
h1, h2, h3,
.pm-nav-logo,
.pm-hero-badge,
.pm-section-label,
.pm-tag,
.pm-btn-secondary,
.pm-btn-whatsapp,
.pm-video-label,
.pm-footer-logo,
.pm-social-links a {
    font-family: 'Oswald', sans-serif;
}

/* ---- CONTENEDOR CENTRAL ---- */
.pm-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 48px;
}

/* ---- NAVBAR ---- */
.pm-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 56px;
    border-bottom: 1px solid #1e160a;
    position: sticky;
    top: 0;
    background: #0d1117;
    z-index: 100;
}

.pm-nav-logo-img {
    display: flex;
    align-items: center;
}

.pm-nav-logo-img img {
    height: 48px;
    width: auto;
    display: block;
}

.pm-nav-links { display: flex; gap: 36px; }

.pm-nav-links a {
    color: #6b5040;
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.pm-nav-links a:hover { color: #c8860a; }

.pm-nav-toggle {
    display: none;
    background: none;
    border: none;
    color: #c8860a;
    font-size: 22px;
    cursor: pointer;
}

/* ---- HERO ---- */
.pm-hero {
    min-height: 88vh;
    border-bottom: 1px solid #1e160a;
    position: relative;
    background: url('/images/hero.jpg') center center / cover no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 0 32px 80px;
    margin-top: -30px;
}

.pm-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(13,17,23,0.3) 0%, rgba(13,17,23,0.35) 50%, rgba(13,17,23,0.88) 100%);
    pointer-events: none;
}

.pm-hero > * {
    position: relative;
    z-index: 1;
}

.pm-hero-logo img {
    width: 446px;
    height: auto;
    display: block;
    margin-bottom: 0;
    filter: drop-shadow(0 4px 24px rgba(0,0,0,0.7));
}

.pm-hero-sub {
    color: #c8a060;
    font-size: 15px;
    letter-spacing: 2px;
    font-style: italic;
    font-weight: 300;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
}


/* ---- SEPARADOR ---- */
.pm-divider {
    width: 48px;
    height: 1px;
    background: #c8860a;
    margin: 20px 0;
}
.pm-divider.center { margin: 20px auto; }

/* ---- SECCIONES GENÉRICAS ---- */
.pm-section-label {
    font-size: 10px;
    letter-spacing: 4px;
    text-transform: uppercase;
    color: #c8860a;
    margin-bottom: 10px;
}
.pm-section-label.center { text-align: center; }

/* ---- SOBRE EL CANAL ---- */
.pm-sobre {
    padding: 96px 56px;
    border-bottom: 1px solid #1e160a;
    max-width: 1100px;
    margin: 0 auto;
    text-align: center;
}

.pm-sobre h2 {
    font-size: 40px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0e6cc;
    margin-bottom: 24px;
    line-height: 1.0;
}

.pm-sobre p {
    color: #f0e6cc;
    font-size: 17px;
    line-height: 1.9;
    margin-bottom: 16px;
    font-weight: 300;
}

.pm-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 28px;
    justify-content: center;
}

.pm-tag {
    border: 1px solid #2a1a08;
    color: #c8860a;
    font-size: 10px;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 2px;
}

/* COLUMNA DERECHA — sobre */
.pm-sobre-right {
    padding-top: 8px;
    border-left: 1px solid #1e160a;
    padding-left: 56px;
}

.pm-sobre-quote {
    font-size: 22px;
    font-style: italic;
    color: #3a2810;
    line-height: 1.5;
    font-weight: 300;
    margin-bottom: 32px;
}

.pm-sobre-quote em { color: #c8860a; font-style: normal; }

.pm-plataformas {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.pm-plataforma {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 0;
    border-bottom: 1px solid #1a1208;
}

.pm-plataforma:last-child { border-bottom: none; }

.pm-plataforma-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: #c8860a;
    flex-shrink: 0;
}

.pm-plataforma-name {
    font-size: 11px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #5a4030;
    font-family: 'Oswald', sans-serif;
}

/* ---- MARCAS ---- */
.pm-marcas {
    padding: 96px 56px;
    border-bottom: 1px solid #1e160a;
    background: #080604;
}

.pm-marcas-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.pm-marcas h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0e6cc;
    margin-bottom: 10px;
    text-align: center;
}

.pm-marcas-sub {
    color: #5a4030;
    font-size: 14px;
    text-align: center;
    margin-bottom: 56px;
    font-style: italic;
}

.pm-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: #1a1208;
    border: 1px solid #1a1208;
}

.pm-card {
    background: #0d1117;
    padding: 36px 28px;
    transition: background 0.2s;
}

.pm-card:hover { background: #110e08; }

.pm-card-icon {
    font-size: 28px;
    margin-bottom: 18px;
    color: #c8860a;
    opacity: 0.7;
}

.pm-card h3 {
    font-size: 13px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    color: #f0e6cc;
    margin-bottom: 12px;
    font-weight: 600;
}

.pm-card p {
    font-size: 13px;
    color: #4a3828;
    line-height: 1.8;
    font-weight: 300;
}

/* ---- VIDEOS ---- */
.pm-videos {
    padding: 96px 56px;
    border-bottom: 1px solid #1e160a;
}

.pm-videos-inner {
    max-width: 1100px;
    margin: 0 auto;
}

.pm-videos h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0e6cc;
    margin-bottom: 8px;
    text-align: center;
}

.pm-videos-sub {
    color: #5a4030;
    font-size: 14px;
    text-align: center;
    margin-bottom: 48px;
    font-style: italic;
}

.pm-video-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2px;
    background: #1a1208;
    border: 1px solid #1a1208;
}

.pm-video-main { grid-column: 1 / -1; }

.pm-video-thumb {
    background: #080604;
    overflow: hidden;
}

.pm-video-thumb iframe {
    width: 100%;
    display: block;
}

.pm-video-label {
    padding: 12px 18px;
    font-size: 10px;
    letter-spacing: 2.5px;
    color: #3a2810;
    text-transform: uppercase;
    background: #0a0806;
}

/* ---- CONTACTO ---- */
.pm-contacto {
    padding: 96px 56px;
    text-align: center;
}

.pm-contacto h2 {
    font-size: 36px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: #f0e6cc;
    margin-bottom: 10px;
}

.pm-contacto > p {
    color: #5a4030;
    font-size: 14px;
    margin-bottom: 40px;
    font-style: italic;
}

.pm-contacto-btns {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.pm-btn-secondary {
    display: inline-flex;
    align-items: center;
    background: transparent;
    color: #c8860a;
    padding: 14px 36px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid #3a2810;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, color 0.2s;
    font-weight: 600;
}

.pm-btn-secondary:hover { border-color: #c8860a; }

.pm-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: transparent;
    color: #5dbb63;
    padding: 14px 36px;
    font-size: 11px;
    letter-spacing: 3px;
    text-transform: uppercase;
    border: 1px solid #1e4a1e;
    border-radius: 2px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    font-weight: 600;
}

.pm-btn-whatsapp:hover {
    border-color: #5dbb63;
    background: #0d1f0d;
}

.pm-email-box {
    display: inline-block;
    color: #3a2810;
    font-size: 12px;
    padding: 12px 0;
    letter-spacing: 1.5px;
    font-family: 'Lato', sans-serif;
    border-top: 1px solid #1a1208;
}

/* ---- FOOTER ---- */
.pm-footer {
    padding: 28px 56px;
    border-top: 1px solid #130e06;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pm-footer-logo {
    font-size: 10px;
    letter-spacing: 4px;
    color: #2a1a08;
    text-transform: uppercase;
}

.pm-social-links { display: flex; gap: 24px; }

.pm-social-links a {
    color: #2a1a08;
    font-size: 10px;
    letter-spacing: 2.5px;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.2s;
}

.pm-social-links a:hover { color: #c8860a; }

/* ---- RESPONSIVE ---- */
@media (max-width: 900px) {
    .pm-sobre {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 64px 28px;
    }
    .pm-sobre-right {
        border-left: none;
        border-top: 1px solid #1e160a;
        padding-left: 0;
        padding-top: 32px;
    }
    .pm-cards { grid-template-columns: 1fr; }
    .pm-video-grid { grid-template-columns: 1fr; }
    .pm-video-main { grid-column: auto; }
}

@media (max-width: 768px) {
    .pm-nav { padding: 14px 20px; }
    .pm-nav-links { display: none; }
    .pm-nav-toggle { display: block; }

    .pm-hero { padding: 72px 20px 64px; }
    .pm-hero h1 { font-size: 52px; letter-spacing: 6px; }

    .pm-marcas,
    .pm-videos,
    .pm-contacto { padding: 64px 20px; }

    .pm-footer {
        padding: 20px;
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
}
