/* ═══════════════════════════════════════════════════════════════════
   DESIGN TOKENS
═══════════════════════════════════════════════════════════════════ */
:root {
    --navy: #0f1923;
    --navy-mid: #1a2a3a;
    --navy-light: #243447;
    --accent: #f97316;
    --accent-dark: #ea6c0c;
    --white: #ffffff;
    --gray-50: #f8fafc;
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-400: #94a3b8;
    --gray-500: #64748b;
    --gray-600: #475569;
    --gray-800: #1e293b;
    --success: #22c55e;
    --font: "Segoe UI", system-ui, -apple-system, sans-serif;
    --radius: 8px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --shadow:
        0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -2px rgba(0, 0, 0, 0.1);
    --shadow-lg:
        0 10px 25px -5px rgba(0, 0, 0, 0.2), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
    --container: 1200px;
    --nav-h: 72px;
    --transition: 0.2s ease;
}
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}
html {
    scroll-behavior: smooth;
}
body {
    font-family: var(--font);
    color: var(--gray-800);
    background: var(--white);
    line-height: 1.6;
}
img {
    max-width: 100%;
    display: block;
}
a {
    color: inherit;
    text-decoration: none;
}
ul {
    list-style: none;
}
button,
select,
input {
    font-family: inherit;
}
.container {
    max-width: var(--container);
    margin: 0 auto;
    padding: 0 24px;
}

/* ── BUTTONS ─────────────────────────────────────────────────── */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    border: 2px solid transparent;
    transition: all var(--transition);
    white-space: nowrap;
}
.btn-primary {
    background: var(--accent);
    color: var(--white);
}
.btn-primary:hover {
    background: var(--accent-dark);
    transform: translateY(-1px);
    box-shadow: var(--shadow);
}
.btn-outline {
    background: transparent;
    border-color: var(--accent);
    color: var(--accent);
}
.btn-outline:hover {
    background: var(--accent);
    color: var(--white);
}
.btn-outline-white {
    background: transparent;
    border-color: rgba(255, 255, 255, 0.7);
    color: var(--white);
}
.btn-outline-white:hover {
    background: rgba(255, 255, 255, 0.15);
}
.btn-ghost {
    background: transparent;
    color: var(--gray-400);
    font-size: 0.85rem;
    padding: 8px 14px;
}
.btn-ghost:hover {
    color: var(--white);
}
.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
}
.btn-full {
    width: 100%;
    justify-content: center;
}

/* ── STATUS BADGES ────────────────────────────────────────────── */
.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.status-recibido {
    background: #dbeafe;
    color: #1d4ed8;
}
.status-en-proceso {
    background: #fef3c7;
    color: #92400e;
}
.status-cortando {
    background: #fed7aa;
    color: #c2410c;
}
.status-control-de-calidad {
    background: #e0e7ff;
    color: #3730a3;
}
.status-listo-para-entrega {
    background: #d1fae5;
    color: #065f46;
}
.status-entregado {
    background: #f0fdf4;
    color: #15803d;
    border: 1px solid #86efac;
}

/* ── NAVBAR ───────────────────────────────────────────────────── */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: var(--nav-h);
    z-index: 1000;
    background: transparent;
    transition:
        background var(--transition),
        box-shadow var(--transition);
}
.navbar.scrolled {
    background: var(--navy);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.nav-inner {
    display: flex;
    align-items: center;
    height: 100%;
    gap: 24px;
}
.logo {
    font-size: 1.6rem;
    font-weight: 800;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo-img {
    height: 40px;
    width: auto;
}
.logo-vk {
    color: var(--white);
}
.logo-cut {
    color: var(--accent);
}
.nav-links {
    display: flex;
    gap: 8px;
    flex: 1;
}
.nav-links a {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    font-weight: 500;
    padding: 8px 14px;
    border-radius: var(--radius);
    transition: all var(--transition);
}
.nav-links a:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}
.nav-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}
.nav-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--white);
    cursor: pointer;
    padding: 8px;
    margin-left: auto;
    flex-direction: column;
    gap: 5px;
}
.nav-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--white);
    border-radius: 2px;
}

