/* --- Estilos Generales --- */
body,
html {
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: #f0f0f0;
    color: #111;
    overflow-x: hidden;
    max-width: 100vw;
}

* {
    box-sizing: border-box;
}

img {
    max-width: 100%;
    display: block;
}

a {
    text-decoration: none;
    color: inherit;
}

/* --- Barra de Navegación Superior --- */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    padding: 6px 28px;
    background-color: #fff;
    border-bottom: 1px solid #e0e0e0;
    width: 100%;
    max-width: 100%;
    min-height: 60px;
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    flex: 1 1 auto;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
    gap: 18px;
    min-width: 0;
}

.nav-left,
.nav-right {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 13px;
    font-weight: 500;
    line-height: 1.2;
    min-width: 0;
}

.nav-dropdown {
    position: relative;
    display: inline-flex;
    align-items: center;
}

.dropdown-toggle {
    background: transparent;
    border: none;
    padding: 0;
    font: inherit;
    color: inherit;
    cursor: pointer;
    font-weight: 500;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 10px);
    left: 0;
    display: flex;
    flex-direction: column;
    gap: 8px;
    min-width: 200px;
    padding: 12px;
    background: rgba(255, 255, 255, 0.98);
    border: 1px solid #e9e9e9;
    border-radius: 14px;
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.12);
    opacity: 0;
    pointer-events: none;
    transform: translateY(-8px);
    transition: opacity 0.2s ease, transform 0.2s ease;
    z-index: 50;
}

