* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    text-decoration: none;
    list-style: none;
}

body {
    font-family: sans-serif;
    background-color: #6225e6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.content {
    background-color: #6225e6;
    min-height: 80px;
    display: flex;
    align-items: center;
}

.menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
}

.logo {
    font-size: 15px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #000;
    background: #fff;
    padding: 8px 14px;
    border: 4px solid #000;
    box-shadow: 5px 5px 0px #000;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    white-space: nowrap;
    line-height: 1.2;
    text-decoration: none;
}

.logo:hover {
    text-decoration: none;
    color: #000;
}

.logo img {
    height: 28px;
    width: 28px;
    object-fit: contain;
    display: block;
}

.logo span {
    color: #6225e6;
}


#menu {
    display: none;
}

.hamburger {
    cursor: pointer;
    display: none;
    z-index: 100;
}

.hamburger svg {
    height: 45px;
    transition: transform 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line {
    fill: none;
    stroke: white;
    stroke-linecap: round;
    stroke-linejoin: round;
    stroke-width: 3;
    transition: stroke-dasharray 600ms cubic-bezier(0.4, 0, 0.2, 1),
    stroke-dashoffset 600ms cubic-bezier(0.4, 0, 0.2, 1);
}

.line-top-bottom {
    stroke-dasharray: 12 63;
}

#menu:checked + .hamburger svg {
    transform: rotate(-45deg);
}

#menu:checked + .hamburger svg .line-top-bottom {
    stroke-dasharray: 20 300;
    stroke-dashoffset: -32.42;
}

.menu .navbar ul {
    display: flex;
}

.menu .navbar ul li a {
    font-size: 16px;
    padding: 15px 20px;
    color: white;
    font-weight: bold;
    transition: 0.3s;
}

.menu .navbar ul li a:hover {
    color: #777;
}

@media (max-width: 991px) {
    .menu {
        padding: 0 20px;
    }

    .hamburger {
        display: block;
    }

    .menu .navbar {
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background-color: #6225e6;
        width: 100%;
        height: 0;
        overflow: hidden;
        transition: height 0.3s ease;
        z-index: 50;
    }

    .menu .navbar ul {
        flex-direction: column;
        align-items: center;
        padding: 20px 0;
    }


    #menu:checked ~ .navbar {
        height: auto;
        min-height: 100px;
        display: block;
    }
}

