@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Anton&family=Inter:wght@300;400;500;600&family=Montserrat:wght@300;400;500;600;700&display=swap');

/* ============================================
   VARIABLES
   ============================================ */
:root {
    --green: #C6D738;
    --green-dark: #a8b82e;
    --black: #111111;
    --dark1: #2A2A2A;
    --dark2: #5C5C5C;
    --white: #F5F5F5;
    --gray-light: #A7C3C6;
}

/* ============================================
   RESET & BASE
   ============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    background: var(--black);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    overflow-x: hidden;
    cursor: none;
}

a {
    color: inherit;
    text-decoration: none;
}

button {
    cursor: none;
    border: none;
    background: none;
    color: inherit;
    font: inherit;
}

img {
    max-width: 100%;
    display: block;
}

::-webkit-scrollbar {
    width: 4px;
}

::-webkit-scrollbar-track {
    background: var(--black);
}

::-webkit-scrollbar-thumb {
    background: var(--green);
    border-radius: 2px;
}

::selection {
    background: var(--green);
    color: var(--black);
}

/* ============================================
   CUSTOM CURSOR
   ============================================ */
.cursor {
    position: fixed;
    width: 12px;
    height: 12px;
    background: var(--green);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9999;
    transform: translate(-50%, -50%);
    transition: width .3s, height .3s, background .3s;
    mix-blend-mode: difference;
}

.cursor-follower {
    position: fixed;
    width: 40px;
    height: 40px;
    border: 1px solid rgba(198, 215, 56, .5);
    border-radius: 50%;
    pointer-events: none;
    z-index: 9998;
    transform: translate(-50%, -50%);
    transition: transform .3s cubic-bezier(.76, 0, .24, 1), width .3s, height .3s;
}

.cursor.hover {
    width: 60px;
    height: 60px;
    background: rgba(198, 215, 56, .2);
    border: 1px solid var(--green);
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
.font-display {
    font-family: 'Bebas Neue', cursive;
    letter-spacing: .05em;
}

.font-heading {
    font-family: 'Anton', sans-serif;
}

.font-body {
    font-family: 'Inter', sans-serif;
}

.font-alt {
    font-family: 'Montserrat', sans-serif;
}

/* ============================================
   SCROLL ANIMATIONS
   ============================================ */
.fade-up {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .8s ease, transform .8s cubic-bezier(.76, 0, .24, 1);
}

.fade-up.in-view {
    opacity: 1;
    transform: translateY(0);
}

.fade-up-child {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s ease, transform .7s cubic-bezier(.76, 0, .24, 1);
}

.fade-up-child.in-view {
    opacity: 1;
    transform: translateY(0);
}

.reveal-text {
    overflow: hidden;
}

.reveal-text .inner {
    display: block;
    transform: translateY(105%);
    transition: transform .9s cubic-bezier(.76, 0, .24, 1);
}

.reveal-text.in-view .inner {
    transform: translateY(0);
}

/* ============================================
   PAGE LOADER
   ============================================ */
/* CSS fallback: loader auto-dismisses after 3.2s even if JS never runs */
@keyframes loaderDismiss {
    to {
        transform: translateY(-100%);
        pointer-events: none;
    }
}

#page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: var(--black);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    animation: loaderDismiss .9s cubic-bezier(.76, 0, .24, 1) 3.2s forwards;
}

/* When JS is running, it adds this class to hand control over to JS */
#page-loader.js-loaded {
    animation: none;
}

#loader-brand-block {
    display: flex;
    flex-direction: column;
    align-items: center;
    transform: translateX(4.75rem);
}

/* Imagen principal del loader */
#loader-logo {
    width: clamp(38rem, 62vw, 58rem);
    height: clamp(10rem, 16vw, 15rem);
    object-fit: contain;
    object-position: center top;
    opacity: 0;
    display: block;
}

/* Tagline Design Studio */
#loader-tagline {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1.8rem, 2.8vw, 2.5rem);
    font-weight: 600;
    letter-spacing: .35em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(255, 255, 255, .6);
    margin-top: -1.5rem;
    margin-left: 10.0rem;
    opacity: 0;
    clip-path: inset(0 100% 0 0);
}

#loader-bar-wrap {
    position: absolute;
    bottom: 4rem;
    left: 3rem;
    right: 3rem;
    height: 1px;
    background: rgba(255, 255, 255, .1);
}

#loader-bar {
    height: 100%;
    background: var(--green);
    transform-origin: left;
    transform: scaleX(0);
}

/* ============================================
   NAVBAR
   ============================================ */
#navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 50;
    padding: 1.25rem 3rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: transform .5s cubic-bezier(.76, 0, .24, 1), background .4s, padding .4s, border-color .4s;
    border-bottom: 1px solid transparent;
}

#navbar.scrolled {
    background: rgba(17, 17, 17, .95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, .05);
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.nav-logo {
    display: flex;
    align-items: center;
}

.nav-logo-img {
    height: 5.5rem;
    width: auto;
    display: block;
    object-fit: contain;
}

.footer-logo-img {
    height: 6rem;
    width: auto;
    display: block;
    object-fit: contain;
}

.admin-brand-img {
    height: 2rem;
    width: auto;
    display: block;
    object-fit: contain;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.nav-link {
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .7);
    position: relative;
    transition: color .3s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--green);
    transition: width .4s;
}

.nav-link:hover {
    color: #fff;
}

.nav-link:hover::after {
    width: 100%;
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.5rem;
    background: var(--green);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: background .3s, transform .2s;
}

.nav-cta:hover {
    background: var(--green-dark);
    transform: scale(1.03);
}

.nav-cta svg {
    width: .75rem;
    height: .75rem;
}

.nav-hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    padding: .5rem;
}

.nav-hamburger span {
    display: block;
    height: 1px;
    background: #fff;
    transition: background .3s, width .3s;
}

.nav-hamburger span:nth-child(1) {
    width: 24px;
}

.nav-hamburger span:nth-child(2) {
    width: 16px;
    margin-left: auto;
}

.nav-hamburger span:nth-child(3) {
    width: 24px;
}

.nav-hamburger:hover span {
    background: var(--green);
}

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .nav-cta.desktop {
        display: none;
    }

    .nav-hamburger {
        display: flex;
    }

    #navbar {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
}

/* ============================================
   SIDE MENU
   ============================================ */
#side-trigger {
    position: fixed;
    right: 2rem;
    top: 1.25rem;
    z-index: 60;
    transform: none;
    width: 5.5rem;
    height: 5.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

#side-trigger .trigger-img {
    width: 4.8rem;
    height: 4.8rem;
    object-fit: contain;
    display: block;
    will-change: transform, filter;
    transition: filter .25s ease;
    animation: trigger-pulse 4s ease-in-out infinite;
}

/* Línea indicadora: nace del logo (izq.), viaja hasta el "3" (der.) y se borra por detrás */
#nav-hint {
    position: fixed;
    top: 3.9rem;
    left: 15rem;
    right: 8rem;
    height: 2px;
    z-index: 55;
    overflow: hidden;
    pointer-events: none;
}

#nav-hint .streak {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 6rem;
    border-radius: 2px;
    background: linear-gradient(90deg, rgba(198, 215, 56, 0) 0%, var(--green) 100%);
    animation: streak-travel 4s cubic-bezier(.65, 0, .35, 1) infinite;
}

@keyframes streak-travel {
    0%   { left: 0;    transform: translateX(0);     opacity: 0; }
    6%   { opacity: 1; }
    38%  { left: 100%; transform: translateX(-100%); opacity: 1; }
    46%  { left: 100%; transform: translateX(-100%); opacity: 0; }
    100% { left: 100%; transform: translateX(-100%); opacity: 0; }
}

@keyframes spin-num {
    0% {
        transform: rotate(0deg) scale(1);
    }

    40% {
        transform: rotate(180deg) scale(1.16);
    }

    70% {
        transform: rotate(290deg) scale(1.08);
    }

    100% {
        transform: rotate(360deg) scale(1);
    }
}

#side-trigger:hover .trigger-img,
#side-trigger:focus-visible .trigger-img,
#side-trigger:active .trigger-img,
#side-trigger.menu-open .trigger-img {
    animation: spin-num 1.35s cubic-bezier(.22, 1, .36, 1) forwards;
    filter: brightness(0) invert(1);
}

/* Palpito + glow del "3" cuando el trazo lo toca (sincronizado con la llegada, ~38%) */
@keyframes trigger-pulse {
    0%, 34% { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(198, 215, 56, 0)); }
    39%     { transform: scale(1.18); filter: drop-shadow(0 0 14px rgba(198, 215, 56, .85)); }
    44%     { transform: scale(1);    filter: drop-shadow(0 0 6px rgba(198, 215, 56, .35)); }
    49%     { transform: scale(1.12); filter: drop-shadow(0 0 12px rgba(198, 215, 56, .7)); }
    54%     { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(198, 215, 56, 0)); }
    100%    { transform: scale(1);    filter: drop-shadow(0 0 0 rgba(198, 215, 56, 0)); }
}

#side-backdrop {
    position: fixed;
    inset: 0;
    z-index: 50;
    background: rgba(17, 17, 17, .8);
    backdrop-filter: blur(4px);
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

#side-backdrop.open {
    opacity: 1;
    pointer-events: all;
}

#side-panel {
    position: fixed;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 60;
    width: min(100%, 22rem);
    background: var(--dark1);
    display: flex;
    flex-direction: column;
    padding: 4rem 3rem;
    transform: translateX(100%);
    transition: transform .6s cubic-bezier(.76, 0, .24, 1);
    overflow: hidden;
}

#side-panel.open {
    transform: translateX(0);
}

.side-watermark {
    margin-bottom: 2.5rem;
    user-select: none;
}

.side-watermark-logo {
    width: 100%;
    max-width: 13rem;
    height: auto;
    display: block;
    opacity: .18;
    filter: brightness(0) invert(1);
}

.side-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: color .3s;
}

.side-close:hover {
    color: var(--green);
}

.side-menu-item {
    position: relative;
    display: flex;
    align-items: baseline;
    gap: 1.5rem;
    padding: 1.25rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    transition: border-color .3s;
    opacity: 0;
    transform: translateX(60px);
    overflow: visible;
}

/* Brush stroke SVG */
.side-menu-brush {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: visible;
}

.side-menu-brush path {
    stroke-dashoffset: 1;
}

/* Animate in only when panel is open */
#side-panel.open .side-menu-item.active .side-menu-brush path {
    animation: brushDraw .7s cubic-bezier(.4, 0, .2, 1) .55s forwards;
}