/* ── HERO ─────────────────────────────────────────────────────── */
.hero {
    min-height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    background: var(--navy) url("../assets/banner.png") center/cover no-repeat;
}
@media (max-width: 768px) {
    .hero {
        min-height: auto;
        min-height: 100vh;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        background-size: cover;
        background-position: center;
        padding-top: var(--nav-h);
        padding-bottom: 40px;
    }
    .hero-overlay {
        position: absolute;
        inset: 0;
        background: linear-gradient(
            180deg,
            rgba(15, 25, 35, 0.85) 0%,
            rgba(15, 25, 35, 0.75) 50%,
            rgba(249, 115, 22, 0.2) 100%
        ) !important;
    }
    .hero-content {
        padding-top: 20px;
        padding-bottom: 20px;
    }
    .hero h1 {
        font-size: clamp(1.8rem, 8vw, 2.8rem);
    }
    .hero-sub {
        font-size: 0.95rem;
        margin-bottom: 24px;
    }
    .hero-cta {
        flex-direction: column;
        width: 100%;
        margin-bottom: 32px;
    }
    .hero-cta .btn {
        width: 100%;
        text-align: center;
        padding: 14px 20px;
    }
    .hero-stats {
        gap: 20px;
        flex-wrap: wrap;
    }
    .stat {
        min-width: 45%;
    }
    .stat-num {
        font-size: 1.5rem;
    }
    .stat span:last-child {
        font-size: 0.75rem;
    }
}
@media (max-width: 480px) {
    .hero {
        min-height: auto;
        padding-top: 80px;
        padding-bottom: 30px;
    }
    .hero h1 {
        font-size: 1.6rem;
    }
    .hero-badge {
        font-size: 0.7rem;
        padding: 4px 12px;
    }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(15, 25, 35, 0.92) 0%,
        rgba(15, 25, 35, 0.72) 60%,
        rgba(249, 115, 22, 0.15) 100%
    );
}
.hero-content {
    position: relative;
    z-index: 1;
    padding-top: var(--nav-h);
    padding-bottom: 60px;
}
.hero-badge {
    display: inline-block;
    background: rgba(249, 115, 22, 0.2);
    color: var(--accent);
    border: 1px solid rgba(249, 115, 22, 0.4);
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    margin-bottom: 20px;
}
.hero h1 {
    font-size: clamp(2.4rem, 5vw, 4.2rem);
    font-weight: 800;
    color: var(--white);
    line-height: 1.15;
    margin-bottom: 20px;
    max-width: 680px;
}
.hero h1 em {
    color: var(--accent);
    font-style: normal;
}
.hero-sub {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.75);
    max-width: 580px;
    margin-bottom: 36px;
    line-height: 1.7;
}
.hero-cta {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 56px;
}
@media (max-width: 768px) {
    .hero-cta {
        flex-direction: column;
        gap: 12px;
        margin-bottom: 32px;
    }
    .hero-cta .btn {
        flex: 1;
    }
}
.hero-stats {
    display: flex;
    gap: 40px;
    flex-wrap: wrap;
}
@media (max-width: 768px) {
    .hero-stats {
        gap: 20px 30px;
    }
    .stat {
        flex: 1 1 40%;
        min-width: 120px;
    }
}
@media (max-width: 480px) {
    .hero-stats {
        flex-direction: column;
        gap: 16px;
    }
    .stat {
        flex: 1 1 100%;
        flex-direction: row;
        align-items: center;
        gap: 10px;
    }
    .stat-num {
        font-size: 1.4rem;
    }
}
.stat {
    display: flex;
    flex-direction: column;
}
.stat-num {
    font-size: 2rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
}
.stat span:last-child {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
    margin-top: 4px;
}

