/* ==========================================================
   logotipos_style.css — estilos exclusivos de
   servicios/logotipos.html

   Se apoya en ../style_services.css (navbar, footer,
   botón flotante). Sigue el mismo patrón que
   window_tinting_style.css, letreros_style.css y merch_style.css.

   Todas las clases nuevas llevan el prefijo "lg-" para no
   chocar con las reglas ".logos*" de responsive.css.
   ========================================================== */
:root {
    --cyan: #189cd8;
    --magenta: #e3047d;
    --yellow: #fdea18;
    --black: #121212;

    --background: #0b0f19;
    --card: #1f293d;
    --text: #e2e8f0;
    --nav-h: 72px; /* usa el mismo valor que en style.css */
    --font-display: 'Designer', sans-serif;
    --white: #ffffff;
    --radius: 14px;
    --card-soft: #16203a;
    --muted: #94a3b8;
}

/* ---------- HERO ---------- */
.lg-hero {
    position: relative;
    min-height: 78vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    margin-top: calc(-1 * (var(--nav-h) - 32px)); /* compensa el padding-top de main */
    border-bottom: 4px solid var(--card);

    /* Fondo propio: auras CMYK + trama de puntos de imprenta.
       Así el hero se ve completo aunque aún no exista el video de logos. */
    background:
        radial-gradient(circle 420px at 15% 25%, rgba(227, 4, 125, 0.22), transparent 70%),
        radial-gradient(circle 380px at 85% 25%, rgba(24, 156, 216, 0.20), transparent 70%),
        radial-gradient(circle 360px at 50% 95%, rgba(253, 234, 24, 0.12), transparent 70%),
        var(--background);
}

.lg-hero::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: 0;
    background-image: radial-gradient(rgba(226, 232, 240, 0.07) 1.5px, transparent 1.5px);
    background-size: 18px 18px;
    pointer-events: none;
}

.lg-hero-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.lg-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
    background:
        linear-gradient(180deg,
            rgba(11, 15, 25, 0.55) 0%,
            rgba(11, 15, 25, 0.35) 45%,
            rgba(11, 15, 25, 0.8) 100%);
}

.lg-hero-content {
    position: relative;
    z-index: 2;
    max-width: 720px;
    padding: calc(var(--nav-h) + 40px) 24px 60px;
}

.lg-breadcrumb {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.85rem;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    color: #b9c4d8;
    margin-bottom: 18px;
}

.lg-breadcrumb a {
    color: var(--cyan);
    transition: color 0.25s ease;
}

.lg-breadcrumb a:hover { color: var(--yellow); }

.lg-breadcrumb i {
    font-style: normal;
    color: #4a5878;
}

.lg-breadcrumb strong { color: var(--white); }

.lg-hero h1 {
    font-family: var(--font-display);
    font-size: clamp(2.4rem, 6vw, 4rem);
    letter-spacing: 0.04em;
    margin: 0 0 18px;
    color: var(--white);
}

/* En esta página el degradado del título va magenta → cyan */
.lg-ink {
    background: linear-gradient(90deg, var(--magenta), var(--cyan));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.lg-hero p {
    font-size: clamp(1rem, 2vw, 1.15rem);
    line-height: 1.7;
    color: var(--text);
    margin: 0 auto 32px;
    max-width: 560px;
}

.lg-hero-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

/* ---------- Banda CTA (mismo bloque que en las otras páginas de servicio) ---------- */
.cta-band {
    max-width: 1160px;
    margin: clamp(3rem, 8vw, 5rem) auto 0;
    padding: clamp(2rem, 5vw, 3rem);
    border-radius: calc(var(--radius) + 6px);
    background:
        linear-gradient(120deg, rgba(24,156,216,0.18), rgba(227,4,125,0.18) 50%, rgba(253,234,24,0.14)),
        var(--card);
    display: flex;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
}
.cta-band > div { flex: 1 1 320px; }
.cta-band h2 { font-size: clamp(1.3rem, 3vw, 1.9rem); margin-bottom: 0.5rem; }
.cta-band p { color: var(--muted); }
.cta-octopus { width: 90px; height: 90px; object-fit: contain; }

.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.9rem 1.8rem;
  border-radius: 999px;
  font-family: var(--font-body);
  font-size: 1rem;
  font-weight: 600;
  transition: transform 0.2s ease, background 0.2s ease, border-color 0.2s ease;
}
.btn img { width: 20px; height: 20px; filter: brightness(0) invert(1); }