@keyframes brushDraw {
    to {
        stroke-dashoffset: 0;
    }
}

/* Active label color */
.side-menu-item.active .label {
    color: #fff;
}

.side-menu-item.active .num {
    color: var(--green);
}

.side-menu-item:hover {
    border-color: rgba(198, 215, 56, .3);
}

.side-menu-item .num {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(198, 215, 56, .4);
    letter-spacing: .3em;
    flex-shrink: 0;
}

.side-menu-item .label {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .05em;
    line-height: 1;
    transition: color .3s, transform .3s;
}

.side-menu-item:hover .label {
    color: #fff;
    transform: translateX(6px);
}

.side-social {
    margin-top: auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, .07);
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.side-social-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .6rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .2);
}

.side-social-icons {
    display: flex;
    align-items: center;
    gap: .25rem;
}

.side-social-link {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: 50%;
    color: rgba(255, 255, 255, .35);
    transition: border-color .3s, color .3s, background .3s;
    flex-shrink: 0;
}

.side-social-link:hover {
    border-color: var(--green);
    color: var(--green);
    background: rgba(198, 215, 56, .07);
}

.side-social-link svg {
    width: 1rem;
    height: 1rem;
}

/* ============================================
   VIDEO MODAL
   ============================================ */
#video-modal {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(0, 0, 0, .9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity .4s;
}

#video-modal.open {
    opacity: 1;
    pointer-events: all;
}

#video-modal .close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .3em;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: color .3s;
}

#video-modal .close:hover {
    color: var(--green);
}

#video-modal iframe {
    width: min(90vw, 1120px);
    aspect-ratio: 16/9;
    border: none;
}

/* ============================================
   HERO
   ============================================ */
.hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
    display: flex;
    align-items: flex-end;
    padding-bottom: 5rem;
}

.hero-bg-video {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 0;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .45);
    z-index: 1;
}

.hero-grid {
    position: absolute;
    inset: 0;
    opacity: .08;
    z-index: 2;
    background-image:
        linear-gradient(rgba(198, 215, 56, .15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 215, 56, .15) 1px, transparent 1px);
    background-size: 80px 80px;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 3;
    background: linear-gradient(to top, #111 0%, rgba(17, 17, 17, .5) 50%, rgba(17, 17, 17, .2) 100%);
    opacity: 0;
}

.hero-deco-line {
    position: absolute;
    z-index: 4;
    background: rgba(198, 215, 56, .3);
    pointer-events: none;
    animation: deco-pulse 4s ease-in-out infinite;
}

.hero-deco-line.v {
    width: 1px;
    height: 160px;
    top: 25%;
    right: 25%;
}

.hero-deco-line.h {
    width: 128px;
    height: 1px;
    top: 33%;
    right: 33%;
    animation-delay: 1s;
    animation-duration: 5s;
}

@keyframes deco-pulse {

    0%,
    100% {
        opacity: .3
    }

    50% {
        opacity: .8
    }
}

.hero-content {
    position: relative;
    z-index: 10;
    width: 100%;
    padding: 0 5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.hero-eyebrow {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.hero-eyebrow .line {
    width: 2rem;
    height: 1px;
    background: var(--green);
}

.hero-eyebrow span {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: var(--green);
    letter-spacing: .4em;
    text-transform: uppercase;
}

.hero-title {
    overflow: hidden;
    font-family: 'Bebas Neue', cursive;
    line-height: .9;
    letter-spacing: .05em;
    margin-bottom: 2rem;
}

.hero-title .word {
    display: block;
    font-size: clamp(2.5rem, 5.5vw, 5.5rem);
}

.hero-title .word.green {
    color: var(--green);
}

.hero-cta {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.hero-left {
    max-width: 48rem;
}

.btn-outline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    border: 1px solid rgba(255, 255, 255, .2);
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 500;
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: border-color .3s, color .3s;
}

.btn-outline .line {
    width: 2rem;
    height: 1px;
    background: currentColor;
    transition: width .3s;
}

.btn-outline:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-outline:hover .line {
    width: 3rem;
}

.hero-reel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.reel-btn {
    position: relative;
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, .3);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: border-color .4s;
}

.reel-btn:hover {
    border-color: var(--green);
}

.reel-ring {
    position: absolute;
    inset: 0;
    border-radius: 50%;
    border: 1px solid rgba(198, 215, 56, .3);
    animation: reel-pulse 2s ease-in-out infinite;
}

@keyframes reel-pulse {
    0% {
        transform: scale(1);
        opacity: .6
    }

    100% {
        transform: scale(1.4);
        opacity: 0
    }
}

.reel-btn svg {
    width: 2rem;
    height: 2rem;
    color: #fff;
    transition: color .3s;
    margin-left: 4px;
}

.reel-btn:hover svg {
    color: var(--green);
}

.reel-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .3em;
    text-transform: uppercase;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
}

/* Watermark marquee */
.hero-marquee {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    transform: translateY(-50%);
    overflow: hidden;
    pointer-events: none;
    z-index: 4;
}

.hero-marquee-inner {
    display: flex;
    gap: 6rem;
    width: max-content;
    animation: marquee-scroll 30s linear infinite;
}

.hero-marquee-inner span {
    font-family: 'Bebas Neue', cursive;
    font-size: 20vw;
    line-height: 1;
    color: rgba(255, 255, 255, .03);
    user-select: none;
}

@keyframes marquee-scroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    animation: scroll-bob 2s ease-in-out infinite;
}

.scroll-indicator span {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.scroll-indicator .bar {
    width: 1px;
    height: 3rem;
    background: linear-gradient(to bottom, rgba(255, 255, 255, .2), transparent);
}

@keyframes scroll-bob {

    0%,
    100% {
        transform: translateX(-50%) translateY(0)
    }

    50% {
        transform: translateX(-50%) translateY(8px)
    }
}

@media (max-width: 1024px) {
    .hero-content {
        padding: 0 1.5rem;
    }

    .hero-reel {
        display: none;
    }
}

/* ── Tablet (≤ 768px) ── */
@media (max-width: 768px) {

    /* Loader */
    #loader-brand-block {
        transform: translateX(0);
        width: 100%;
        padding: 0 2rem;
        align-items: center;
    }

    #loader-logo {
        width: clamp(16rem, 78vw, 26rem);
        height: auto;
    }

    #loader-tagline {
        font-size: clamp(1rem, 4.2vw, 1.4rem);
        margin-left: 1.5rem;
        margin-top: -0.5rem;
        letter-spacing: .2em;
    }

    #loader-bar-wrap {
        left: 1.5rem;
        right: 1.5rem;
        bottom: 2.5rem;
    }

    /* Hero layout */
    .hero {
        padding-bottom: 4rem;
    }

    .hero-title .word {
        font-size: clamp(3rem, 11.5vw, 5rem);
    }

    .hero-deco-line {
        display: none;
    }

    .hero-eyebrow {
        margin-bottom: 1rem;
    }

    .hero-cta {
        gap: 1rem;
    }

    .btn-outline {
        padding: .8rem 1.4rem;
        font-size: .68rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* ── Mobile (≤ 480px) ── */
@media (max-width: 480px) {

    /* Loader */
    #loader-brand-block {
        padding: 0 1.25rem;
    }

    #loader-logo {
        width: 88vw;
        height: auto;
    }

    #loader-tagline {
        font-size: clamp(.8rem, 3.6vw, 1rem);
        margin-left: .75rem;
        letter-spacing: .15em;
    }

    /* Hero */
    .hero {
        padding-bottom: 3rem;
        align-items: flex-end;
    }

    .hero-content {
        padding: 0 1.25rem;
    }

    .hero-title .word {
        font-size: clamp(2.8rem, 13vw, 4rem);
    }

    .hero-eyebrow span {
        font-size: .65rem;
        letter-spacing: .25em;
    }

    .hero-marquee-inner span {
        font-size: 38vw;
    }

    .btn-outline {
        padding: .7rem 1.2rem;
        font-size: .62rem;
        gap: .6rem;
    }

    .btn-outline .line {
        width: 1.25rem;
    }
}

/* ============================================
   SECTION HEADERS
   ============================================ */
.section-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 5rem;
}

.section-label .line {
    width: 2rem;
    height: 1px;
    background: var(--green);
}

.section-label span {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: var(--green);
    letter-spacing: .4em;
    text-transform: uppercase;
}

.section-heading {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 7vw, 7rem);
    line-height: .9;
    letter-spacing: .05em;
}

/* ============================================
   PROJECTS SECTION
   ============================================ */
#proyectos {
    padding: 7rem 0;
    background: var(--black);
}

.section-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

/* Projects section header: título izquierda, filtros derecha */
.projs-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 4rem;
}

.projs-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 8vw, 8rem);
    line-height: .9;
    letter-spacing: .05em;
    color: var(--white);
    margin-top: 1rem;
}

.projs-title-green {
    color: var(--green);
    display: block;
}

.filter-tabs {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: .5rem 1.25rem;
    border: 1px solid rgba(255, 255, 255, .1);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .5);
    transition: all .3s;
}

.filter-tab:hover {
    border-color: var(--green);
    color: var(--green);
}

.filter-tab.active {
    border-color: var(--green);
    color: var(--green);
    background: rgba(198, 215, 56, .05);
}

/* ============================================
   PROJECTS GRID — estilo mchecon
   ============================================ */
.masonry-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}

.masonry-item {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 27 / 16;
}

/* Clases de altura legacy — ahora todas igual */
.masonry-item.h-lg,
.masonry-item.h-md,
.masonry-item.h-sm {
    aspect-ratio: 27 / 16;
}

/* El link dentro del card ocupa todo el item */
.masonry-item>a {
    display: block;
    width: 100%;
    height: 100%;
    position: relative;
}

.masonry-item img,
.masonry-item .proj-placeholder {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .6s cubic-bezier(.76, 0, .24, 1);
}

.proj-placeholder {
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 50%, #1a1a1a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-placeholder span {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: var(--green);
    opacity: .2;
}

.masonry-item:hover img,
.masonry-item:hover .proj-placeholder {
    transform: scale(1.05);
}

/* Overlay oscuro que aparece al hover */
.proj-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 17, 17, .75);
    opacity: 0;
    transition: opacity .35s ease;
}

.masonry-item:hover .proj-overlay {
    opacity: 1;
}

/* Gradient permanente ya no se necesita, lo ocultamos */
.proj-gradient {
    display: none;
}

/* Badge de categoría */
.proj-badge {
    display: none;
}

/* Info centrada sobre la imagen */
.proj-info {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
    text-align: center;
    opacity: 0;
    transform: translateY(10px);
    transition: opacity .35s ease, transform .35s ease;
}