/* ── SECTIONS ─────────────────────────────────────────────────── */
.section {
    padding: 96px 0;
}
@media (max-width: 768px) {
    .section {
        padding: 60px 0;
    }
    .section-header {
        text-align: center;
    }
    .section-header p {
        text-align: center;
        padding: 0 10px;
    }
}
@media (max-width: 480px) {
    .section {
        padding: 40px 0;
    }
}
.section-alt {
    background: var(--gray-50);
}
.section-dark {
    background: var(--navy);
    color: var(--white);
}
.section-header {
    text-align: center;
    margin-bottom: 60px;
}
@media (max-width: 768px) {
    .section-header {
        margin-bottom: 40px;
    }
    .section-header h2 {
        font-size: clamp(1.5rem, 5vw, 2rem);
    }
}
.section-label {
    display: inline-block;
    color: var(--accent);
    font-weight: 700;
    font-size: 0.8rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 12px;
}
.section-header h2 {
    font-size: clamp(1.8rem, 3vw, 2.6rem);
    font-weight: 800;
    color: var(--gray-800);
    margin-bottom: 16px;
}
.section-dark .section-header h2 {
    color: var(--white);
}
.section-header p {
    font-size: 1.05rem;
    color: var(--gray-500);
    max-width: 560px;
    margin: 0 auto;
}

/* ── SERVICES ─────────────────────────────────────────────────── */
/* ── SERVICES ─────────────────────────────────────────────────── */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 28px;
}
@media (max-width: 992px) {
    .services-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }
}
@media (max-width: 576px) {
    .services-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}
.service-card {
    background: var(--white);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px 28px;
    transition: all var(--transition);
    position: relative;
    overflow: hidden;
}
@media (max-width: 768px) {
    .service-card {
        padding: 24px 20px;
    }
}
@media (max-width: 480px) {
    .service-card {
        padding: 20px 16px;
    }
}
.service-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--accent);
    transform: scaleX(0);
    transition: transform var(--transition);
}
.service-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}
.service-card:hover::before {
    transform: scaleX(1);
}
.service-icon {
    width: 52px;
    height: 52px;
    background: rgba(249, 115, 22, 0.1);
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    margin-bottom: 20px;
}
.service-card h3 {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 10px;
}
.service-card p {
    font-size: 0.9rem;
    color: var(--gray-500);
    line-height: 1.7;
}

/* ── GALLERY ──────────────────────────────────────────────────── */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: repeat(2, 280px);
    gap: 16px;
    border-radius: var(--radius-xl);
    overflow: hidden;
}
.gallery-item {
    position: relative;
    overflow: hidden;
}
.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}
.gallery-item:hover img {
    transform: scale(1.06);
}
.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px 16px 14px;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.7));
    color: var(--white);
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0;
    transition: opacity var(--transition);
}
.gallery-item:hover .gallery-caption {
    opacity: 1;
}

/* ── ABOUT ────────────────────────────────────────────────────── */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 64px;
    align-items: center;
}
.about-content h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 20px;
}
.about-content p {
    color: var(--gray-500);
    line-height: 1.8;
    margin-bottom: 28px;
}
.about-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}
.about-list li {
    display: flex;
    gap: 14px;
    align-items: flex-start;
}
.check {
    width: 24px;
    height: 24px;
    background: rgba(249, 115, 22, 0.15);
    color: var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    flex-shrink: 0;
    margin-top: 2px;
}
.about-list span {
    font-size: 0.95rem;
    color: var(--gray-600);
    line-height: 1.6;
}
.about-img-wrap {
    border-radius: var(--radius-xl);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    aspect-ratio: 4/3;
}
@media (max-width: 768px) {
    .about-img-wrap {
        height: 280px;
    }
}
@media (max-width: 480px) {
    .about-img-wrap {
        height: 220px;
    }
}
@media (min-width: 992px) {
    .about-img-wrap {
        height: 480px;
        aspect-ratio: auto;
    }
}
.about-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* ── GALLERY ──────────────────────────────────────────────────── */
@media (max-width: 768px) {
    .gallery-grid {
        grid-template-columns: 1fr !important;
        grid-template-rows: auto !important;
        gap: 16px;
    }
    .gallery-item {
        height: 250px;
    }
}