.btn-primary {
  background: var(--cyan);
  color: #fff;
  box-shadow: 0 10px 30px rgba(24, 156, 216, 0.35);
}
.btn-primary:hover { background: var(--magenta); transform: translateY(-3px); }

.btn-ghost {
  border: 2px solid rgba(255, 255, 255, 0.5);
  color: var(--white);
}
.btn-ghost:hover { border-color: var(--yellow); color: var(--yellow); transform: translateY(-3px); }

/* Botones propios de la página (mismo lenguaje visual del sitio) */
.lg-btn-whatsapp {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background-color: var(--cyan);
    color: #ffffff;
    border-radius: 50px;
    padding: 15px 30px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'GABRWFFR.TTF', sans-serif;
    letter-spacing: 0.03em;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
    box-shadow: 0 6px 20px rgba(12, 135, 176, 0.35);
}

.lg-btn-whatsapp:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 26px rgba(5, 112, 151, 0.73);
}

.lg-btn-whatsapp img {
    width: 22px;
    height: 22px;
    filter: brightness(0) invert(1);
}

.lg-btn-ghost {
    display: inline-flex;
    align-items: center;
    padding: 15px 30px;
    border-radius: 50px;
    border: 2px solid rgba(226, 232, 240, 0.45);
    color: var(--white);
    font-size: 15px;
    font-weight: 600;
    font-family: 'GABRWFFR.TTF', sans-serif;
    letter-spacing: 0.03em;
    transition: border-color 0.25s ease, background 0.25s ease;
}

.lg-btn-ghost:hover {
    border-color: var(--magenta);
    background: rgba(227, 4, 125, 0.12);
}

/* ---------- BENEFICIOS ---------- */
.lg-benefits {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.lg-benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 22px;
    margin-top: 48px;
}

.lg-benefit {
    background: var(--card);
    border: 1px solid #2c3a55;
    border-top: 4px solid var(--accent);
    border-radius: 14px;
    padding: 28px 24px;
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.lg-benefit:hover {
    transform: translateY(-6px);
    box-shadow: 0 14px 30px rgba(0, 0, 0, 0.35);
}

.lg-benefit-icon {
    display: inline-flex;
    width: 52px;
    height: 52px;
    color: var(--accent);
    margin-bottom: 16px;
}

.lg-benefit-icon svg { width: 100%; height: 100%; }

.lg-benefit h3 {
    font-size: 1.05rem;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
    color: var(--white);
}

.lg-benefit p {
    margin: 0;
    line-height: 1.65;
    color: var(--text);
    font-size: 0.95rem;
}

/* ---------- PREVISUALIZADOR DE APLICACIONES ---------- */
.lg-preview {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 40px;
}

.lg-preview-box {
    background: var(--card);
    border: 1px solid #2c3a55;
    border-radius: 18px;
    padding: clamp(28px, 5vw, 48px);
    text-align: center;
}

.lg-preview-text h2 {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 3.5vw, 2.1rem);
    letter-spacing: 0.05em;
    margin: 0 0 12px;
    color: var(--white);
}

.lg-preview-text p {
    max-width: 540px;
    margin: 0 auto 34px;
    line-height: 1.65;
    color: var(--text);
}

/* Los radios quedan ocultos: las etiquetas hacen de botones */
.lg-app-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

/* Escenario: alto fijo para que no salte al cambiar de mockup */
.lg-stage {
    position: relative;
    max-width: 460px;
    margin: 0 auto 30px;
    aspect-ratio: 3 / 2;
}

.lg-mockup {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 14px;
    opacity: 0;
    transform: scale(0.96);
    transition: opacity 0.4s ease, transform 0.4s ease;
    pointer-events: none;
}

.lg-mockup svg {
    width: 100%;
    height: auto;
    max-height: 82%;
    display: block;
    filter: drop-shadow(0 14px 26px rgba(0, 0, 0, 0.45));
}

.lg-mockup-label {
    font-family: 'GABRWFFR.TTF', sans-serif;
    font-size: 0.85rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #8fa0bd;
}

/* Solo se muestra el mockup de la opción activa */
#appCard:checked    ~ .lg-stage .lg-mockup-card,
#appShirt:checked   ~ .lg-stage .lg-mockup-shirt,
#appSign:checked    ~ .lg-stage .lg-mockup-sign,
#appSticker:checked ~ .lg-stage .lg-mockup-sticker {
    opacity: 1;
    transform: scale(1);
}

/* ----- Selectores de aplicación ----- */
.lg-app-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
}