.masonry-item:hover .proj-info {
    opacity: 1;
    transform: translateY(0);
}

.proj-client {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: var(--green);
    letter-spacing: .35em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.proj-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.4rem;
    color: #fff;
    letter-spacing: .08em;
    line-height: 1.15;
    margin-bottom: .75rem;
}

.proj-arrow {
    display: flex;
    align-items: center;
    gap: .4rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .6rem;
    color: var(--green);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.proj-arrow svg {
    width: .75rem;
    height: .75rem;
}

@media (max-width: 1024px) {
    .masonry-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 480px) {
    .masonry-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2px;
    }

    .section-inner {
        padding: 0 1.5rem;
    }
}

/* ============================================
   SERVICES SECTION
   ============================================ */
#servicios {
    padding: 7rem 0;
    background: var(--black);
    border-top: 1px solid rgba(255, 255, 255, .05);
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    background: rgba(255, 255, 255, .06);
    border: 1px solid rgba(255, 255, 255, .06);
}

.service-card {
    position: relative;
    background: var(--black);
    padding: 2.5rem 2rem;
    cursor: pointer;
    overflow: hidden;
    transition: background .45s ease;
}

/* Línea de acento que crece desde arriba al pasar el cursor */
.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .45s ease;
}

.service-card:hover {
    background: var(--dark1);
}

.service-card:hover::before {
    transform: scaleX(1);
}

.service-num {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(198, 215, 56, .4);
    letter-spacing: .3em;
    display: block;
    margin-bottom: 1.25rem;
}

.service-icon {
    width: 2.25rem;
    height: 2.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .25);
    margin-bottom: 1rem;
    transition: color .4s ease, transform .4s ease;
}

.service-card:hover .service-icon {
    color: var(--green);
    transform: translateY(-2px);
}

.service-icon svg {
    width: 1.9rem;
    height: 1.9rem;
}

.service-title {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 600;
    color: #fff;
    letter-spacing: .08em;
    text-transform: uppercase;
    line-height: 1.3;
    transition: color .3s ease;
}

.service-card:hover .service-title {
    color: var(--green);
}

/* Descripción colapsada: se despliega al pasar el cursor */
.service-desc {
    font-size: .875rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.65;
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transform: translateY(6px);
    transition: max-height .5s ease, opacity .4s ease, margin-top .4s ease, transform .5s ease;
}

.service-card:hover .service-desc {
    max-height: 320px;
    opacity: 1;
    margin-top: 1rem;
    transform: translateY(0);
}

/* En pantallas táctiles (sin hover) mostramos siempre la descripción */
@media (hover: none) {
    .service-desc {
        max-height: none;
        opacity: 1;
        margin-top: 1rem;
        transform: none;
    }
}

/* Tablet: 2 columnas */
@media (max-width: 1024px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   STATISTICS SECTION
   ============================================ */
#nosotros {
    position: relative;
    padding: 7rem 0;
    background: var(--dark1);
    overflow: hidden;
}

.stats-accent {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(198, 215, 56, .06) 0%, transparent 50%, rgba(167, 195, 198, .04) 100%);
}

.stats-grid-bg {
    position: absolute;
    inset: 0;
    opacity: .05;
    background-image:
        linear-gradient(rgba(198, 215, 56, .3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 215, 56, .3) 1px, transparent 1px);
    background-size: 120px 120px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3rem;
}

.stat-item {
    position: relative;
}

.stat-num {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(4rem, 8vw, 7rem);
    color: var(--green);
    line-height: 1;
    margin-bottom: .75rem;
}

.stat-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: #fff;
    letter-spacing: .1em;
    text-transform: uppercase;
    margin-bottom: .25rem;
}

.stat-desc {
    font-size: .875rem;
    color: rgba(255, 255, 255, .4);
}

.stat-line {
    margin-top: 1.5rem;
    height: 1px;
    background: var(--green);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .8s cubic-bezier(.76, 0, .24, 1) .3s;
}

.stat-item.in-view .stat-line {
    transform: scaleX(1);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   CONTACT SECTION
   ============================================ */
#contacto {
    padding: 7rem 0;
    background: var(--black);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
}

.contact-heading {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 7vw, 6.5rem);
    color: #fff;
    line-height: .9;
    letter-spacing: .05em;
    margin-bottom: 1.5rem;
}

.contact-heading .green {
    color: var(--green);
}

.contact-sub {
    font-size: .9rem;
    color: rgba(255, 255, 255, .5);
    line-height: 1.7;
    max-width: 28rem;
    margin-bottom: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

/* Lista de datos de contacto (teléfono, email, dirección) */
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.contact-details li {
    display: flex;
    align-items: center;
    gap: .85rem;
}

.contact-details li svg {
    width: 1.25rem;
    height: 1.25rem;
    flex-shrink: 0;
    color: var(--green);
}

.contact-details li a,
.contact-details li span {
    font-family: 'Montserrat', sans-serif;
    font-size: .9rem;
    color: rgba(255, 255, 255, .55);
    letter-spacing: .03em;
    text-decoration: none;
    transition: color .3s;
}

.contact-details li a:hover {
    color: var(--green);
}

.contact-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: color .3s;
}

.contact-row:hover {
    color: #fff;
}

.contact-row .icon {
    width: 2.5rem;
    height: 2.5rem;
    flex-shrink: 0;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .4);
    transition: border-color .3s, color .3s;
}

.contact-row:hover .icon {
    border-color: var(--green);
    color: var(--green);
}

.contact-row .icon svg {
    width: 1rem;
    height: 1rem;
}

.contact-row .text {
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .05em;
    transition: color .3s;
}

.contact-row:hover .text {
    color: #fff;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}

.form-input,
.form-select,
.form-textarea {
    width: 100%;
    background: rgba(255, 255, 255, .03);
    border: none;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    padding: 1rem 0;
    outline: none;
    transition: border-color .3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: rgba(255, 255, 255, .25);
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
    border-color: var(--green);
}

.form-input.error,
.form-select.error,
.form-textarea.error {
    border-color: #ef4444;
}

body.js-cursor .form-select {
    cursor: none;
}

.form-select option {
    background: var(--dark1);
}

.form-textarea {
    resize: none;
    min-height: 120px;
    line-height: 1.6;
}

.form-error {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: #ef4444;
    margin-top: .25rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: .75rem;
    padding: 1rem 0;
    width: 100%;
    background: var(--green);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: background .3s, transform .2s;
}

.btn-submit:hover {
    background: var(--green-dark);
    transform: scale(1.02);
}

.btn-submit:disabled {
    opacity: .5;
    pointer-events: none;
}

.btn-submit svg {
    width: 1rem;
    height: 1rem;
}

@media (max-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
}

@media (max-width: 640px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}

/* ── Contact form overrides (cancela el padding del admin) ── */
.contact-form-wrap form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.contact-form-wrap .form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.25rem;
    align-items: start;
}

.contact-form-wrap .form-group {
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
}

.contact-form-wrap .form-group:first-child {
    padding-top: 0;
}

.contact-form-wrap .form-group input,
.contact-form-wrap .form-group select,
.contact-form-wrap .form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

@media (max-width: 640px) {
    .contact-form-wrap .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   FOOTER
   ============================================ */
footer {
    position: relative;
    background: var(--black);
    padding: 6rem 0 2.5rem;
    overflow: hidden;
}

.footer-watermark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    overflow: hidden;
}

.footer-watermark span {
    font-family: 'Bebas Neue', cursive;
    font-size: 30vw;
    color: #fff;
    line-height: 1;
    opacity: .025;
    user-select: none;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 4rem;
    padding-bottom: 4rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.footer-logo {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
}

.footer-logo .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 3.25rem;
    color: var(--green);
    line-height: 1;
}

.footer-logo .text span {
    display: block;
    font-family: 'Montserrat', sans-serif;
    text-transform: uppercase;
}

.footer-logo .text .top {
    font-weight: 700;
    font-size: .9rem;
    letter-spacing: .3em;
}

.footer-logo .text .bot {
    font-weight: 300;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .5em;
}

.footer-desc {
    font-size: .875rem;
    color: rgba(255, 255, 255, .4);
    line-height: 1.7;
    max-width: 18rem;
    margin-bottom: 2rem;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    width: 2.5rem;
    height: 2.5rem;
    border: 1px solid rgba(255, 255, 255, .1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .4);
    transition: color .3s, border-color .3s;
}

.social-link:hover {
    color: var(--green);
    border-color: var(--green);
}

.social-link svg {
    width: 1rem;
    height: 1rem;
}

.footer-col-title {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.footer-links a {
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
    color: rgba(255, 255, 255, .5);
    transition: color .3s;
}

.footer-links a:hover {
    color: var(--green);
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.footer-bottom p {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .2);
    letter-spacing: .1em;
}

@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 640px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 2.5rem;
    }

    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
}

/* ============================================
   TOAST NOTIFICATION
   ============================================ */
#toast-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.toast {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: 1rem 1.5rem;
    background: var(--dark1);
    border: 1px solid;
    font-family: 'Montserrat', sans-serif;
    font-size: .8125rem;
    color: var(--white);
    min-width: 18rem;
    transform: translateX(120%);
    transition: transform .4s cubic-bezier(.76, 0, .24, 1);
}

.toast.show {
    transform: translateX(0);
}

.toast.success {
    border-color: var(--green);
}

.toast.error {
    border-color: #ef4444;
}

.toast-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.toast.success .toast-dot {
    background: var(--green);
}

.toast.error .toast-dot {
    background: #ef4444;
}

/* ============================================
   PROJECT DETAIL PAGE
   ============================================ */
.detail-back {
    position: fixed;
    top: 2rem;
    left: 3rem;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: color .3s;
}

.detail-back .line {
    width: 2rem;
    height: 1px;
    background: rgba(255, 255, 255, .3);
    transition: width .3s, background .3s;
}

.detail-back:hover {
    color: #fff;
}

.detail-back:hover .line {
    width: 3rem;
    background: #fff;
}

.detail-hero {
    position: relative;
    width: 100%;
    height: 100svh;
    min-height: 600px;
    overflow: hidden;
}

.detail-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.detail-hero-placeholder {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 60%, #1a1f0d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.detail-hero-placeholder span {
    font-family: 'Bebas Neue', cursive;
    font-size: 10rem;
    color: var(--green);
    opacity: .1;
}

.detail-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, #111 0%, rgba(17, 17, 17, .4) 60%, transparent 100%);
}

.detail-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 4rem 5rem;
}