/* ── PROCESS ──────────────────────────────────────────────────── */
.process-steps {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 0;
    position: relative;
}
@media (max-width: 1200px) {
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 20px;
    }
    .process-steps::before {
        display: none;
    }
    .process-step {
        padding: 20px;
        background: var(--gray-50);
        border-radius: var(--radius);
        border: 1px solid var(--gray-200);
    }
}
@media (max-width: 768px) {
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }
}
@media (max-width: 480px) {
    .process-steps {
        grid-template-columns: 1fr;
    }
}
.process-steps::before {
    content: "";
    position: absolute;
    top: 28px;
    left: calc(100% / 12);
    right: calc(100% / 12);
    height: 2px;
    background: var(--gray-200);
    z-index: 0;
}
.process-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 0 8px;
    position: relative;
    z-index: 1;
}
.step-num {
    width: 56px;
    height: 56px;
    background: var(--white);
    border: 3px solid var(--accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--accent);
    margin-bottom: 14px;
    box-shadow: 0 0 0 6px rgba(249, 115, 22, 0.1);
}
.process-step h4 {
    font-size: 0.85rem;
    font-weight: 700;
    margin-bottom: 6px;
}
.process-step p {
    font-size: 0.78rem;
    color: var(--gray-500);
    line-height: 1.5;
}

/* ── TESTIMONIALS ─────────────────────────────────────────────── */
/* ── TESTIMONIALS CAROUSEL ───────────────────────────────────── */
.testimonials-carousel {
    position: relative;
    overflow: hidden;
    padding: 0 40px;
}
.testimonials-track {
    display: flex;
    transition: transform 0.5s ease;
    gap: 24px;
}
.testimonial-card {
    flex: 0 0 100%;
    max-width: 100%;
    padding: 32px;
    min-height: 260px;
}
@media (min-width: 768px) {
    .testimonial-card {
        flex: 0 0 calc(50% - 12px);
        max-width: calc(50% - 12px);
    }
}
@media (min-width: 1024px) {
    .testimonial-card {
        flex: 0 0 calc(33.333% - 16px);
        max-width: calc(33.333% - 16px);
    }
}
.carousel-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 32px;
}
.carousel-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--white);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}
.carousel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
}
.carousel-dots {
    display: flex;
    gap: 8px;
}
.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    border: none;
    cursor: pointer;
    transition: all var(--transition);
}
.carousel-dot.active {
    background: var(--accent);
    transform: scale(1.2);
}
@media (max-width: 768px) {
    .testimonials-carousel {
        padding: 0;
    }
    .testimonial-card {
        flex: 0 0 100%;
        max-width: 100%;
        padding: 24px 16px;
    }
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 20px;
    }
}
.testimonial-card {
    background: var(--navy-light);
    border-radius: var(--radius-lg);
    padding: 40px 32px;
    border: 1px solid rgba(255, 255, 255, 0.06);
    min-height: 260px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}
@media (max-width: 768px) {
    .testimonial-card {
        padding: 24px 20px;
    }
}
.stars {
    color: var(--accent);
    font-size: 1.1rem;
    margin-bottom: 16px;
    letter-spacing: 2px;
}
.quote {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
    line-height: 1.75;
    margin-bottom: 24px;
    font-style: italic;
}
.reviewer {
    display: flex;
    align-items: center;
    gap: 14px;
}
.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--accent), var(--accent-dark));
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    color: var(--white);
    font-size: 0.9rem;
    flex-shrink: 0;
}
.reviewer-info strong {
    display: block;
    color: var(--white);
    font-size: 0.9rem;
}
.reviewer-info span {
    font-size: 0.8rem;
    color: var(--gray-400);
}