.lg-app-label {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    padding: 12px 20px;
    background: var(--background);
    border: 2px solid #2c3a55;
    border-radius: 999px;
    cursor: pointer;
    font-family: 'GABRWFFR.TTF', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    color: #8fa0bd;
    transition: border-color 0.25s ease, color 0.25s ease, transform 0.25s ease;
}

.lg-app-label:hover { transform: translateY(-3px); }

.lg-app-icon {
    display: inline-flex;
    width: 20px;
    height: 20px;
}
.lg-app-icon svg { width: 100%; height: 100%; }

/* Etiqueta activa: se enciende con la tinta protagonista.
   Orden C → M → Y → K para mantener el guiño de imprenta. */
#appCard:checked    ~ .lg-app-options label[for="appCard"],
#appShirt:checked   ~ .lg-app-options label[for="appShirt"],
#appSign:checked    ~ .lg-app-options label[for="appSign"],
#appSticker:checked ~ .lg-app-options label[for="appSticker"] {
    color: var(--white);
}
#appCard:checked    ~ .lg-app-options label[for="appCard"]    { border-color: var(--cyan); }
#appShirt:checked   ~ .lg-app-options label[for="appShirt"]   { border-color: var(--magenta); }
#appSign:checked    ~ .lg-app-options label[for="appSign"]    { border-color: var(--yellow); }
#appSticker:checked ~ .lg-app-options label[for="appSticker"] { border-color: var(--white); }

.lg-preview-note {
    margin: 30px auto 0;
    max-width: 520px;
    font-size: 0.9rem;
    line-height: 1.6;
    color: #8fa0bd;
}

/* ---------- GALERÍA DE TRABAJOS ---------- */
.lg-works {
    max-width: 1200px;
    margin: 0 auto;
    padding: 80px 24px 40px;
}

.lg-works-sub {
    text-align: center;
    color: #b9c4d8;
    margin: 18px 0 42px;
}

.lg-works-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: 210px;
    gap: 16px;
}

.lg-work {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #2c3a55;
    background: var(--card-soft); /* si falta una imagen, se ve un panel y no un hueco */
}

/* La primera pieza es la protagonista: ocupa 2x2 */
.lg-work-big {
    grid-column: span 2;
    grid-row: span 2;
}

.lg-work img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.4s ease;
}

.lg-work:hover img { transform: scale(1.05); }

/* ---------- PROCESO ---------- */
.lg-process {
    max-width: 1100px;
    margin: 0 auto;
    padding: 60px 24px 90px;
}

.lg-steps {
    list-style: none;
    margin: 48px 0 0;
    padding: 0;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 22px;
}

.lg-step {
    position: relative;
    background: var(--card);
    border: 1px solid #2c3a55;
    border-radius: 14px;
    padding: 30px 22px 24px;
}

.lg-step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    background: var(--accent);
    color: var(--black);
    font-family: var(--font-display);
    font-size: 1.1rem;
    margin-bottom: 14px;
}

/* Los pasos magenta necesitan texto claro sobre el número */
.lg-step:nth-child(1) .lg-step-num,
.lg-step:nth-child(4) .lg-step-num { color: #ffffff; }

.lg-step h3 {
    font-size: 1rem;
    letter-spacing: 0.05em;
    margin: 0 0 10px;
    color: var(--white);
}

.lg-step p {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.65;
    color: var(--text);
}

.lg-cta-final {
    text-align: center;
    margin-top: 52px;
}

/* ---------- RESPONSIVE ---------- */
@media (max-width: 900px) {
    .lg-works-grid {
        grid-template-columns: repeat(2, 1fr);
        grid-auto-rows: 190px;
    }
}

@media (max-width: 640px) {
    .lg-hero {
        min-height: 66vh;
        margin-top: 0;
    }
    .lg-hero-content {
        padding: 90px 18px 50px;
    }
    .lg-hero-actions {
        flex-direction: column;
        align-items: stretch;
    }
    .lg-btn-whatsapp,
    .lg-btn-ghost {
        justify-content: center;
    }
    .lg-benefits,
    .lg-works {
        padding: 60px 16px 30px;
    }
    .lg-preview {
        padding: 30px 16px 30px;
    }
    .lg-app-options {
        display: grid;
        grid-template-columns: 1fr 1fr;
    }
    .lg-app-label {
        justify-content: center;
    }
    .lg-works-grid {
        grid-template-columns: 1fr;
        grid-auto-rows: 230px;
    }
    .lg-work-big {
        grid-column: auto;
        grid-row: span 2;
    }
    .lg-process {
        padding: 40px 16px 70px;
    }
}