.detail-category {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: var(--green);
    letter-spacing: .4em;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.detail-title-wrap {
    overflow: hidden;
}

.detail-title .anim-word {
    display: block;
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 8vw, 8rem);
    letter-spacing: .05em;
    line-height: .9;
    transform: translateY(110%);
}

.detail-section {
    max-width: 1200px;
    margin: 0 auto;
    padding: 5rem 3rem;
}

.detail-meta {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding: 3rem 0;
    border-top: 1px solid rgba(255, 255, 255, .05);
    border-bottom: 1px solid rgba(255, 255, 255, .05);
    margin-bottom: 4rem;
}

.meta-item .label {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .4em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.meta-item .value {
    font-family: 'Montserrat', sans-serif;
    font-size: .9375rem;
    color: #fff;
}

.detail-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    margin-bottom: 4rem;
}

.detail-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, .6);
    line-height: 1.8;
}

.detail-services-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.detail-services-list li {
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
}

.detail-services-list li::before {
    content: '';
    width: 1.5rem;
    height: 1px;
    background: var(--green);
    flex-shrink: 0;
}

.detail-gallery {
    margin-bottom: 4rem;
}

.swiper-detail {
    width: 100%;
}

.swiper-detail .swiper-slide img {
    width: 100%;
    height: auto;
    aspect-ratio: 27 / 16;
    object-fit: cover;
}

.swiper-pagination-bullet {
    background: var(--green) !important;
    opacity: .4;
}

.swiper-pagination-bullet-active {
    opacity: 1 !important;
    width: 32px !important;
    border-radius: 4px !important;
}

@media (max-width: 1024px) {
    .detail-hero-content {
        padding: 3rem 1.5rem;
    }

    .detail-section {
        padding: 3rem 1.5rem;
    }

    .detail-meta {
        grid-template-columns: repeat(2, 1fr);
    }

    .detail-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

/* ============================================
   ADMIN LAYOUT
   ============================================ */
body.admin-body {
    cursor: auto;
    background: var(--dark1);
}

body.admin-body * {
    cursor: auto !important;
}

.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    bottom: 0;
    width: 260px;
    background: var(--black);
    border-right: 1px solid rgba(255, 255, 255, .05);
    display: flex;
    flex-direction: column;
    padding: 2.5rem 1.5rem;
    z-index: 10;
    overflow-y: auto;
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 3rem;
}

.admin-logo .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--green);
    line-height: 1;
}

.admin-logo .text {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.admin-logo .sub {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    display: block;
}

.admin-nav {
    display: flex;
    flex-direction: column;
    gap: .25rem;
    flex: 1;
}

.admin-nav-item {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    border-left: 2px solid transparent;
    transition: color .3s, border-color .3s, background .3s;
}

.admin-nav-item:hover {
    color: #fff;
    background: rgba(255, 255, 255, .03);
}

.admin-nav-item.active {
    color: var(--green);
    border-color: var(--green);
    background: rgba(198, 215, 56, .05);
}

.admin-nav-item svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.admin-logout {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8125rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .1em;
    text-transform: uppercase;
    border-top: 1px solid rgba(255, 255, 255, .05);
    margin-top: auto;
    padding-top: 1.5rem;
    transition: color .3s;
}

.admin-logout:hover {
    color: #ef4444;
}

.admin-main {
    margin-left: 260px;
    min-height: 100svh;
    padding: 3rem;
    background: var(--dark1);
}

.admin-card {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, .05);
}

.admin-page-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    letter-spacing: .05em;
    color: #fff;
    margin-bottom: .25rem;
}

.admin-page-sub {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
}

.admin-stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.admin-stat-card {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 1.5rem;
}

.admin-stat-card .stat-val {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: #fff;
    line-height: 1;
    margin-bottom: .25rem;
}

.admin-stat-card .stat-lbl {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.admin-table-wrap {
    overflow-x: auto;
}

table {
    width: 100%;
    border-collapse: collapse;
}

th {
    text-align: left;
    padding: .75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

td {
    padding: .875rem 1rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    vertical-align: middle;
}

tr:hover td {
    background: rgba(255, 255, 255, .02);
}

.badge {
    display: inline-block;
    padding: .2rem .65rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: 1px solid;
    border-radius: 0;
}

.badge-green {
    border-color: rgba(198, 215, 56, .4);
    color: var(--green);
    background: rgba(198, 215, 56, .05);
}

.badge-gray {
    border-color: rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .4);
}

.btn-icon {
    width: 2rem;
    height: 2rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .1);
    color: rgba(255, 255, 255, .4);
    transition: border-color .3s, color .3s;
}

.btn-icon:hover {
    border-color: var(--green);
    color: var(--green);
}

.btn-icon.danger:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.btn-icon svg {
    width: .875rem;
    height: .875rem;
}

.admin-btn {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .625rem 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    transition: background .3s, transform .2s;
}

.admin-btn.primary {
    background: var(--green);
    color: var(--black);
}

.admin-btn.primary:hover {
    background: var(--green-dark);
}

.admin-btn svg {
    width: .875rem;
    height: .875rem;
}

/* Admin forms */
.admin-form-group {
    margin-bottom: 1.25rem;
}

.admin-label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.admin-input,
.admin-select,
.admin-textarea {
    width: 100%;
    background: rgba(255, 255, 255, .03);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    padding: .75rem 1rem;
    outline: none;
    transition: border-color .3s;
}

.admin-input:focus,
.admin-select:focus,
.admin-textarea:focus {
    border-color: var(--green);
}

.admin-select {
    cursor: auto;
}

.admin-select option {
    background: var(--dark1);
}

.admin-textarea {
    resize: vertical;
    min-height: 100px;
}

/* Modal */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: all;
}

.modal-box {
    background: var(--dark1);
    border: 1px solid rgba(255, 255, 255, .08);
    width: 100%;
    max-width: 640px;
    max-height: 90svh;
    overflow-y: auto;
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.76, 0, .24, 1);
}

.modal-overlay.open .modal-box {
    transform: scale(1);
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.modal-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    letter-spacing: .05em;
    color: #fff;
}

.modal-close {
    color: rgba(255, 255, 255, .3);
    transition: color .3s;
    font-size: 1.25rem;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem 2rem;
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
}

/* Image upload */
.upload-zone {
    border: 2px dashed rgba(255, 255, 255, .1);
    padding: 2rem;
    text-align: center;
    cursor: auto;
    transition: border-color .3s;
}

.upload-zone:hover {
    border-color: rgba(198, 215, 56, .4);
}

.upload-zone p {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .2em;
    text-transform: uppercase;
    margin-top: .5rem;
}

.upload-zone .hint {
    font-size: .6875rem;
    color: rgba(255, 255, 255, .2);
    margin-top: .25rem;
    letter-spacing: .1em;
}

/* Admin login */
.admin-login-wrap {
    min-height: 100svh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--black);
    padding: 1rem;
    position: relative;
    overflow: hidden;
}

.admin-login-grid {
    position: absolute;
    inset: 0;
    opacity: .04;
    background-image:
        linear-gradient(rgba(198, 215, 56, .3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 215, 56, .3) 1px, transparent 1px);
    background-size: 60px 60px;
}

.admin-login-card {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 420px;
}

.admin-login-logo {
    text-align: center;
    margin-bottom: 3rem;
}

.admin-login-logo .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 6rem;
    color: var(--green);
    line-height: 1;
    display: block;
}

.admin-login-logo .txt {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .875rem;
    letter-spacing: .4em;
    text-transform: uppercase;
}

.admin-login-form-card {
    background: var(--dark1);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 2.5rem;
}

.admin-login-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    letter-spacing: .3em;
    color: #fff;
    margin-bottom: 2rem;
}

@media (max-width: 768px) {
    .admin-sidebar {
        display: none;
    }

    .admin-main {
        margin-left: 0;
        padding: 1.5rem;
    }

    .admin-stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* ============================================
   ADMIN — ADDITIONAL CLASSES (used by PHP pages)
   ============================================ */
/* Layout */
.admin-layout {
    display: flex;
    min-height: 100svh;
}

.admin-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 3rem;
    text-decoration: none;
}

.admin-brand .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--green);
    line-height: 1;
}

.admin-brand .text {
    font-family: 'Montserrat', sans-serif;
}

.admin-brand .top {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: #fff;
}

.admin-brand .bot {
    display: block;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.admin-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    border-left: 2px solid transparent;
    transition: color .3s, border-color .3s, background .3s;
    text-decoration: none;
}

.admin-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .03);
}

.admin-nav-link.active {
    color: var(--green);
    border-color: var(--green);
    background: rgba(198, 215, 56, .05);
}

.admin-nav-link.logout:hover {
    color: #ef4444;
    border-color: #ef4444;
}

.admin-nav-link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.admin-sidebar-footer {
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 1rem;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.admin-user {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .1em;
}

.admin-content {}

/* Card */
.admin-card {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, .05);
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.admin-card-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.25rem;
    letter-spacing: .05em;
    color: #fff;
}

/* Stat cards */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.stat-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    color: var(--green);
    flex-shrink: 0;
}

.stat-card-icon svg {
    width: 100%;
    height: 100%;
}

.stat-card-val {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.2rem;
    color: #fff;
    line-height: 1;
}

.stat-card-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-top: .25rem;
}

/* Table */
.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: .75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.admin-table td {
    padding: .875rem 1rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .7);
    border-bottom: 1px solid rgba(255, 255, 255, .04);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, .02);
}

.tbl-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.tbl-btn {
    display: inline-flex;
    align-items: center;
    padding: .3rem .7rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .5);
    cursor: pointer;
    background: none;
    text-decoration: none;
    transition: border-color .2s, color .2s;
}

.tbl-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.tbl-btn.danger:hover {
    border-color: #ef4444;
    color: #ef4444;
}

.thumb-sm {
    width: 48px;
    height: 36px;
    background-size: cover;
    background-position: center;
}

.thumb-empty {
    background: rgba(255, 255, 255, .05);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: var(--green);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    text-decoration: none;
    transition: background .3s;
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-primary svg {
    width: .75rem;
    height: .75rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: transparent;
    color: rgba(255, 255, 255, .6);
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .2);
    cursor: pointer;
    text-decoration: none;
    transition: border-color .3s, color .3s;
}

.btn-secondary:hover {
    border-color: #fff;
    color: #fff;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: #ef4444;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background .3s;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Flash messages */
.flash-msg {
    padding: .875rem 1.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8125rem;
    border-left: 3px solid var(--green);
    background: rgba(198, 215, 56, .08);
    color: var(--green);
}

.flash-msg.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, .08);
    color: #ef4444;
}