/* ── CONTACT ──────────────────────────────────────────────────── */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}
@media (max-width: 992px) {
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    .contact-cta > div {
        justify-content: center;
    }
    .contact-details {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    .contact-item {
        flex: 1 1 45%;
        min-width: 200px;
        justify-content: center;
        text-align: left;
    }
}
@media (max-width: 576px) {
    .contact-item {
        flex: 1 1 100%;
    }
}
.contact-cta h2 {
    font-size: clamp(1.8rem, 3vw, 2.4rem);
    font-weight: 800;
    margin-bottom: 16px;
}
.contact-cta p {
    color: var(--gray-500);
    margin-bottom: 32px;
    line-height: 1.7;
}
.contact-details {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.contact-item {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px 20px;
}
.contact-icon {
    font-size: 1.3rem;
    width: 40px;
    text-align: center;
    flex-shrink: 0;
}
.contact-item strong {
    display: block;
    font-size: 0.85rem;
    color: var(--gray-500);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-bottom: 2px;
}
.contact-item span {
    font-size: 0.95rem;
    color: var(--gray-800);
}

/* ── CONTACT FORM ─────────────────────────────────────────────── */
.contact-form-wrap {
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius-lg);
    padding: 32px;
}
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}
.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}
@media (max-width: 576px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}
.contact-form .form-group {
    margin-bottom: 0;
}
.contact-form label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 8px;
}
.contact-form input,
.contact-form textarea {
    width: 100%;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
    font-family: inherit;
}
.contact-form input:focus,
.contact-form textarea:focus {
    border-color: var(--accent);
}
.contact-form textarea {
    resize: vertical;
    min-height: 120px;
}
.contact-form .btn-full {
    margin-top: 8px;
}

/* ── FOOTER ───────────────────────────────────────────────────── */
footer {
    background: var(--navy);
    padding: 40px 0;
    text-align: center;
}
@media (max-width: 768px) {
    footer {
        padding: 30px 20px;
    }
    .footer-links {
        flex-direction: column;
        gap: 12px;
    }
}
.footer-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
footer p {
    color: var(--gray-400);
    font-size: 0.85rem;
}
.footer-links {
    display: flex;
    gap: 20px;
}
.footer-links a {
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: color var(--transition);
}
.footer-links a:hover {
    color: var(--accent);
}

/* ── AUTH CARDS ───────────────────────────────────────────────── */
.auth-page {
    min-height: 100vh;
    background: linear-gradient(135deg, var(--navy) 0%, var(--navy-mid) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    position: relative;
}
.auth-page::before {
    content: "";
    position: absolute;
    inset: 0;
    background: url("../assets/banner.png") center/cover;
    opacity: 0.07;
}
.auth-card {
    background: var(--white);
    border-radius: var(--radius-xl);
    padding: 44px 40px;
    width: 100%;
    max-width: 440px;
    box-shadow: var(--shadow-lg);
    position: relative;
    z-index: 1;
}
.auth-logo {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 8px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}
.auth-logo .logo-img {
    height: 36px;
    width: auto;
}
.auth-logo .logo-vk {
    color: var(--navy);
}
.auth-logo .logo-cut {
    color: var(--accent);
}
.auth-subtitle {
    text-align: center;
    color: var(--gray-500);
    font-size: 0.9rem;
    margin-bottom: 32px;
}
.form-group {
    margin-bottom: 18px;
}
.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--gray-600);
    margin-bottom: 7px;
}
.form-group input {
    width: 100%;
    border: 2px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 11px 14px;
    font-size: 0.95rem;
    transition: border-color var(--transition);
    outline: none;
}
.form-group input:focus {
    border-color: var(--accent);
}
.auth-error {
    background: #fee2e2;
    color: #dc2626;
    border-radius: var(--radius);
    padding: 12px 16px;
    font-size: 0.875rem;
    margin-bottom: 18px;
    text-align: center;
}
.demo-box {
    margin-top: 24px;
    background: var(--gray-50);
    border: 1px solid var(--gray-200);
    border-radius: var(--radius);
    padding: 16px;
}
.demo-box h4 {
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-500);
    margin-bottom: 12px;
}
.demo-cred {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 12px;
    border-radius: 6px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    margin-bottom: 7px;
    font-size: 0.85rem;
}
.demo-cred:last-child {
    margin-bottom: 0;
}
.demo-cred span {
    color: var(--gray-500);
}
.demo-cred code {
    background: rgba(249, 115, 22, 0.1);
    color: var(--accent-dark);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
}
.back-link {
    display: block;
    text-align: center;
    margin-top: 20px;
    color: var(--gray-400);
    font-size: 0.85rem;
    transition: color var(--transition);
}
.back-link:hover {
    color: var(--accent);
}
.auth-divider {
    display: flex;
    align-items: center;
    gap: 12px;
    margin: 20px 0;
}
.auth-divider::before,
.auth-divider::after {
    content: "";
    flex: 1;
    height: 1px;
    background: var(--gray-200);
}
.auth-divider span {
    font-size: 0.8rem;
    color: var(--gray-400);
    white-space: nowrap;
}

