/* ==========================================================
   letreros_style.css — estilos exclusivos de
   servicios/letreros.html

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

   Todas las clases nuevas llevan el prefijo "lt-" para no
   chocar con las reglas de services ni 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 ---------- */
.lt-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);
}

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

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

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

.lt-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;
}

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

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

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

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

.lt-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 amarillo → magenta */
.lt-ink {
    background: linear-gradient(90deg, var(--yellow), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

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

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

/* ---------- Banda CTA (mismo bloque que en window tinting / wraps) ---------- */
.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) */
.lt-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);
}

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

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

.lt-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;
}

.lt-btn-ghost:hover {
    border-color: var(--yellow);
    background: rgba(253, 234, 24, 0.1);
}

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

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

.lt-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;
}

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

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

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

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

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

/* ---------- DEMO DÍA / NOCHE ---------- */
.lt-demo {
    max-width: 1100px;
    margin: 0 auto;
    padding: 40px 24px 40px;
}

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

.lt-demo-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);
}

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

/* El checkbox queda oculto: la etiqueta hace de interruptor */
.lt-night-input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.lt-scene {
    max-width: 560px;
    margin: 0 auto 26px;
}

.lt-scene svg {
    width: 100%;
    height: auto;
    display: block;
}

/* ----- Elementos de la escena (estado DÍA por defecto) ----- */
.lt-sky {
    fill: #7db6dd;
    transition: fill 0.6s ease;
}

.lt-building {
    fill: #d8dee9;
    transition: fill 0.6s ease;
}

.lt-door {
    fill: #46536e;
    transition: fill 0.6s ease;
}

.lt-window {
    fill: #a7c4dd;
    transition: fill 0.6s ease;
}

.lt-floor {
    fill: #55617c;
    transition: fill 0.6s ease;
}

/* Sol visible de día; la sombra de luna aparece de noche */
.lt-sun-disc {
    fill: var(--yellow);
    transition: fill 0.6s ease;
}

.lt-sun-rays {
    stroke: var(--yellow);
    opacity: 1;
    transition: opacity 0.6s ease;
}

.lt-moon-shadow {
    fill: #7db6dd; /* del color del cielo: se "come" el disco y forma la luna */
    opacity: 0;
    transition: fill 0.6s ease, opacity 0.6s ease;
}

.lt-stars {
    opacity: 0;
    transition: opacity 0.6s ease;
}

/* Letrero: apagado de día, encendido de noche */
.lt-sign-box {
    fill: #232d45;
    stroke: #3a4a6b;
    stroke-width: 2;
    transition: fill 0.6s ease, stroke 0.6s ease, filter 0.6s ease;
}

.lt-sign-text {
    font-family: var(--font-display);
    font-size: 26px;
    letter-spacing: 4px;
    fill: #9fb0cf;
    transition: fill 0.6s ease, filter 0.6s ease;
}

/* ----- Estado NOCHE ----- */
#ltNight:checked ~ .lt-scene .lt-sky      { fill: #0a0f1e; }
#ltNight:checked ~ .lt-scene .lt-building { fill: #2a3450; }
#ltNight:checked ~ .lt-scene .lt-door     { fill: #1a2236; }
#ltNight:checked ~ .lt-scene .lt-window   { fill: #f3d873; } /* luz interior encendida */
#ltNight:checked ~ .lt-scene .lt-floor    { fill: #1c2438; }

#ltNight:checked ~ .lt-scene .lt-sun-disc    { fill: #e9eef7; }
#ltNight:checked ~ .lt-scene .lt-sun-rays    { opacity: 0; }
#ltNight:checked ~ .lt-scene .lt-moon-shadow { fill: #0a0f1e; opacity: 1; }
#ltNight:checked ~ .lt-scene .lt-stars       { opacity: 1; }

/* El letrero se enciende y brilla */
#ltNight:checked ~ .lt-scene .lt-sign-box {
    fill: #101a30;
    stroke: var(--cyan);
    filter: drop-shadow(0 0 10px rgba(24, 156, 216, 0.85));
}

#ltNight:checked ~ .lt-scene .lt-sign-text {
    fill: var(--yellow);
    filter: drop-shadow(0 0 7px rgba(253, 234, 24, 0.9));
}

/* ----- Interruptor Día / Noche ----- */
.lt-night-toggle {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1fr 1fr;
    background: var(--background);
    border: 2px solid #2c3a55;
    border-radius: 999px;
    padding: 5px;
    cursor: pointer;
    user-select: none;
}

.lt-toggle-option {
    position: relative;
    z-index: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-width: 110px;
    padding: 10px 18px;
    font-family: 'GABRWFFR.TTF', sans-serif;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.06em;
    color: #8fa0bd;
    transition: color 0.3s ease;
}

.lt-toggle-option svg {
    width: 18px;
    height: 18px;
}

/* Píldora que se desliza detrás de la opción activa */
.lt-toggle-pill {
    position: absolute;
    top: 5px;
    left: 5px;
    width: calc(50% - 5px);
    height: calc(100% - 10px);
    border-radius: 999px;
    background: var(--yellow);
    transition: transform 0.3s ease, background 0.3s ease;
}

/* Día activo (por defecto) */
.lt-night-input:not(:checked) ~ .lt-night-toggle .lt-toggle-day { color: var(--black); }

/* Noche activa */
#ltNight:checked ~ .lt-night-toggle .lt-toggle-pill {
    transform: translateX(100%);
    background: var(--cyan);
}
#ltNight:checked ~ .lt-night-toggle .lt-toggle-night { color: #ffffff; }
#ltNight:checked ~ .lt-night-toggle .lt-toggle-day { color: #8fa0bd; }

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

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

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

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

.lt-work {
    margin: 0;
    overflow: hidden;
    border-radius: 14px;
    border: 1px solid #2c3a55;
}

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

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

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

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

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

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

.lt-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;
}

/* El número del paso magenta necesita texto claro */
.lt-step:nth-child(3) .lt-step-num { color: #ffffff; }

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

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

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

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

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