/* Modal (new class — wraps like overlay) */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .85);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal .modal-box {
    transform: scale(.95);
    transition: transform .3s cubic-bezier(.76, 0, .24, 1);
}

.modal.open .modal-box {
    transform: scale(1);
}

.modal-box {
    background: var(--dark1);
    border: 1px solid rgba(255, 255, 255, .08);
    width: 100%;
    max-width: 580px;
    max-height: 90svh;
    overflow-y: auto;
}

.modal-lg {
    max-width: 780px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.modal-close {
    color: rgba(255, 255, 255, .3);
    transition: color .3s;
    font-size: 1.1rem;
    line-height: 1;
}

.modal-close:hover {
    color: #fff;
}

.modal-actions {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    padding: 1.5rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, .05);
    margin-top: 1rem;
}

/* Forms (admin) */
.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    padding: 0 2rem 1rem;
}

.form-group:first-child {
    padding-top: 1.5rem;
}

.form-group label {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .25em;
    text-transform: uppercase;
}

.form-group input,
.form-group select,
.form-group textarea {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    padding: .75rem 1rem;
    outline: none;
    transition: border-color .3s;
    width: 100%;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
}

.form-group select option {
    background: var(--dark1);
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ef4444;
}

.form-grid-2 .form-group,
.form-grid-4 .form-group {
    padding-left: 0;
    padding-right: 0;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: .6rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    cursor: pointer;
}

.checkbox-label input {
    width: auto;
    margin: 0;
}

/* Image preview */
.preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    padding: 0 2rem 1rem;
    min-height: 0;
}

.preview-thumb {
    width: 80px;
    height: 60px;
    background-size: cover;
    background-position: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, .1);
}

.preview-thumb.is-cover {
    border-color: var(--green);
}

.preview-remove {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 18px;
    height: 18px;
    background: #ef4444;
    color: #fff;
    border: none;
    border-radius: 50%;
    font-size: 12px;
    line-height: 1;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Login page */
.admin-login-page {
    background: var(--black);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
}

.login-wrap {
    width: 100%;
    max-width: 400px;
    padding: 1rem;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.login-logo .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 5rem;
    color: var(--green);
    line-height: 1;
}

.login-logo .text .top {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .875rem;
    font-weight: 700;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: #fff;
}

.login-logo .text .bot {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.login-form {
    background: var(--dark1);
    border: 1px solid rgba(255, 255, 255, .06);
    padding: 2rem;
}

.login-form .form-group {
    padding: 0 0 1rem;
}

.login-form .form-group:first-child {
    padding-top: 0;
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 1.25rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .1em;
    transition: color .3s;
}

.login-back:hover {
    color: var(--green);
}

/* Upload zone in modal */
.modal-box .upload-zone {
    margin: 0 2rem 1rem;
}

.modal-box .preview-grid {
    padding: 0 2rem 1rem;
}

/* Responsive admin */
@media (max-width: 768px) {
    .stat-cards {
        grid-template-columns: 1fr 1fr;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .form-grid-4 {
        grid-template-columns: 1fr 1fr;
    }
}


/* ============================================
   ADMIN LAYOUT v2 (PHP pages)
   ============================================ */
.admin-layout {
    display: flex;
    min-height: 100svh;
}

.admin-main {
    flex: 1;
}

.admin-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.admin-page-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    letter-spacing: .05em;
    color: #fff;
}

.admin-user {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .2em;
    text-transform: uppercase;
}

.admin-content {}

/* Admin brand (sidebar logo) */
.admin-brand {
    display: flex;
    align-items: center;
    gap: .75rem;
    margin-bottom: 3rem;
    text-decoration: none;
}

.admin-brand .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--green);
    line-height: 1;
}

.admin-brand .text {
    font-family: 'Montserrat', sans-serif;
}

.admin-brand .text .top {
    display: block;
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .3em;
    text-transform: uppercase;
}

.admin-brand .text .bot {
    display: block;
    font-size: .6rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
}

/* Sidebar nav links */
.admin-nav-link {
    display: flex;
    align-items: center;
    gap: .75rem;
    padding: .75rem 1rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8125rem;
    font-weight: 500;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .4);
    border-left: 2px solid transparent;
    transition: color .3s, border-color .3s, background .3s;
    text-decoration: none;
}

.admin-nav-link:hover {
    color: #fff;
    background: rgba(255, 255, 255, .03);
}

.admin-nav-link.active {
    color: var(--green);
    border-color: var(--green);
    background: rgba(198, 215, 56, .05);
}

.admin-nav-link.logout:hover {
    color: #ef4444;
    border-color: #ef4444;
}

.admin-nav-link svg {
    width: 1rem;
    height: 1rem;
    flex-shrink: 0;
}

.admin-sidebar-footer {
    border-top: 1px solid rgba(255, 255, 255, .05);
    padding-top: 1.5rem;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: .25rem;
}

/* Admin card */
.admin-card {
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 0;
}

.admin-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.admin-card-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.25rem;
    letter-spacing: .05em;
    color: #fff;
}

/* Stat cards (dashboard) */
.stat-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: var(--black);
    border: 1px solid rgba(255, 255, 255, .05);
    padding: 1.5rem;
}

.stat-card-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(198, 215, 56, .08);
    color: var(--green);
    flex-shrink: 0;
}

.stat-card-icon svg {
    width: 1.25rem;
    height: 1.25rem;
}

.stat-card-val {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.25rem;
    color: #fff;
    line-height: 1;
}

.stat-card-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-top: .2rem;
}

/* Table */
.table-wrap {
    overflow-x: auto;
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.admin-table th {
    text-align: left;
    padding: .75rem 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.admin-table td {
    padding: .875rem 1.5rem;
    font-size: .875rem;
    color: rgba(255, 255, 255, .6);
    border-bottom: 1px solid rgba(255, 255, 255, .03);
    vertical-align: middle;
}

.admin-table tr:hover td {
    background: rgba(255, 255, 255, .02);
}

.tbl-actions {
    display: flex;
    gap: .5rem;
    align-items: center;
}

.tbl-btn {
    display: inline-flex;
    align-items: center;
    padding: .3rem .75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    font-weight: 600;
    letter-spacing: .1em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .15);
    color: rgba(255, 255, 255, .5);
    transition: border-color .3s, color .3s;
    text-decoration: none;
    background: none;
    cursor: pointer;
}

.tbl-btn:hover {
    border-color: var(--green);
    color: var(--green);
}

.tbl-btn.danger:hover {
    border-color: #ef4444;
    color: #ef4444;
}

/* Thumbnail */
.thumb-sm {
    width: 44px;
    height: 44px;
    background-size: cover;
    background-position: center;
}

.thumb-empty {
    background: rgba(255, 255, 255, .05);
}

/* Buttons */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: var(--green);
    color: var(--black);
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background .3s, transform .2s;
    text-decoration: none;
}

.btn-primary:hover {
    background: var(--green-dark);
}

.btn-primary svg {
    width: .8rem;
    height: .8rem;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: transparent;
    color: rgba(255, 255, 255, .6);
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: 1px solid rgba(255, 255, 255, .15);
    cursor: pointer;
    transition: border-color .3s, color .3s;
    text-decoration: none;
}

.btn-secondary:hover {
    border-color: rgba(255, 255, 255, .4);
    color: #fff;
}

.btn-danger {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .75rem 1.5rem;
    background: #ef4444;
    color: #fff;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 700;
    letter-spacing: .15em;
    text-transform: uppercase;
    border: none;
    cursor: pointer;
    transition: background .3s;
}

.btn-danger:hover {
    background: #dc2626;
}

/* Flash messages */
.flash-msg {
    padding: .875rem 1.25rem;
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .8125rem;
    font-weight: 500;
    border-left: 3px solid var(--green);
    background: rgba(198, 215, 56, .07);
    color: var(--green);
}

.flash-msg.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, .07);
    color: #ef4444;
}

/* Forms */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .4);
    letter-spacing: .3em;
    text-transform: uppercase;
    margin-bottom: .5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .1);
    color: var(--white);
    font-family: 'Inter', sans-serif;
    font-size: .875rem;
    padding: .75rem 1rem;
    outline: none;
    transition: border-color .3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--green);
}

.form-group select option {
    background: var(--dark1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-group input.error {
    border-color: #ef4444;
}

.form-grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-grid-4 {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    cursor: pointer;
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    color: rgba(255, 255, 255, .5);
    letter-spacing: .1em;
}

.checkbox-label input {
    width: auto;
}

/* Modal v2 */
.modal {
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, .8);
    backdrop-filter: blur(6px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity .3s;
}

.modal.open {
    opacity: 1;
    pointer-events: all;
}

.modal .modal-box {
    background: var(--dark1);
    border: 1px solid rgba(255, 255, 255, .08);
    width: 100%;
    max-width: 540px;
    max-height: 90svh;
    overflow-y: auto;
    transform: translateY(20px) scale(.97);
    transition: transform .35s cubic-bezier(.76, 0, .24, 1);
    padding: 2rem;
}

.modal.open .modal-box {
    transform: translateY(0) scale(1);
}

.modal-lg .modal-box,
.modal .modal-box.modal-lg {
    max-width: 720px;
}

.modal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.modal-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    letter-spacing: .05em;
    color: #fff;
}

.modal-close {
    color: rgba(255, 255, 255, .3);
    font-size: 1.1rem;
    line-height: 1;
    cursor: pointer;
    transition: color .3s;
    background: none;
    border: none;
}

.modal-close:hover {
    color: #fff;
}

.modal-actions {
    display: flex;
    gap: .75rem;
    justify-content: flex-end;
    margin-top: 1.5rem;
}

/* Image preview grid */
.preview-grid {
    display: flex;
    flex-wrap: wrap;
    gap: .5rem;
    margin-top: .75rem;
}

.preview-thumb {
    width: 80px;
    height: 80px;
    background-size: cover;
    background-position: center;
    background-color: rgba(255, 255, 255, .06);
    position: relative;
}

.preview-remove {
    position: absolute;
    top: 2px;
    right: 2px;
    width: 18px;
    height: 18px;
    background: rgba(239, 68, 68, .9);
    color: #fff;
    font-size: .7rem;
    line-height: 1;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.is-cover::after {
    content: '★';
    position: absolute;
    bottom: 2px;
    left: 2px;
    font-size: .6rem;
    color: var(--green);
    background: rgba(0, 0, 0, .6);
    padding: 0 .2rem;
}

.upload-zone.drag {
    border-color: var(--green);
    background: rgba(198, 215, 56, .04);
}

/* ============================================
   HOME SHOWCASE — muro visual de imágenes
   ============================================ */
.home-showcase {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 3px;
}

.showcase-item {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    display: block;
    background: var(--dark1);
}

.showcase-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 1s cubic-bezier(.25, .46, .45, .94);
    display: block;
}

.showcase-item:hover img {
    transform: scale(1.07);
}

/* ============================================
   HOME PAGES STRIP — links a secciones
   ============================================ */
.home-pages-strip {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.home-page-link {
    display: flex;
    align-items: center;
    gap: 1.25rem;
    padding: 2rem 2.5rem;
    border-right: 1px solid rgba(255, 255, 255, .07);
    transition: background .3s;
}

.home-page-link:last-child {
    border-right: none;
}

.home-page-link:hover {
    background: rgba(198, 215, 56, .04);
}

.hpl-num {
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    color: rgba(198, 215, 56, .5);
    letter-spacing: .3em;
    flex-shrink: 0;
}

.hpl-lbl {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.8rem;
    color: rgba(255, 255, 255, .7);
    letter-spacing: .06em;
    flex: 1;
    transition: color .3s, transform .3s;
}

.home-page-link:hover .hpl-lbl {
    color: #fff;
    transform: translateX(4px);
}

.hpl-arrow {
    width: 14px;
    height: 14px;
    opacity: .4;
    flex-shrink: 0;
    transition: opacity .3s, transform .3s;
}

.home-page-link:hover .hpl-arrow {
    opacity: 1;
    transform: translate(3px, -3px);
}

/* ============================================
   PAGE HEADER — cabecera de páginas internas
   ============================================ */
.page-header {
    padding: 140px 0 70px;
    border-bottom: 1px solid rgba(255, 255, 255, .07);
}

.page-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.page-header-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3.5rem, 8vw, 8rem);
    line-height: .95;
    letter-spacing: .02em;
    margin: .75rem 0 1.25rem;
    color: var(--white);
}