/* ── PORTAL DASHBOARD ─────────────────────────────────────────── */
.portal-header {
    background: var(--navy);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.3);
}
.portal-header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
    padding: 0 28px;
}
.portal-welcome {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}
.portal-welcome strong {
    color: var(--white);
}
.portal-body {
    background: var(--gray-100);
    min-height: calc(100vh - 64px);
    padding: 40px 28px;
}
.portal-title {
    font-size: 1.6rem;
    font-weight: 800;
    margin-bottom: 6px;
}
.portal-meta {
    font-size: 0.9rem;
    color: var(--gray-500);
    margin-bottom: 32px;
}
.client-info-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 20px 24px;
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 32px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
}
.client-avatar {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy), var(--navy-mid));
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--white);
    flex-shrink: 0;
    border: 3px solid var(--accent);
}
.client-info-text h3 {
    font-size: 1rem;
    font-weight: 700;
}
.client-info-text span {
    font-size: 0.85rem;
    color: var(--gray-500);
}
.client-info-email {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--gray-500);
}
.orders-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(380px, 1fr));
    gap: 24px;
}
.order-card {
    background: var(--white);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--gray-200);
    box-shadow: var(--shadow);
    transition: box-shadow var(--transition);
}
.order-card:hover {
    box-shadow: var(--shadow-lg);
}
.order-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 18px;
}
.order-id {
    font-size: 1rem;
    font-weight: 800;
    color: var(--gray-800);
    font-family: monospace;
}
.order-details {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 20px;
}
.order-detail {
    display: flex;
    flex-direction: column;
    gap: 3px;
}
.order-detail label {
    font-size: 0.72rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: var(--gray-400);
    font-weight: 600;
}
.order-detail span {
    font-size: 0.9rem;
    color: var(--gray-700);
    font-weight: 500;
}
.progress-wrap {
    border-top: 1px solid var(--gray-100);
    padding-top: 20px;
}
.progress-wrap h5 {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--gray-400);
    margin-bottom: 14px;
}
.progress-track {
    display: flex;
    align-items: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
}
.pt-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 72px;
    position: relative;
    font-size: 0.68rem;
    color: var(--gray-400);
    text-align: center;
    line-height: 1.3;
}
.pt-step::before {
    content: "";
    width: 22px;
    height: 22px;
    border-radius: 50%;
    border: 2px solid var(--gray-200);
    background: var(--white);
    margin-bottom: 8px;
    z-index: 1;
    flex-shrink: 0;
}
.pt-step::after {
    content: "";
    position: absolute;
    top: 10px;
    left: calc(50% + 11px);
    right: calc(-50% + 11px);
    height: 2px;
    background: var(--gray-200);
}
.pt-step:last-child::after {
    display: none;
}
.pt-step.completed::before {
    background: var(--success);
    border-color: var(--success);
}
.pt-step.completed::after {
    background: var(--success);
}
.pt-step.active::before {
    background: var(--accent);
    border-color: var(--accent);
    box-shadow: 0 0 0 4px rgba(249, 115, 22, 0.2);
}
.pt-step.completed {
    color: var(--gray-600);
}
.pt-step.active {
    color: var(--gray-800);
    font-weight: 700;
}
.no-orders {
    text-align: center;
    padding: 60px 20px;
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px dashed var(--gray-200);
}
.no-orders .icon {
    font-size: 3rem;
    margin-bottom: 16px;
    opacity: 0.4;
}
.no-orders h3 {
    color: var(--gray-600);
    margin-bottom: 8px;
}
.no-orders p {
    color: var(--gray-400);
    font-size: 0.9rem;
}