.nav-dropdown.open .dropdown-menu {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.dropdown-menu a {
    padding: 8px 10px;
    border-radius: 10px;
    color: #111;
    font-size: 13px;
}

.dropdown-menu a:hover {
    background: #f3f3f3;
}

.logo {
    font-weight: 900;
    font-size: 20px;
    margin-right: 8px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.logo img {
    width: 100px;
    height: 100px;
    object-fit: contain;
    display: block;
    transform: translateY(8px);
}

.new-tag {
    background-color: #111;
    color: #fff;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 3px;
    vertical-align: super;
    margin-left: 3px;
}

.search-box {
    background-color: #f0f0f0;
    padding: 8px 15px;
    border-radius: 20px;
    color: #777;
    width: 200px;
    display: flex;
    align-items: center;
}

.search-box::before {
    content: '🔍';
    margin-right: 10px;
    font-size: 12px;
}

.btn {
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.menu-toggle {
    display: none;
    width: 46px;
    height: 46px;
    border: 1px solid #ddd;
    border-radius: 12px;
    background: #fff;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 0;
}

.menu-toggle span {
    display: block;
    width: 20px;
    height: 2px;
    background: #111;
    border-radius: 2px;
}

.nav-brand {
    display: flex;
    align-items: center;
    justify-content: space-between;
    min-width: 0;
    flex: 1 1 auto;
}

.nav-menu {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex: 1 1 auto;
    gap: 18px;
    min-width: 0;
}

.btn-be-pro {
    background-color: #111;
    color: #fff;
}

.btn-submit {
    border: 1px solid #ccc;
    background-color: #8493eb;
}

/* --- Sección Principal --- */
.main-content {
    text-align: center;
    padding: 60px 20px 30px 20px;
}

.site-of-day-info {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
    font-size: 13px;
    color: #555;
    margin-bottom: 20px;
}

.date-box {
    background-color: #e0e0e0;
    padding: 4px 8px;
    border-radius: 4px;
    font-weight: 600;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin: 0 0 12px 0;
    color: #111;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

h1 {
    font-size: 80px;
    margin-bottom: 20px;
    letter-spacing: -2px;
    line-height: 0.9;
}

.fps-info {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background-color: #fff;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 13px;
    border: 1px solid #e0e0e0;
}

.fps-icon {
    background-color: #f0f0f0;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 10px;
    font-weight: bold;
    color: #777;
}

/* --- Sección del Showcase / Mockup del Reloj --- */
.showcase-section {
    background-image: url('../images/bannernuvai2.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    padding: 80px 20px 120px 20px;
    margin: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    border-radius: 30px;
}

.showcase-card {
    position: relative;
    width: min(1100px, 92%);
    background: rgba(255, 255, 255, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 30px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.18);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    padding: 30px 30px 52px;
}

.preview-frame {
    background-color: #1a1a1a;
    border: 12px solid #222;
    border-radius: 22px;
    width: 100%;
    max-width: 100%;
    height: clamp(280px, 38vw, 500px);
    min-height: 260px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    overflow: hidden;
}

.preview-screen {
    background-color: #f7f7f7;
    width: 95%;
    height: 90%;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.1);
}

.preview-text-bg {
    font-size: 140px;
    font-weight: 900;
    color: #111;
    letter-spacing: -5px;
    opacity: 0.9;
    user-select: none;
}

.preview-watch-img {
    position: absolute;
    width: 130px;
    z-index: 2;
}

.preview-details {
    position: absolute;
    bottom: 30px;
    left: 40px;
    text-align: left;
}

.preview-details span {
    display: block;
    font-size: 10px;
    color: #666;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-details h3 {
    margin: 2px 0 0 0;
    font-size: 16px;
    color: #111;
    letter-spacing: 1px;
}

/* Texto inferior fuera del marco */
.highlights-text {
    color: #fff;
    text-align: left;
    width: 100%;
    max-width: 100%;
    margin-top: 34px;
    font-size: clamp(22px, 2vw, 28px);
    font-weight: 500;
    line-height: 1.2;
    padding-left: 6px;
}

/* --- Barra de navegación flotante del proyecto --- */
.project-nav-float {
    background-color: rgba(255, 255, 255, 0.95);
    color: #111;
    padding: 8px 12px;
    border-radius: 40px;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    position: absolute;
    bottom: -18px;
    left: 50%;
    transform: translateX(-50%);
    width: min(90%, 900px);
    max-width: calc(100% - 24px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(0, 0, 0, 0.06);
    z-index: 10;
}

.proj-btn {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    line-height: 1.2;
}

.proj-btn:hover,
.proj-btn.active {
    background-color: #f0f0f0;
}

.proj-btn-w {
    font-weight: 900;
    font-size: 16px;
    padding: 8px 12px;
}

.proj-btn-visit {
    background-color: #111;
    color: #fff;
    margin-left: 5px;
}

.proj-btn-visit:hover {
    background-color: #333;
}

@media (max-width: 980px) {
    .top-nav {
        display: block;
        padding: 12px 16px;
        position: fixed;
        left: 0;
        right: 0;
        top: 0;
        z-index: 100;
    }

    body {
        padding-top: 72px;
    }

    .nav-brand {
        width: 100%;
    }

    .menu-toggle {
        display: flex;
    }

    .nav-menu {
        position: absolute;
        top: calc(100% + 8px);
        right: 12px;
        left: auto;
        display: flex;
        flex-direction: column;
        align-items: stretch;
        gap: 12px;
        width: min(82vw, 300px);
        padding: 14px 12px 12px;
        border: 1px solid rgba(17, 17, 17, 0.05);
        border-radius: 22px;
        background: linear-gradient(180deg, rgba(255,255,255,0.97) 0%, rgba(245,247,251,0.96) 100%);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        box-shadow: 0 18px 40px rgba(15, 23, 42, 0.14);
        opacity: 0;
        pointer-events: none;
        transform: translateX(120%);
        transition: transform 0.35s ease, opacity 0.25s ease;
        z-index: 60;
    }

    .top-nav.nav-open .nav-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateX(0);
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: flex-start;
        gap: 10px 12px;
    }

    .nav-left a {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #111;
        font-size: 13px;
        font-weight: 600;
        transition: opacity 0.2s ease;
    }

    .nav-left a:hover {
        opacity: 0.8;
    }

    .nav-dropdown {
        position: relative;
        width: 100%;
        display: block;
    }

    .dropdown-toggle {
        width: 100%;
        display: flex;
        align-items: center;
        justify-content: space-between;
        padding: 8px 0;
        border: none;
        border-radius: 0;
        background: transparent;
        box-shadow: none;
        color: #111;
        font-size: 12px;
        font-weight: 600;
        padding-bottom: 0;
        text-align: left;
        transition: opacity 0.2s ease;
    }

    .dropdown-menu {
        position: relative;
        top: auto;
        left: auto;
        right: auto;
        min-width: 100%;
        width: 100%;
        margin-top: 8px;
        opacity: 0;
        pointer-events: none;
        transform: translateY(-6px);
        box-shadow: none;
        border-radius: 12px;
        border: 1px solid rgba(17, 17, 17, 0.06);
        background: linear-gradient(180deg, #ffffff 0%, #f8f9fb 100%);
        padding: 0;
        max-height: 0;
        overflow: hidden;
        display: flex;
        transition: opacity 0.2s ease, transform 0.2s ease, max-height 0.25s ease, padding 0.2s ease;
    }

    .nav-dropdown.open .dropdown-menu {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0);
        max-height: 240px;
        padding: 8px;
    }

    .nav-dropdown.open .dropdown-toggle {
        opacity: 0.9;
    }

    .dropdown-menu a {
        width: 100%;
        white-space: normal;
        font-size: 12px;
        padding: 10px 12px;
        border-radius: 10px;
        color: #1b1b1b;
    }

    .dropdown-menu a:hover {
        background: rgba(17, 17, 17, 0.04);
    }

    .nav-right {
        flex-wrap: wrap;
    }

    .search-box {
        width: 100%;
        max-width: none;
        min-height: 20px;
        height: 34px;
        padding: 0 12px;
        border-radius: 999px;
        line-height: 1;
        font-size: 10px;
        border: 1px solid rgba(17, 17, 17, 0.06);
        background: linear-gradient(180deg, #f7f8fa 0%, #eef1f5 100%);
        box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.8);
    }

    .btn {
        text-align: center;
        min-height: 2px;
        height: 34px;
        padding: 0 12px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        line-height: 1;
        font-size: 10px;
        border-radius: 12px;
        border: 1px solid transparent;
        box-shadow: 0 10px 20px rgba(15, 23, 42, 0.08);
    }

    .btn-be-pro {
        background: linear-gradient(135deg, #111111 0%, #2e2e2e 100%);
        color: #fff;
    }

    .btn-submit {
        color: #fff;
    }

    .showcase-section {
        padding: 54px 14px 92px;
        margin: 14px;
    }

    .showcase-card {
        width: min(100%, 940px);
        padding: 18px 18px 48px;
    }

    .preview-frame {
        height: clamp(260px, 52vw, 400px);
    }

    .highlights-text {
        font-size: clamp(22px, 4vw, 32px);
    }

    .project-nav-float {
        position: static;
        transform: none;
        margin-top: 18px;
        width: 100%;
        max-width: 100%;
        border-radius: 20px;
        padding: 10px;
        display: grid;
        grid-template-columns: repeat(3, minmax(90px, 1fr));
    }

    .proj-btn {
        text-align: center;
        padding: 8px 10px;
        font-size: 11px;
    }
}

@media (max-width: 640px) {
    .top-nav {
        padding: 10px 12px;
    }

    .logo img {
        width: 78px;
        height: 78px;
    }

    .nav-left,
    .nav-right {
        flex-direction: column;
        align-items: stretch;
    }

    .nav-left a,
    .nav-right .btn,
    .search-box {
        width: 100%;
    }

    .search-box,
    .btn {
        min-height: 22px;
        height: 22px;
        padding-top: 0;
        padding-bottom: 0;
        font-size: 9px;
        border-radius: 999px;
    }

    .nav-right {
        display: flex;
        flex-wrap: wrap;
        align-items: center;
        gap: 8px;
    }

    .main-content {
        padding: 34px 14px 18px;
    }

    h1 {
        margin-top: 20px;
        font-size: clamp(2.6rem, 12vw, 4.3rem);
        letter-spacing: -1px;
    }

    .showcase-section {
        padding: 22px 8px 78px;
        margin: 8px;
        border-radius: 20px;
    }

    .showcase-card {
        padding: 12px 12px 30px;
        border-radius: 18px;
    }

    .preview-frame {
        height: clamp(210px, 48vw, 300px);
        border-width: 8px;
    }

    .preview-text-bg {
        font-size: 70px !important;
    }

    .preview-details {
        left: 18px;
        bottom: 18px;
    }

    .highlights-text {
        margin-top: 22px;
        padding-left: 0;
        font-size: clamp(19px, 6vw, 27px);
    }

    .project-nav-float {
        grid-template-columns: repeat(3, minmax(70px, 1fr));
        gap: 8px;
        border-radius: 18px;
    }

    .proj-btn {
        font-size: 10px;
        padding: 7px 8px;
    }
}

.proj-btn {
    padding: 8px 18px;
    border-radius: 30px;
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
}

.proj-btn:hover,
.proj-btn.active {
    background-color: #f0f0f0;
}

.proj-btn-w {
    font-weight: 900;
    font-size: 16px;
    padding: 8px 12px;
}

.proj-btn-visit {
    background-color: #111;
    color: #fff;
    margin-left: 5px;
}

.proj-btn-visit:hover {
    background-color: #333;
}

.proj-btn-visit {
    background-color: #111;
    color: #fff;
    margin-left: 5px;
}

.proj-btn-visit:hover {
    background-color: #333;
}

@media (max-width: 1100px) {
    .top-nav {
        padding: 12px 18px;
    }

    .nav-left,
    .nav-right {
        gap: 12px;
        justify-content: center;
    }

    .showcase-section {
        padding: 60px 16px 100px;
        margin: 16px;
    }

    .showcase-card {
        width: min(100%, 980px);
        padding: 22px 22px 46px;
    }

    .preview-frame {
        height: 440px;
    }
}

@media (max-width: 820px) {
    .top-nav {
        align-items: flex-start;
        padding: 12px 14px;
    }

    .nav-left,
    .nav-right {
        width: 100%;
        justify-content: space-between;
    }

    .nav-right {
        margin-top: 0px;
    }

    .search-box {
        width: min(100%, 220px);
    }

    .main-content {
        padding-top: 44px;
    }

    h1 {
        font-size: clamp(42px, 10vw, 72px);
    }

    .showcase-section {
        padding: 40px 10px 80px;
        margin: 10px;
        border-radius: 24px;
    }

    .showcase-card {
        padding: 16px 14px 42px;
        border-radius: 22px;
    }

    .preview-frame {
        height: 330px;
        border-width: 8px;
    }

    .project-nav-float {
        position: static;
        transform: none;
        width: 100%;
        margin-top: 18px;
        border-radius: 22px;
        padding: 10px;
    }

    .proj-btn {
        flex: 1 1 calc(50% - 8px);
        text-align: center;
    }

    .proj-btn-visit {
        margin-left: 0;
    }
}

@media (max-width: 560px) {
    .top-nav {
        gap: 12px;
    }

    .nav-left,
    .nav-right {
        gap: 8px 12px;
        justify-content: flex-start;
    }

    .nav-left a,
    .nav-right a {
        font-size: 12px;
    }

    .logo img {
        width: 78px;
        height: 78px;
        transform: none;
    }

    .search-box {
        width: 100%;
        min-width: 0;
    }

    .btn {
        width: 100%;
        text-align: center;
    }

    .nav-right {
        display: flex;
        flex-wrap: wrap;
    }

    .main-content {
        padding: 32px 14px 20px;
    }

    h1 {
        font-size: clamp(2.4rem, 12vw, 4rem);
        letter-spacing: -1px;
    }

    .showcase-card {
        border-radius: 18px;
    }

    .preview-frame {
        height: 260px;
    }

    .preview-details {
        left: 18px;
        bottom: 16px;
    }

    .highlights-text {
        margin-top: 22px;
        padding-left: 0;
        font-size: clamp(20px, 6vw, 26px);
    }

    .project-nav-float {
        gap: 8px;
    }

    .proj-btn {
        flex-basis: calc(50% - 8px);
        padding: 9px 10px;
        font-size: 12px;
    }
}

/* --- Estilos Generales de la Seccion --- */
.gallery-section {
    background-color: #f0f0f0;
    padding: 80px 40px;
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

.card-container {
    background-color: #1a1a1a;
    border: 1px solid #333;
    border-radius: 16px;
    width: 48%;
    min-width: 450px;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.preview-frame {
    background-color: #141414;
    border-radius: 12px;
    height: 380px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    border: 1px solid #262626;
}

/* Tarjeta 1: Estilo Oscuro / Mechanical Heart */
.card-dark .preview-screen {
    background: linear-gradient(135deg, #0b0b0b 0%, #1f1f1f 100%);
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px;
    position: relative;
}

.card-dark h2 {
    color: #fff;
    font-size: 28px;
    margin: 0;
    font-weight: 800;
    line-height: 1.05;
    letter-spacing: -0.05em;
}

.card-dark h2 span {
    display: block;
    font-weight: 700;
}

.card-dark .bg-number {
    position: absolute;
    right: 20px;
    bottom: 10px;
    font-size: 100px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.08);
    letter-spacing: -3px;
}

/* Tarjeta 2: Estilo Claro / FS 60P */
.card-light .preview-screen {
    background-color: #f2f2f2;
    width: 100%;
    height: 100%;
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.preview-text-bg {
    font-size: 110px;
    font-weight: 900;
    color: #1a1a1a;
    letter-spacing: -4px;
    opacity: 0.85;
}

.preview-watch-img {
    position: absolute;
    width: 110px;
}

.preview-details {
    position: absolute;
    bottom: 25px;
    left: 30px;
    text-align: left;
}

.preview-details span {
    display: block;
    font-size: 9px;
    color: #777;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.preview-details h3 {
    margin: 2px 0 0 0;
    font-size: 14px;
    color: #111;
}

/* Pie de tarjeta */
.card-footer {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 20px;
    color: #888;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-footer-title {
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    text-transform: none;
    margin-top: 4px;
}

.card-icons {
    display: flex;
    gap: 15px;
    color: #fff;
    font-size: 16px;
}

.tag-badge {
    background-color: #262626;
    color: #ccc;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: bold;
    display: inline-block;
    margin-bottom: 10px;
}

/* Hola */