.page-header-desc {
    font-size: 1rem;
    color: rgba(255, 255, 255, .5);
    max-width: 520px;
    line-height: 1.7;
}

/* ============================================
   PAGE CTA STRIP — llamada a acción de página
   ============================================ */
.page-cta-strip {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 2rem;
    padding: 3rem 3rem;
    max-width: 1400px;
    margin: 0 auto;
    border-top: 1px solid rgba(255, 255, 255, .07);
}

.page-cta-strip span {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.6rem;
    letter-spacing: .04em;
    color: rgba(255, 255, 255, .6);
}

/* ============================================
   NOSOTROS — contenido de la página nosotros
   ============================================ */
.nosotros-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: start;
}

.nosotros-desc-block {
    max-width: 52rem;
    margin-top: 2.5rem;
}

.nosotros-values-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3.5rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, .08);
}

.nosotros-body {
    color: rgba(255, 255, 255, .55);
    line-height: 1.8;
    margin-top: 1.25rem;
    font-size: .95rem;
}

.nosotros-values {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.value-item {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}

.value-icon {
    width: 48px;
    height: 48px;
    border: 1px solid rgba(198, 215, 56, .25);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    grid-row: span 2;
}

.value-icon svg {
    width: 20px;
    height: 20px;
    stroke: var(--green);
}

.value-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .85rem;
    letter-spacing: .1em;
    text-transform: uppercase;
    color: var(--white);
    align-self: end;
}

.value-item p {
    font-size: .85rem;
    color: rgba(255, 255, 255, .45);
    line-height: 1.6;
    align-self: start;
}

/* ============================================
   RESPONSIVE — home showcase + pages strip
   ============================================ */
@media (max-width: 900px) {
    .home-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .home-pages-strip {
        grid-template-columns: 1fr;
    }

    .home-page-link {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }

    .nosotros-content {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nosotros-values-row {
        grid-template-columns: 1fr;
    }

    .page-cta-strip {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 540px) {
    .home-showcase {
        grid-template-columns: repeat(2, 1fr);
    }

    .showcase-item {
        aspect-ratio: 1 / 1;
    }

    .page-header {
        padding: 120px 0 50px;
    }

    .page-header-inner {
        padding: 0 1.5rem;
    }
}

/* Admin Login page */
.admin-login-page {
    background: var(--black) !important;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100svh;
}

.login-wrap {
    width: 100%;
    max-width: 420px;
    padding: 2rem;
}

.login-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2.5rem;
    justify-content: center;
}

.login-logo .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: var(--green);
    line-height: 1;
}

.login-logo .text .top {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    letter-spacing: .4em;
    text-transform: uppercase;
}

.login-logo .text .bot {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .7rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
}

.login-form {
    background: var(--dark1);
    border: 1px solid rgba(255, 255, 255, .07);
    padding: 2rem;
}

.login-back {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .1em;
    transition: color .3s;
}

.login-back:hover {
    color: var(--green);
}

/* Nav logo (public site) */
.nav-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
}

.nav-logo .nav-logo-num {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--green);
    line-height: 1;
}

.nav-logo .nav-logo-text .top {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .7rem;
    letter-spacing: .35em;
    text-transform: uppercase;
}

.nav-logo .nav-logo-text .bot {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .6rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .35);
}

/* Footer logo */
.footer-logo {
    display: flex;
    align-items: center;
    gap: .75rem;
    text-decoration: none;
    margin-bottom: 1rem;
}

.footer-logo .num {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--green);
    line-height: 1;
}

.footer-logo .text .top {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: .75rem;
    letter-spacing: .35em;
    text-transform: uppercase;
}

.footer-logo .text .bot {
    display: block;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    letter-spacing: .25em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .3);
}

/* ═══════════════════════════════════════════
   PROJECT DETAIL — diseño igual que React
   ═══════════════════════════════════════════ */

/* Botón VOLVER fijo */
.proj-back-btn {
    position: fixed;
    top: 5rem;
    left: 1.5rem;
    z-index: 40;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .5);
    text-decoration: none;
    letter-spacing: .3em;
    text-transform: uppercase;
    transition: color .3s;
}

.proj-back-btn:hover {
    color: var(--white);
}

.proj-back-btn .back-line {
    width: 2rem;
    height: 1px;
    background: rgba(255, 255, 255, .3);
    transition: width .3s, background .3s;
    display: block;
}

.proj-back-btn:hover .back-line {
    width: 3rem;
    background: var(--white);
}

@media (min-width: 1024px) {
    .proj-back-btn {
        left: 3rem;
    }
}

/* Hero */
.project-hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 600px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: flex-end;
}

/* Placeholder cuando no hay imagen */
.proj-hero-placeholder {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2a2a2a 60%, #1a1f0d 100%);
}

.proj-hero-grid {
    position: absolute;
    inset: 0;
    opacity: .1;
    background-image:
        linear-gradient(rgba(198, 215, 56, .3) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 215, 56, .3) 1px, transparent 1px);
    background-size: 80px 80px;
}

.project-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black) 0%, rgba(17, 17, 17, .4) 60%, transparent 100%);
}

.project-hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 5% 6rem;
}

.project-cat-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.cat-line {
    width: 2rem;
    height: 1px;
    background: var(--green);
    display: block;
}

.project-cat-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .75rem;
    color: var(--green);
    letter-spacing: .4em;
    text-transform: uppercase;
}

.project-title-wrap {
    overflow: hidden;
}

.project-hero-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(3rem, 9vw, 9rem);
    letter-spacing: .05em;
    line-height: .9;
    color: #fff;
}

.project-hero-title .anim-word {
    display: inline-block;
    margin-right: .25em;
}

/* Contenido principal */
.proj-detail-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 5rem 5%;
    background: var(--black);
}

/* Grid 4 columnas meta */
.proj-detail-meta-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
    padding-bottom: 5rem;
    margin-bottom: 5rem;
    border-bottom: 1px solid rgba(255, 255, 255, .05);
}

.proj-detail-meta-label {
    display: flex;
    align-items: center;
    gap: .5rem;
    margin-bottom: .5rem;
}

.proj-detail-meta-label svg {
    width: .875rem;
    height: .875rem;
    stroke: var(--green);
    flex-shrink: 0;
}

.proj-detail-meta-label span {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.proj-detail-meta-value {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.25rem;
    color: var(--white);
    letter-spacing: .05em;
}

/* Descripción + servicios */
.proj-detail-body {
    display: grid;
    grid-template-columns: 1fr;
    gap: 4rem;
    margin-bottom: 6rem;
}

.proj-detail-desc-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 2.5rem;
    color: var(--white);
    letter-spacing: .05em;
    margin-bottom: 1.5rem;
}

.proj-detail-desc-text {
    font-size: 1.125rem;
    line-height: 1.8;
    color: rgba(255, 255, 255, .6);
}

.proj-detail-services-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: var(--green);
    letter-spacing: .4em;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.proj-service-tags {
    display: flex;
    flex-wrap: wrap;
    gap: .75rem;
}

.proj-service-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, .1);
    padding: .5rem 1rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}

/* Galería placeholder */
.proj-gallery-placeholder {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-bottom: 6rem;
}

.proj-gallery-item {
    aspect-ratio: 27 / 16;
    background: var(--dark1);
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, .05);
}

.proj-gallery-item span {
    font-family: 'Bebas Neue', cursive;
    font-size: 3rem;
    color: rgba(255, 255, 255, .05);
}

/* Swiper proyecto */
.project-swiper {
    width: 100%;
    margin-bottom: 6rem;
}

.project-swiper .swiper-slide img {
    width: 100%;
    height: auto;
    /* Igual que las imágenes (3240x1920) para que se vean completas */
    aspect-ratio: 27 / 16;
    object-fit: cover;
    display: block;
}

.project-swiper .swiper-button-next,
.project-swiper .swiper-button-prev {
    color: var(--green);
}

.project-swiper .swiper-pagination-bullet-active {
    background: var(--green);
}

/* Proyectos relacionados */
.proj-related-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2.5rem;
}

.proj-related-head h3 {
    font-family: 'Bebas Neue', cursive;
    font-size: 2rem;
    color: var(--white);
    letter-spacing: .05em;
}

.proj-related-head a {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(255, 255, 255, .4);
    text-transform: uppercase;
    letter-spacing: .3em;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: .5rem;
    transition: color .3s;
}

.proj-related-head a:hover {
    color: var(--white);
}

.view-all-line {
    width: 1rem;
    height: 1px;
    background: currentColor;
    transition: width .3s;
    display: inline-block;
    vertical-align: middle;
}

.proj-related-head a:hover .view-all-line {
    width: 2rem;
}