/* ── ADMIN PANEL ──────────────────────────────────────────────── */
.admin-layout {
    display: flex;
    min-height: 100vh;
}
.admin-sidebar {
    width: 240px;
    background: var(--navy);
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    position: sticky;
    top: 0;
    height: 100vh;
    overflow-y: auto;
}
.sidebar-logo {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}
.sidebar-logo .logo {
    font-size: 1.4rem;
}
.sidebar-subtitle {
    font-size: 0.72rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-top: 4px;
}
.sidebar-nav {
    padding: 16px 12px;
    flex: 1;
}
.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 11px 14px;
    border-radius: var(--radius);
    color: rgba(255, 255, 255, 0.65);
    font-size: 0.9rem;
    font-weight: 500;
    transition: all var(--transition);
    margin-bottom: 4px;
}
.sidebar-nav a:hover,
.sidebar-nav a.active {
    background: rgba(249, 115, 22, 0.15);
    color: var(--white);
}
.sidebar-nav a.active {
    border-left: 3px solid var(--accent);
}
.sidebar-footer {
    padding: 16px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.07);
}
.sidebar-footer .btn {
    font-size: 0.82rem;
    width: 100%;
    justify-content: center;
    background: rgba(255, 255, 255, 0.06);
    color: rgba(255, 255, 255, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
}
.sidebar-footer .btn:hover {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border-color: rgba(239, 68, 68, 0.3);
}
.admin-main {
    flex: 1;
    background: var(--gray-100);
    overflow-x: hidden;
}
.admin-topbar {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 32px;
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    position: sticky;
    top: 0;
    z-index: 10;
}
.admin-topbar h1 {
    font-size: 1.35rem;
    font-weight: 800;
}
.admin-content {
    padding: 32px;
}
.flash-message {
    background: #d1fae5;
    border: 1px solid #a7f3d0;
    color: #065f46;
    border-radius: var(--radius);
    padding: 14px 18px;
    margin-bottom: 24px;
    font-size: 0.9rem;
}
.stats-strip {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.stat-card {
    background: var(--white);
    border-radius: var(--radius);
    padding: 16px 20px;
    border: 1px solid var(--gray-200);
    flex: 1;
    min-width: 140px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}
.stat-card .stat-val {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--gray-800);
    line-height: 1;
}
.stat-card .stat-lbl {
    font-size: 0.75rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}
.stat-card.accent .stat-val {
    color: var(--accent);
}
.table-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 1px solid var(--gray-200);
    overflow: hidden;
    box-shadow: var(--shadow);
}
.table-overflow {
    overflow-x: auto;
}
.admin-table {
    width: 100%;
    border-collapse: collapse;
}
.admin-table th {
    background: var(--gray-50);
    padding: 13px 16px;
    text-align: left;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: var(--gray-500);
    border-bottom: 2px solid var(--gray-200);
    white-space: nowrap;
}
.admin-table td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--gray-100);
    font-size: 0.88rem;
    color: var(--gray-700);
    vertical-align: middle;
}
.admin-table tr:last-child td {
    border-bottom: none;
}
.admin-table tr:hover td {
    background: var(--gray-50);
}
.order-id-cell {
    font-family: monospace;
    font-weight: 700;
    color: var(--gray-800);
    font-size: 0.9rem;
}
.status-select {
    padding: 6px 10px;
    border: 2px solid var(--gray-200);
    border-radius: 6px;
    font-size: 0.82rem;
    font-weight: 600;
    cursor: pointer;
    background: var(--white);
    transition: border-color var(--transition);
    outline: none;
}
.status-select:focus {
    border-color: var(--accent);
}