/* ── FOOTER ── */
.site-footer {
    border-top: 4px solid #000;
    background: #fff;
    box-shadow: 0 -5px 0 #6225e6;
    padding: 28px 40px 20px;
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.footer-name {
    font-weight: 900;
    font-size: 18px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #000;
}

.footer-name span { color: #6225e6; }

.footer-tagline {
    font-size: 12px;
    font-weight: 600;
    color: #999;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.footer-logo img {
    width: 70px;
    height: 70px;
    object-fit: contain;
}

.footer-socials {
    display: flex;
    align-items: center;
    gap: 14px;
}

.footer-copy {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #6225e6;
    width: 100%;
    text-align: center;
    border-top: 2px solid #eee;
    padding-top: 16px;
    margin-top: 8px;
}

/* ── CARRUSEL ── */
.carousel {
    width: 100%;
    max-width: 900px;
    margin: 40px auto;
    overflow: hidden;
    position: relative;
    border-radius: 10px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.carousel input {
    display: none;
}

.slides {
    display: flex;
    width: 300%;
    transition: transform 0.8s ease;
}

.slide {
    width: 33.333%;
    flex-shrink: 0;
    height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #000;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.slide a {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
}

/* Flechas */
.arrows {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
}

.arrows label {
    display: none;
    pointer-events: auto;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 35px;
    background: rgba(0, 0, 0, 0.4);
    color: white;
    padding: 10px 15px;
    cursor: pointer;
    border-radius: 5px;
    z-index: 200;
}

.arrows label:hover {
    background: rgba(0, 0, 0, 0.7);
}

.prev { left: 10px; }
.next { right: 10px; }

#slide1:checked ~ .arrows label[for="slide3"].prev,
#slide1:checked ~ .arrows label[for="slide2"].next,
#slide2:checked ~ .arrows label[for="slide1"].prev,
#slide2:checked ~ .arrows label[for="slide3"].next,
#slide3:checked ~ .arrows label[for="slide2"].prev,
#slide3:checked ~ .arrows label[for="slide1"].next {
    display: block;
}

/* Puntos de navegación */
.navigation {
    position: absolute;
    bottom: 15px;
    left: 0;
    width: 100%;
    text-align: center;
    pointer-events: none;
    z-index: 100;
}

.navigation .dot {
    pointer-events: auto;
    height: 12px;
    width: 12px;
    margin: 5px;
    background: white;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    opacity: 0.6;
}

.navigation .dot:hover {
    opacity: 1;
}

@media (max-width: 600px) {
    .slide {
        height: 220px;
    }
}

/* ── SHOWCASE: TERMINAL + STATS ─────────────────────────────────────────── */
.hw-showcase {
    background-color: #fff;
    background-image: radial-gradient(#6225e622 1.5px, transparent 1.5px);
    background-size: 22px 22px;
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
    padding: 64px 40px;
}

.hw-showcase-inner {
    max-width: 1100px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 44px;
    align-items: center;
}

/* — Terminal — */
.hw-terminal {
    border: 4px solid #000;
    box-shadow: 8px 8px 0 #6225e6;
    border-radius: 10px;
    overflow: hidden;
    font-family: 'Courier New', Courier, monospace;
    min-height: 320px;
}

.hw-terminal-bar {
    background: #e8e8e8;
    border-bottom: 4px solid #000;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    gap: 7px;
}

.hw-dot {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    border: 1.5px solid rgba(0, 0, 0, 0.18);
    display: inline-block;
    flex-shrink: 0;
}

.hw-terminal-title {
    font-size: 12px;
    font-weight: 700;
    color: #666;
    margin-left: 6px;
    font-family: 'Courier New', monospace;
    flex: 1;
    text-align: center;
}

.hw-terminal-body {
    background: #0f0f17;
    padding: 22px 20px 22px;
    min-height: 274px;
    font-size: 14px;
    line-height: 1.9;
}

.hw-line {
    display: block;
    white-space: pre-wrap;
    word-break: break-word;
}

.hw-line.cmd   { color: #a78bfa; }
.hw-line.out   { color: #4ade80; }
.hw-line.blank { height: 6px;    }

.hw-cursor {
    display: inline-block;
    color: #a78bfa;
    font-size: 15px;
    vertical-align: middle;
    margin-left: 1px;
    animation: hw-blink 0.75s step-end infinite;
}

@keyframes hw-blink {
    0%, 100% { opacity: 1; }
    50%       { opacity: 0; }
}

/* — Stats Grid — */
.hw-stats-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 18px;
}

.hw-stat-card {
    background: #fff;
    border: 4px solid #000;
    box-shadow: 6px 6px 0 #6225e6;
    padding: 26px 16px 20px;
    text-align: center;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    cursor: default;
}

.hw-stat-card:hover {
    transform: translate(-3px, -3px);
    box-shadow: 9px 9px 0 #6225e6;
}

.hw-stat-value {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 1px;
}

.hw-stat-num {
    font-size: 3rem;
    font-weight: 900;
    color: #6225e6;
    line-height: 1;
    font-family: 'Courier New', Courier, monospace;
}

.hw-stat-suffix {
    font-size: 1.8rem;
    font-weight: 900;
    color: #6225e6;
    font-family: 'Courier New', Courier, monospace;
    line-height: 1;
}

.hw-stat-label {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: #000;
    margin-top: 10px;
}

/* — Responsive — */
@media (max-width: 860px) {
    .hw-showcase-inner {
        grid-template-columns: 1fr;
    }
    .hw-showcase {
        padding: 44px 20px;
    }
}

@media (max-width: 400px) {
    .hw-stat-num    { font-size: 2.2rem; }
    .hw-stat-suffix { font-size: 1.4rem; }
}
/* ── ACCESSIBILITY UTILITY ──────────────────────────────────────────────── */
.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