.proj-related-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.proj-related-card {
    position: relative;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: var(--dark1);
    display: block;
    text-decoration: none;
}

.proj-related-card-3p {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.proj-related-card-3p span {
    font-family: 'Bebas Neue', cursive;
    font-size: 4rem;
    color: rgba(255, 255, 255, .05);
}

.proj-related-card-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--black) 0%, rgba(17, 17, 17, .4) 60%, transparent 100%);
    opacity: .6;
    transition: opacity .3s;
}

.proj-related-card:hover .proj-related-card-overlay {
    opacity: .9;
}

.proj-related-card-img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform .7s cubic-bezier(.76, 0, .24, 1);
}

.proj-related-card:hover .proj-related-card-img {
    transform: scale(1.06);
}

.proj-related-card-content {
    position: absolute;
    bottom: 1.5rem;
    left: 1.5rem;
    right: 1.5rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.proj-related-client {
    font-family: 'Montserrat', sans-serif;
    font-size: .625rem;
    color: rgba(198, 215, 56, .7);
    letter-spacing: .4em;
    text-transform: uppercase;
    margin-bottom: .25rem;
    display: block;
}

.proj-related-title {
    font-family: 'Bebas Neue', cursive;
    font-size: 1.5rem;
    color: var(--white);
    letter-spacing: .05em;
    transition: color .3s;
}

.proj-related-card:hover .proj-related-title {
    color: var(--green);
}

.proj-related-arrow {
    width: 2rem;
    height: 2rem;
    border: 1px solid rgba(255, 255, 255, .2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, .4);
    flex-shrink: 0;
    transition: border-color .3s, color .3s;
}

.proj-related-card:hover .proj-related-arrow {
    border-color: var(--green);
    color: var(--green);
}

.proj-related-arrow svg {
    width: .875rem;
    height: .875rem;
}

/* Responsive proyecto detail */
@media (max-width: 900px) {
    .proj-detail-meta-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .proj-detail-body {
        grid-template-columns: 1fr;
    }

    .proj-gallery-placeholder {
        grid-template-columns: repeat(2, 1fr);
    }

    .proj-related-grid {
        grid-template-columns: 1fr;
    }

    .projs-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

@media (max-width: 600px) {
    .proj-detail-meta-grid {
        grid-template-columns: 1fr 1fr;
    }

    .proj-gallery-placeholder {
        grid-template-columns: 1fr 1fr;
    }
}

/* Media queries para stats y formulario (responsivo) */
@media (max-width: 900px) {
    .stat-cards {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .form-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .stat-cards {
        grid-template-columns: 1fr 1fr;
    }

    .form-row {
        grid-template-columns: 1fr;
    }
}

/* ============================================================
   NOSOTROS — MANIFIESTO
   ============================================================ */
.manifiesto-block {
    max-width: 56rem;
    margin: 0 auto;
}

.manifiesto-intro {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(1rem, 1.4vw, 1.15rem);
    font-weight: 400;
    color: rgba(255, 255, 255, .7);
    line-height: 1.8;
    margin-bottom: 1.25rem;
}

.manifiesto-lines {
    margin-top: 3rem;
    display: flex;
    flex-direction: column;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .1);
}

.manifiesto-line {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 1.75rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
    transition: padding-left .3s ease;
}

.manifiesto-line:hover {
    padding-left: 1rem;
}

.manifiesto-num {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1rem;
    color: var(--green);
    letter-spacing: .1em;
    flex-shrink: 0;
    width: 2rem;
}

.manifiesto-text {
    font-family: 'Bebas Neue', sans-serif;
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    color: #fff;
    letter-spacing: .04em;
}

/* ============================================================
   NOSOTROS — CATEGORÍAS
   ============================================================ */
.categorias-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: 1.25rem;
    margin-top: 2.5rem;
}

.categoria-card {
    background: rgba(255, 255, 255, .04);
    border: 1px solid rgba(255, 255, 255, .08);
    border-radius: .75rem;
    padding: 2rem 1.25rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    transition: background .25s ease, border-color .25s ease, transform .25s ease;
}

.categoria-card:hover {
    background: rgba(198, 215, 56, .08);
    border-color: rgba(198, 215, 56, .3);
    transform: translateY(-4px);
}

.categoria-icon {
    width: 2.75rem;
    height: 2.75rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.categoria-icon svg {
    width: 100%;
    height: 100%;
    stroke: var(--green);
}

.categoria-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .85);
}

/* ============================================================
   NOSOTROS — REDESIGN (MINIMALISTA)
   ============================================================ */

/* — HERO — */
.nos-hero {
    padding: 160px 0 0;
}

.nos-hero-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem 5rem;
}

.nos-hero-tag {
    margin-bottom: 2.5rem;
}

.nos-hero-tag span {
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    letter-spacing: .4em;
    text-transform: uppercase;
    color: var(--green);
    display: flex;
    align-items: center;
    gap: .85rem;
}

.nos-hero-tag span::before {
    content: '';
    display: block;
    width: 2rem;
    height: 1px;
    background: var(--green);
}

.nos-hero-title {
    display: flex;
    flex-direction: column;
    gap: .15em;
    margin-bottom: 4rem;
}

.nos-hero-line {
    display: block;
    overflow: hidden;
    line-height: 1;
}

.nos-hero-line .inner {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.8rem, 5.5vw, 6rem);
    letter-spacing: .02em;
    color: var(--white);
    display: block;
}

.nos-hero-line-accent {
    color: rgba(255, 255, 255, .25) !important;
}

.nos-hero-meta {
    display: flex;
    gap: 0;
    border-top: 1px solid rgba(255, 255, 255, .07);
    padding-top: 2.5rem;
}

.nos-hero-meta-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: .35rem;
    padding-right: 2rem;
    border-right: 1px solid rgba(255, 255, 255, .07);
}

.nos-hero-meta-item:last-child {
    border-right: none;
    padding-right: 0;
    padding-left: 2rem;
}

.nos-hero-meta-item:not(:first-child):not(:last-child) {
    padding-left: 2rem;
}

.nos-hero-meta-num {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2rem, 4vw, 3.25rem);
    color: var(--white);
    letter-spacing: .03em;
    line-height: 1;
}

.nos-hero-meta-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .3em;
    text-transform: uppercase;
}

.nos-hero-divider {
    height: 1px;
    background: rgba(255, 255, 255, .07);
}

/* — TEAM IMAGE — */
.nos-team-section {
    padding: 5rem 0;
    background: #0e0e0e;
}

.nos-team-wrap {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 3rem;
}

.nos-team-figure {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 7;
    overflow: hidden;
    background: #1a1a1a;
    margin: 0;
}

.nos-team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center top;
    display: block;
    transition: transform .8s cubic-bezier(.76, 0, .24, 1);
}

.nos-team-figure:hover .nos-team-img {
    transform: scale(1.03);
}

.nos-team-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #222 50%, #1a1f0a 100%);
    position: relative;
}

.nos-team-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(198, 215, 56, .04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(198, 215, 56, .04) 1px, transparent 1px);
    background-size: 60px 60px;
}

.nos-team-placeholder-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    position: relative;
    z-index: 1;
    pointer-events: none;
}

.nos-team-placeholder-num {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(8rem, 20vw, 18rem);
    color: rgba(198, 215, 56, .06);
    line-height: 1;
}

.nos-team-placeholder-label {
    font-family: 'Montserrat', sans-serif;
    font-size: .65rem;
    letter-spacing: .5em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, .15);
}

.nos-team-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(14, 14, 14, .7) 0%, transparent 50%);
    pointer-events: none;
}

.nos-team-caption {
    position: absolute;
    bottom: 2rem;
    left: 2rem;
    right: 2rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    pointer-events: none;
}

.nos-team-caption-tag {
    font-family: 'Montserrat', sans-serif;
    font-size: .6rem;
    color: var(--green);
    letter-spacing: .4em;
    text-transform: uppercase;
}

.nos-team-caption-text {
    font-family: 'Montserrat', sans-serif;
    font-size: .6rem;
    color: rgba(255, 255, 255, .3);
    letter-spacing: .2em;
}

/* — ABOUT — */
.nos-about-inner {
    display: grid;
    grid-template-columns: 1fr 1.4fr;
    gap: 7rem;
    align-items: start;
}

.nos-about-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2.5rem, 4vw, 4rem);
    line-height: 1;
    letter-spacing: .04em;
    color: var(--white);
    margin-top: 1.5rem;
}

.nos-about-body {
    font-size: .95rem;
    line-height: 1.85;
    color: rgba(255, 255, 255, .5);
    margin-bottom: 1.25rem;
}

.nos-about-body:last-child {
    margin-bottom: 0;
}

.nos-about-divider {
    width: 3rem;
    height: 1px;
    background: rgba(198, 215, 56, .4);
    margin: 2rem 0;
}

/* — VALUES — */
.nos-values-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0;
    margin-top: 3rem;
}

.nos-value-card {
    padding: 3rem 2.5rem;
    border: 1px solid rgba(255, 255, 255, .07);
    border-left: none;
    border-top: none;
    border-bottom: none;
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    transition: background .3s;
}

.nos-value-card:first-child {
    border-left: 1px solid rgba(255, 255, 255, .07);
}

.nos-value-card:hover {
    background: rgba(198, 215, 56, .04);
}

.nos-value-num {
    font-family: 'Bebas Neue', cursive;
    font-size: .9rem;
    color: var(--green);
    letter-spacing: .1em;
}

.nos-value-icon {
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.nos-value-icon svg {
    width: 100%;
    height: 100%;
    stroke: rgba(255, 255, 255, .2);
    transition: stroke .3s;
}

.nos-value-card:hover .nos-value-icon svg {
    stroke: var(--green);
}

.nos-value-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: .8rem;
    letter-spacing: .15em;
    text-transform: uppercase;
    color: var(--white);
    margin-top: auto;
}

.nos-value-desc {
    font-size: .85rem;
    color: rgba(255, 255, 255, .4);
    line-height: 1.7;
}

/* — MANIFIESTO HEAD — */
.nos-manifiesto-head {
    margin-bottom: 3rem;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 2rem;
    flex-wrap: wrap;
}

.nos-manifiesto-title {
    font-family: 'Bebas Neue', cursive;
    font-size: clamp(2rem, 4vw, 3.5rem);
    letter-spacing: .04em;
    color: var(--white);
    line-height: 1;
}