/* ── EMPLOYEE DASHBOARD (TABLET OPTIMIZED) ─────────────────────── */
.employee-header {
    background: var(--navy);
    color: var(--white);
    padding: 16px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-lg);
}
.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.employee-info {
    display: flex;
    align-items: center;
    gap: 20px;
    font-size: 0.9rem;
}
.employee-info strong {
    color: var(--accent);
}

.dashboard-header {
    margin: 32px 0 24px;
    text-align: center;
}
.dashboard-header h2 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--navy);
}
.dashboard-header p {
    color: var(--gray-500);
}

.tablet-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    padding-bottom: 100px;
}

.order-btn {
    aspect-ratio: 1/1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: none;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition:
        transform 0.1s ease,
        box-shadow 0.2s ease;
    padding: 20px;
    box-shadow: var(--shadow);
    text-align: center;
}

.order-btn:active {
    transform: scale(0.95);
}

.order-number {
    font-size: 1.6rem;
    font-weight: 800;
    display: block;
    margin-bottom: 10px;
    font-family: monospace;
}
.order-client {
    font-size: 0.9rem;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}
.order-status-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-weight: 800;
    opacity: 0.8;
}

/* Modal Overlay */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(15, 25, 35, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
}

.modal-content {
    background: var(--white);
    width: 100%;
    max-width: 600px;
    border-radius: var(--radius-xl);
    padding: 40px;
    position: relative;
    box-shadow: var(--shadow-lg);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}
.modal-header h3 {
    font-size: 1.4rem;
    font-weight: 800;
}
.close-btn {
    background: none;
    border: none;
    font-size: 2rem;
    cursor: pointer;
    color: var(--gray-400);
}

.status-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.status-option-btn {
    padding: 24px;
    border-radius: var(--radius-lg);
    border: none;
    font-size: 1rem;
    font-weight: 700;
    cursor: pointer;
    transition: transform 0.1s ease;
    box-shadow: var(--shadow);
}

.status-option-btn:active {
    transform: scale(0.95);
}

@media (max-width: 768px) {
    .status-options {
        grid-template-columns: 1fr;
    }
}

/* ── RESPONSIVE ───────────────────────────────────────────────── */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .about-img-wrap {
        height: 320px;
    }
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .process-steps {
        grid-template-columns: repeat(3, 1fr);
        gap: 24px;
    }
    .process-steps::before {
        display: none;
    }
    .process-step {
        padding: 20px;
        background: var(--gray-50);
        border-radius: var(--radius);
        border: 1px solid var(--gray-200);
    }
}
@media (max-width: 768px) {
    .nav-links,
    .nav-actions .btn-ghost,
    .nav-actions .btn-outline {
        display: none;
    }
    .nav-toggle {
        display: flex;
    }
    .navbar.nav-open .nav-links {
        display: flex;
        flex-direction: column;
        position: fixed;
        top: var(--nav-h);
        left: 0;
        right: 0;
        background: var(--navy);
        padding: 16px 24px 24px;
        box-shadow: var(--shadow-lg);
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: repeat(4, 220px);
    }
    .orders-grid {
        grid-template-columns: 1fr;
    }
    .admin-sidebar {
        display: none;
    }
    .admin-topbar {
        padding: 0 16px;
    }
    .admin-content {
        padding: 16px;
    }
    .stats-strip {
        gap: 10px;
    }
    .stat-card {
        min-width: 110px;
        padding: 12px 14px;
    }
    .hero-stats {
        gap: 24px;
    }
    .hero-cta {
        flex-direction: column;
        align-items: flex-start;
    }
    .process-steps {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width: 480px) {
    .auth-card {
        padding: 32px 24px;
    }
    .portal-header-inner {
        padding: 0 16px;
    }
    .portal-body {
        padding: 24px 16px;
    }
    .client-info-email {
        display: none;
    }
    .order-details {
        grid-template-columns: 1fr;
    }
    .process-steps {
        grid-template-columns: 1fr;
    }
}