/* — RESPONSIVE — */
@media (max-width: 900px) {
    .nos-about-inner {
        grid-template-columns: 1fr;
        gap: 3rem;
    }

    .nos-values-grid {
        grid-template-columns: 1fr;
    }

    .nos-value-card {
        border-left: 1px solid rgba(255, 255, 255, .07);
        border-top: 1px solid rgba(255, 255, 255, .07);
    }

    .nos-hero-meta {
        flex-wrap: wrap;
    }

    .nos-hero-meta-item {
        flex: 0 0 50%;
        padding: 0 1.5rem 1.5rem 0;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, .07);
    }

    .nos-hero-meta-item:last-child,
    .nos-hero-meta-item:not(:first-child):not(:last-child) {
        padding-left: 0;
    }

    .nos-team-figure {
        aspect-ratio: 4 / 3;
    }
}

@media (max-width: 540px) {
    .nos-hero-inner {
        padding: 0 1.5rem 4rem;
    }

    .nos-team-wrap {
        padding: 0 1.5rem;
    }

    .nos-team-figure {
        aspect-ratio: 3 / 2;
    }

    .nos-team-caption {
        flex-direction: column;
        align-items: flex-start;
        gap: .25rem;
    }

    .nos-manifiesto-head {
        flex-direction: column;
        align-items: flex-start;
    }
}

/* ============================================================
   WHATSAPP FLOATING BUTTON
   ============================================================ */
#whatsapp-float {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.25rem;
    height: 3.25rem;
    background: #25D366;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37, 211, 102, .45);
    z-index: 9998;
    text-decoration: none;
    transition: transform .25s cubic-bezier(.22, 1, .36, 1), box-shadow .25s ease;
}

#whatsapp-float:hover {
    transform: scale(1.12);
    box-shadow: 0 6px 30px rgba(37, 211, 102, .65);
}

#whatsapp-float svg {
    width: 1.65rem;
    height: 1.65rem;
    fill: #fff;
    flex-shrink: 0;
}

.wa-tooltip {
    position: absolute;
    right: calc(100% + .65rem);
    top: 50%;
    transform: translateY(-50%);
    background: #fff;
    color: #111;
    font-family: 'Montserrat', sans-serif;
    font-size: .72rem;
    font-weight: 600;
    line-height: 1.45;
    padding: .5rem .8rem;
    border-radius: .5rem;
    white-space: nowrap;
    box-shadow: 0 4px 18px rgba(0, 0, 0, .15);
    opacity: 0;
    pointer-events: none;
    transition: opacity .2s ease;
}

.wa-tooltip::after {
    content: '';
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: #fff;
}

#whatsapp-float:hover .wa-tooltip {
    opacity: 1;
}

/* ============================================================
   RESPONSIVE OVERRIDES (FINAL)
   ============================================================ */
/* Keep native pointer on admin login page. */
body.admin-login-page,
body.admin-login-page * {
    cursor: auto !important;
}

.mobile-logout-fab {
    display: none;
}

/* Touch devices: disable custom cursor artifacts. */
@media (hover: none),
(pointer: coarse) {

    body,
    a,
    button,
    input,
    select,
    textarea,
    label {
        cursor: auto !important;
    }

    .cursor,
    .cursor-follower {
        display: none !important;
    }
}

@media (max-width: 640px) {
    .admin-layout {
        display: block;
    }

    .admin-sidebar {
        display: flex !important;
        flex-direction: column;
        position: fixed;
        left: 0;
        right: 0;
        top: auto;
        bottom: 0;
        width: 100%;
        height: auto;
        padding: .5rem .5rem calc(.5rem + env(safe-area-inset-bottom));
        border-right: 0;
        border-bottom: 0;
        border-top: 1px solid rgba(255, 255, 255, .08);
        overflow: hidden;
        z-index: 120;
        background: rgba(17, 17, 17, .96);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
    }

    .admin-brand {
        display: none;
    }

    .admin-nav {
        display: grid;
        grid-template-columns: repeat(4, minmax(0, 1fr));
        gap: .25rem;
        overflow: visible;
        padding-bottom: 0;
        flex: 0 0 auto;
    }

    .admin-nav-link {
        white-space: normal;
        border-left: 0;
        border-bottom: 0;
        border-radius: .7rem;
        min-height: 58px;
        padding: .35rem .2rem;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        gap: .3rem;
        text-align: center;
        font-size: .54rem;
        line-height: 1.05;
        letter-spacing: .06em;
    }

    .admin-nav-link.active {
        border-left: 0;
        border-bottom-color: transparent;
        background: rgba(198, 215, 56, .12);
    }

    .admin-nav-link svg {
        width: 1.05rem;
        height: 1.05rem;
    }

    .admin-sidebar-footer {
        display: none;
    }

    .mobile-logout-fab {
        position: fixed;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        right: .75rem;
        bottom: calc(4.9rem + env(safe-area-inset-bottom));
        width: 2.1rem;
        height: 2.1rem;
        z-index: 140;
        border: 1px solid rgba(239, 68, 68, .35);
        border-radius: 50%;
        background: rgba(17, 17, 17, .95);
        color: #ef4444;
        box-shadow: 0 4px 14px rgba(0, 0, 0, .35);
    }

    .mobile-logout-fab svg {
        width: 1rem;
        height: 1rem;
    }

    .admin-main {
        margin-left: 0;
        padding: 1rem;
        padding-bottom: calc(6.4rem + env(safe-area-inset-bottom));
    }

    .admin-topbar {
        flex-direction: row;
        align-items: flex-start;
        gap: .35rem;
        margin-bottom: 1.25rem;
        padding-bottom: 1rem;
    }

    .admin-card-header {
        padding: 1rem;
        gap: .75rem;
        flex-wrap: wrap;
    }

    .admin-card-title {
        font-size: 1.1rem;
    }

    .stat-cards {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .table-wrap {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .admin-table {
        min-width: 620px;
    }

    .form-grid-2 {
        grid-template-columns: 1fr;
    }

    .form-grid-4 {
        grid-template-columns: repeat(2, 1fr);
    }

    .form-group {
        padding: 0 1rem .9rem;
    }

    .modal-header,
    .modal-body,
    .modal-actions {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .modal-actions {
        flex-wrap: wrap;
        justify-content: stretch;
    }

    .modal-actions .btn-primary,
    .modal-actions .btn-secondary,
    .modal-actions .btn-danger {
        justify-content: center;
        flex: 1 1 220px;
    }

    .modal-box .upload-zone,
    .modal-box .preview-grid {
        margin: 0 1rem 1rem;
    }

    #navbar {
        padding-left: 1rem;
        padding-right: 1rem;
    }

    .nav-logo-img {
        height: 4rem;
    }

    #side-trigger {
        width: 4rem;
        height: 4rem;
        right: 1rem;
    }

    #side-trigger .trigger-img {
        width: 3.4rem;
        height: 3.4rem;
    }

    #nav-hint {
        top: 2.6rem;
        left: 10rem;
        right: 5.5rem;
    }

    #nav-hint .streak {
        width: 4rem;
    }

    .section-inner {
        padding: 0 1.25rem;
    }

    #proyectos,
    #servicios,
    #nosotros,
    #contacto {
        padding: 4.5rem 0;
    }

    .projs-head {
        margin-bottom: 2rem;
    }

    .filter-tabs {
        margin-bottom: 1.5rem;
        gap: .5rem;
    }

    .filter-tab {
        font-size: .65rem;
        letter-spacing: .18em;
        padding: .45rem .75rem;
    }

    .services-grid {
        grid-template-columns: 1fr;
    }

    .service-item {
        gap: 1rem;
        padding: 1.25rem 0;
    }

    .contact-grid {
        gap: 2rem;
    }

    .footer-grid {
        gap: 2rem;
    }

    .detail-hero-content {
        padding: 2rem 1.25rem;
    }
}

@media (max-width: 480px) {
    .admin-main {
        padding: 1rem;
    }

    .admin-page-title {
        font-size: 1.6rem;
    }

    .stat-cards,
    .form-grid-4 {
        grid-template-columns: 1fr;
    }

    .btn-primary,
    .btn-secondary,
    .btn-danger {
        padding: .7rem 1rem;
        font-size: .68rem;
        letter-spacing: .12em;
    }

    .login-wrap {
        padding: .75rem;
    }

    .login-form {
        padding: 1.25rem;
    }

    .login-logo .num {
        font-size: 4rem;
    }

    .login-logo .text .top {
        font-size: .75rem;
        letter-spacing: .28em;
    }

    .masonry-grid {
        grid-template-columns: 1fr;
    }

    .hero-content {
        padding: 0 1rem;
    }

    .hero-title .word {
        font-size: clamp(2.35rem, 12vw, 3.3rem);
    }

    .btn-outline {
        letter-spacing: .18em;
    }

    footer {
        padding: 4rem 0 2rem;
    }

    #whatsapp-float {
        bottom: 1rem;
        right: 1rem;
        width: 3rem;
        height: 3rem;
    }

    #whatsapp-float svg {
        width: 1.45rem;
        height: 1.45rem;
    }
}

/* ============================================================
   GLOBAL FOOTER COMPACT
   ============================================================ */
footer {
    padding: 2.4rem 0 .95rem;
}

.footer-watermark {
    align-items: flex-end;
}

.footer-watermark span {
    font-size: 20vw;
    opacity: .014;
    transform: translateY(10%);
}

.footer-grid {
    gap: 1.35rem;
    padding-bottom: 1.15rem;
}

.footer-logo-img {
    height: 4.3rem;
}

.footer-desc {
    margin-bottom: .9rem;
    line-height: 1.5;
    font-size: .82rem;
}

.footer-col-title {
    margin-bottom: 1rem;
}

.footer-links {
    gap: .4rem;
}

.footer-links a {
    font-size: .8rem;
}

.footer-bottom {
    padding-top: .8rem;
}

@media (max-width: 1024px) {
    footer {
        padding: 2rem 0 .95rem;
    }

    .footer-grid {
        gap: 1.1rem;
        padding-bottom: 1rem;
    }

    .footer-watermark span {
        font-size: 24vw;
    }
}

@media (max-width: 640px) {
    footer {
        padding: 1.7rem 0 .85rem;
    }

    .footer-grid {
        gap: .9rem;
        padding-bottom: .9rem;
    }

    .footer-watermark span {
        font-size: 28vw;
        transform: translateY(8%);
    }

    .footer-bottom {
        padding-top: .75rem;
    }
}

/* ============================================================
   GLOBAL NATIVE POINTER (DISABLE CUSTOM CURSOR)
   ============================================================ */
html,
body,
a,
button,
input,
select,
textarea,
label,
[role="button"] {
    cursor: auto !important;
}

.cursor,
.cursor-follower {
    display: none !important;
}

body.js-cursor .form-select {
    cursor: auto !important;
}