@import url('https://fonts.googleapis.com/css2?family=Space+Mono:wght@400;700&family=Inter:wght@100;200;300;400;500;600;700;800;900&family=Poppins:wght@600;700;800;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #FF006E;
    --secondary: #00D9FF;
    --accent: #FFD60A;
    --dark: #000000;
    --dark-light: #000000;
    --white: #CD433A;
    --gray: #8B92B5;
    --gray-light: #F5F7FA;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: HELVETICA;
    background: linear-gradient(135deg, var(--dark) 0%, var(--dark-light) 100%);
    color: var(--white);
    overflow-x: hidden;
}

/* ==================== NAVBAR ==================== */

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 20px 0;
    background: #000000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.navbar-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-size: 24px;
    font-weight: 900;
    font-family: 'Poppins', sans-serif;
    letter-spacing: -2px;
}

.logo-dot {
    width: 12px;
    height: 12px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.7;
    }
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 40px;
}

.nav-link {
    color: var(--gray);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    transition: color 0.3s;
    font-size: 14px;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: width 0.3s;
}

.nav-link:hover,
.nav-link.active {
    color: var(--white);
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */

.hero {
    min-height: 100vh;
    display: grid;
    grid-template-columns: 1fr 1fr;
    padding-top: 80px;
    max-width: 1400px;
    /* Limitar el ancho máximo para que sea consistente */
    margin: 0 auto;
    /* Centrar la sección */
    align-items: stretch;
    /* Asegura que ambos lados tengan la misma altura */
}

/* IZQUIERDA FULL */
.hero-left {
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* Igualar la altura de ambos lados */
}

/* CONTENIDO LIMITADO */
.hero-inner {
    max-width: 600px;
    padding: 60px;
    margin-left: auto;
    margin-right: auto;
    color: #000000;
}

.hero-inner h1 {
    font-size: clamp(40px, 6vw, 80px);
    font-weight: 900;
    line-height: 1.2;
    text-align: center;
}

.hero-inner p {
    font-size: clamp(12px, 2vw, 16px);
    letter-spacing: 2px;
    margin-top: 20px;
    text-align: center;
}

/* DERECHA FULL IMAGE */
.hero-right {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    /* Igualar la altura de ambos lados */
}

.hero-right img {
    width: 100%;
    height: auto;
    object-fit: cover;

}

/* ===================== RESPONSIVE ===================== */

@media (max-width: 1024px) {
    .hero {
        grid-template-columns: 1fr;
    }

    .hero-left {
        padding: 40px 20px;
        /* Agregar espaciado para evitar superposición */
        text-align: center;
        /* Centrar el texto para mejor visibilidad */
        height: auto;
    }

    .hero-right {
        height: auto;
    }

    .hero-right img {
        width: 100%;
        height: auto;
        object-fit: contain;
        /* Evitar que la imagen se recorte y opaque el texto */
    }
}

@media (max-width: 768px) {
    .hero {
        grid-template-rows: auto auto;
        /* Apilar texto e imagen */
    }

    .hero-inner {
        padding: 40px 20px;
        text-align: center;
        /* Centrar el texto */
    }

    .hero-inner h1 {
        font-size: clamp(32px, 5vw, 60px);
    }

    .hero-inner p {
        font-size: clamp(10px, 1.5vw, 14px);
    }

    .hero-right {
        height: auto;
    }

    .hero-right img {
        width: 100%;
        height: auto;
        object-fit: contain;
        /* Asegurar que la imagen no se recorte */
    }
}

@media (max-width: 480px) {
    .hero {
        padding-top: 20px;
    }

    .hero-inner {
        padding: 20px;
    }

    .hero-right {
        height: auto;
    }
}

/* ==================== DEMO SECTION ==================== */

.demo-section {
    padding: 100px 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.demo-container {
    display: flex;
    flex-direction: column;
    gap: 60px;
}

.demo-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.demo-video {
    width: 100%;
    height: 600px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.2);
}

.video-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.video-wrapper video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(0, 217, 255, 0.1));
    pointer-events: none;
}

.demo-steps {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.step-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 110, 0.2);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    transition: all 0.3s;
}

.step-item:hover {
    background: rgba(255, 0, 110, 0.1);
    border-color: rgba(255, 0, 110, 0.5);
    transform: translateX(10px);
}

.step-number {
    font-size: 32px;
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 60px;
}

.step-item h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    padding-top: 10px;
    color: var(--white);
}

.step-item p {
    color: var(--gray);
    line-height: 1.6;
    font-size: 14px;
}

/* Demo Responsive */
@media (max-width: 1024px) {
    .demo-content {
        grid-template-columns: 1fr;
    }

    .demo-video {
        height: 400px;
    }
}

@media (max-width: 768px) {
    .demo-section {
        padding: 60px 20px;
    }

    .demo-content {
        gap: 40px;
    }

    .demo-video {
        height: 300px;
    }

    .step-item {
        padding: 20px;
        gap: 15px;
    }

    .step-number {
        font-size: 24px;
    }

    .step-item h3 {
        font-size: 18px;
    }
}

/* ==================== PORTFOLIO SECTION ==================== */

.portfolio {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
}

.section-header h2 {
    font-size: 60px;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.section-header p {
    font-size: 18px;
    color: var(--gray);
    max-width: 100%;
    margin: 0 auto;
}



/* ==================== PORTFOLIO GRID ==================== */

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 60px;
}

.portfolio-item {
    position: relative;
    cursor: pointer;
    overflow: hidden;
    border-radius: 16px;
    aspect-ratio: 1;
}

.portfolio-image {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.portfolio-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.portfolio-item:hover .portfolio-image img {
    transform: scale(1.1);
}

.overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.8), rgba(0, 217, 255, 0.8));
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.4s;
}

.portfolio-item:hover .overlay {
    opacity: 1;
}

.view-icon {
    font-size: 48px;
    display: block;
}

.portfolio-info {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95), transparent);
    color: var(--white);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s;
    z-index: 10;
}

.portfolio-item:hover .portfolio-info {
    transform: translateY(0);
    opacity: 1;
}

.portfolio-info h3 {
    font-size: 20px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin: 0 0 8px 0;
}

.portfolio-info p {
    font-size: 13px;
    color: var(--gray-light);
    margin: 0;
}

/* ==================== MODALS ==================== */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    z-index: 2000;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal.active {
    display: flex;
}

/* Prevenir salto de layout al abrir modal */
body.modal-open {
    overflow: hidden;
    padding-right: var(--scrollbar-width, 0px);
}

.modal-content,
.lightbox-content {
    position: relative;
    background: linear-gradient(135deg, rgba(10, 14, 39, 0.98), rgba(26, 31, 58, 0.98));
    border: 2px solid rgba(255, 0, 110, 0.2);
    border-radius: 20px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 100px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
}

.lightbox-content {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.lightbox-content img {
    max-width: 100%;
    max-height: 90vh;
    object-fit: contain;
    border-radius: 12px;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(255, 0, 110, 0.2);
    border: 2px solid rgba(255, 0, 110, 0.4);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 28px;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    line-height: 1;
}

.close-btn:hover {
    background: rgba(255, 0, 110, 0.4);
    border-color: rgba(255, 0, 110, 0.8);
    transform: scale(1.1);
}

.modal-header {
    padding: 25px;
    border-bottom: 2px solid rgba(255, 0, 110, 0.1);
}

.modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.pdf-carousel-container {
    flex: 1;
    display: flex;
    flex-direction: column;
    padding: 20px;
    overflow-y: auto;
    max-height: 80vh;
}

#pdfCanvas {
    max-height: 65vh;
    width: 100%;
    border: 1px solid rgba(255, 0, 110, 0.2);
    border-radius: 12px;
    display: block;
    margin-bottom: 20px;
    object-fit: contain;
}

/* ==================== PDF BOOK STYLES ==================== */

.pdf-modal {
    width: max-content;
    max-width: 95vw;
    height: max-content;
    max-height: 95vh;
    display: flex;
    flex-direction: column;
    padding: 0;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(15, 20, 40, 0.95), rgba(20, 25, 50, 0.95));
    border: 2px solid rgba(255, 0, 110, 0.2);
    border-radius: 20px;
    overflow: hidden;
}

.pdf-modal .modal-header {
    padding: 25px 30px;
    border-bottom: 2px solid rgba(255, 0, 110, 0.1);
    flex-shrink: 0;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05), rgba(0, 217, 255, 0.05));
}

.pdf-modal .modal-header h2 {
    font-size: 24px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

/* Loading Spinner */
.pdf-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    z-index: 10;
}

.pdf-loading-spinner.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 0, 110, 0.2);
    border-top-color: var(--primary);
    border-right-color: var(--secondary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

.pdf-loading-spinner p {
    color: var(--gray);
    font-size: 16px;
    font-weight: 500;
}

/* Contenedor del PDF */
.pdf-book-container {
    /* Las dimensiones se calculan e inyectan desde JS */
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin: 30px;
    /* Separación del libro respecto a los bordes del modal */
}

@media (max-width: 768px) {
    .pdf-book-container {
        margin: 15px;
    }
}

.book-page {
    background-color: #ffffff;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
    /* Sombra elegante */
    overflow: hidden;
}

.book-page canvas {
    display: block;
    width: 100%;
    height: 100%;
}

.pdf-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    position: sticky;
    bottom: 0;
    background: linear-gradient(to top, rgba(10, 14, 39, 0.95), rgba(10, 14, 39, 0.8));
    padding: 15px 0;
    border-top: 1px solid rgba(0, 217, 255, 0.2);
}

.page-btn {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    color: var(--white);
    border: none;
    padding: 10px 20px;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s;
}

.page-btn:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 0, 110, 0.3);
}

.page-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

#pageInfo {
    color: var(--white);
    font-weight: 600;
}

/* ==================== ABOUT SECTION ==================== */

.about {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: stretch;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.about-intro {
    font-size: 18px;
    line-height: 1.8;
    color: white;
    text-align: justify;
}

.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 25px;
    padding: 30px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08), rgba(0, 217, 255, 0.08));
    border: 2px solid rgba(255, 0, 110, 0.15);
    border-radius: 16px;
    backdrop-filter: blur(10px);
}

.highlight-item {
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.highlight-icon {
    font-size: 32px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.2), rgba(0, 217, 255, 0.2));
    border-radius: 12px;
    border: 2px solid rgba(255, 0, 110, 0.2);
}

.highlight-item h4 {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 5px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.highlight-item p {
    font-size: 14px;
    color: var(--gray);
    line-height: 1.6;
}

.about-closing {
    font-size: 16px;
    line-height: 1.8;
    color: var(--gray);
    font-style: italic;
    padding: 20px 0;
    border-top: 2px solid rgba(255, 0, 110, 0.2);
    border-bottom: 2px solid rgba(255, 0, 110, 0.2);
}

.about-image {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: auto;
    min-height: 100%;
}

.image-container {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 20px;
    overflow: hidden;
}

.image-shape {
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    opacity: 0.15;
    border-radius: 50%;
    animation: float 8s ease-in-out infinite;
    z-index: 0;
}

.about-image img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    border: 3px solid rgba(255, 0, 110, 0.3);
    transition: all 0.4s;
}

.about-image:hover img {
    border-color: rgba(255, 0, 110, 0.6);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.2);
    transform: scale(1.02);
}

/* ==================== CATALOGS SECTION ==================== */

.catalogs {
    max-width: 1400px;
    margin: 0 auto;
    /* padding: 120px 40px;*/
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.catalog-item {
    cursor: pointer;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(0, 217, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
}

.catalog-item:hover {
    border-color: rgba(255, 0, 110, 0.5);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.2);
    transform: translateY(-8px);
}

.catalog-image {
    position: relative;
    width: 100%;
    aspect-ratio: 3/4;
    overflow: hidden;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.1), rgba(0, 217, 255, 0.1));
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.catalog-item:hover .catalog-image img {
    transform: scale(1.08);
}

.catalog-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.1) 0%, rgba(255, 0, 110, 0.1) 100%);
    font-size: 80px;
}

.catalog-icon {
    display: block;
    opacity: 0.6;
}

.catalog-item .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.catalog-item:hover .overlay {
    opacity: 1;
}

.catalog-item .view-icon {
    font-size: 48px;
    color: var(--secondary);
    animation: scale-bounce 0.6s ease-out;
}

.catalog-info {
    padding: 30px 20px;
}

.catalog-info h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 8px;
    font-family: 'Poppins', sans-serif;
}

.catalog-info p {
    font-size: 14px;
    color: var(--gray);
    font-family: 'Inter', sans-serif;
}

/* ==================== SERVICES SECTION ==================== */

.services {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.service-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.05) 0%, rgba(0, 217, 255, 0.05) 100%);
    border: 2px solid rgba(255, 255, 255, 0.1);
    padding: 50px 40px;
    border-radius: 20px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.service-card:hover::before {
    left: 100%;
}

.service-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.service-card:hover::after {
    transform: scaleX(1);
}

.service-card:hover {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.12) 0%, rgba(0, 217, 255, 0.12) 100%);
    border-color: rgba(255, 0, 110, 0.3);
    transform: translateY(-15px);
    box-shadow: 0 20px 60px rgba(255, 0, 110, 0.15);
}

.service-icon {
    margin-bottom: 25px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(0, 217, 255, 0.15));
    border: 2px solid rgba(255, 0, 110, 0.2);
    border-radius: 20px;
    position: relative;
    z-index: 1;
}

.service-card:hover .service-icon {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.25), rgba(0, 217, 255, 0.25));
    border-color: rgba(255, 0, 110, 0.4);
    transform: scale(1.1) rotate(5deg);
}

.icon-emoji {
    font-size: 52px;
    display: block;
    animation: float 3s ease-in-out infinite;
    transition: transform 0.4s;
}

.service-card h3 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 15px;
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    transition: all 0.4s;
}

.service-card:hover h3 {
    transform: scale(1.05);
}

.service-card p {
    color: var(--gray);
    font-size: 15px;
    line-height: 1.7;
    font-weight: 400;
}

/* ==================== CONTACT SECTION ==================== */

.contact {
    max-width: 1400px;
    margin: 0 auto;
    padding: 120px 40px;
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-cards {
    display: grid;
    grid-template-columns: 1fr;
    gap: 25px;
}

.contact-card {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.08), rgba(0, 217, 255, 0.08));
    border: 2px solid rgba(255, 0, 110, 0.15);
    padding: 35px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary), var(--accent));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}

.contact-card:hover::before {
    transform: scaleX(1);
}

.contact-card:hover {
    background: linear-gradient(135deg, rgba(255, 0, 110, 0.15), rgba(0, 217, 255, 0.15));
    border-color: rgba(255, 0, 110, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(255, 0, 110, 0.1);
}

.contact-card-icon {
    font-size: 48px;
    display: block;
    margin-bottom: 15px;
    transition: transform 0.4s;
}

.contact-card:hover .contact-card-icon {
    transform: scale(1.15) rotate(5deg);
}

.contact-card h3 {
    font-size: 22px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 10px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.contact-card p {
    color: var(--gray);
    font-size: 14px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.location-text {
    color: var(--white);
    font-weight: 600;
    font-size: 16px !important;
    margin-bottom: 0 !important;
}

.contact-card .btn {
    width: 100%;
    margin-top: 5px;
}

.contact-info-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.info-header h3 {
    font-size: 26px;
    font-weight: 800;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 20px;
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

.info-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    padding: 25px;
    border-radius: 12px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.info-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.05), transparent);
    transition: left 0.5s;
}

.info-item:hover::before {
    left: 100%;
}

.info-item:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 0, 110, 0.2);
    transform: translateX(8px);
}

.info-icon {
    font-size: 36px;
    display: block;
    margin-bottom: 12px;
    transition: transform 0.3s;
}

.info-item:hover .info-icon {
    transform: scale(1.2);
}

.info-item h4 {
    font-size: 18px;
    font-weight: 700;
    font-family: 'Poppins', sans-serif;
    margin-bottom: 8px;
    color: var(--white);
}

.info-item p {
    font-size: 13px;
    color: var(--gray);
    margin-bottom: 12px;
    line-height: 1.5;
}

.info-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    font-size: 13px;
    transition: all 0.3s;
    display: inline-block;
}

.info-link:hover {
    color: var(--secondary);
    transform: translateX(4px);
}

/* ==================== FOOTER ==================== */

.footer {
    text-align: center;
    padding: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--gray);
    font-size: 14px;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 1024px) {
    .navbar-content {
        padding: 0 30px;
    }

    .nav-menu {
        gap: 30px;
    }

    .nav-link {
        font-size: 13px;
    }

    .hero-content {
        padding: 0 30px;
        gap: 40px;
    }

    .hero-text h1 {
        font-size: 60px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .portfolio,
    .services,
    .about,
    .contact {
        padding: 100px 30px;
    }

    .section-header h2 {
        font-size: 48px;
    }

    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .about-content {
        gap: 60px;
    }

    .services-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 0;
    }

    .navbar-content {
        padding: 0 20px;
        flex-direction: column;
        gap: 12px;
    }

    .nav-menu {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }

    .nav-link {
        font-size: 12px;
    }

    .logo {
        gap: 8px;
    }

    .logo h1 {
        font-size: 20px;
    }

    .logo-dot {
        width: 10px;
        height: 10px;
    }

    .hero {
        padding-top: 100px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        padding: 0 20px;
        gap: 30px;
    }

    .hero-text h1 {
        font-size: 48px;
    }

    .hero-subtitle {
        font-size: 16px;
    }

    .hero-visual {
        height: 250px;
        display: none;
    }

    .floating-shape {
        width: 150px;
        height: 150px;
        opacity: 0.8;
    }

    .portfolio,
    .services,
    .about,
    .catalogs,
    .contact {
        padding: 80px 20px;
    }

    .section-header h2 {
        font-size: 40px;
    }

    .section-header p {
        font-size: 16px;
    }

    .portfolio-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .modal-content,
    .lightbox-content {
        max-width: 90vw;
        max-height: 80vh;
    }

    .pdf-carousel-container {
        max-height: 70vh;
        padding: 15px;
    }

    #pdfCanvas {
        max-height: 50vh;
        margin-bottom: 15px;
    }

    .pdf-controls {
        flex-wrap: wrap;
        gap: 10px;
    }

    .page-btn {
        padding: 8px 16px;
        font-size: 12px;
    }

    #pageInfo {
        font-size: 12px;
    }

    .about-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .about-image {
        height: 400px;
    }

    .image-shape {
        width: 250px;
        height: 250px;
    }

    .services-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .service-card {
        padding: 35px 25px;
    }

    .catalog-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .contact-card .btn {
        font-size: 12px;
        padding: 10px 20px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 0;
    }

    .navbar-content {
        padding: 0 15px;
    }

    .nav-menu {
        gap: 10px;
        font-size: 11px;
    }

    .nav-link {
        font-size: 11px;
    }

    .logo h1 {
        font-size: 16px;
    }

    .hero {
        padding-top: 80px;
        min-height: 80vh;
    }

    .hero-content {
        padding: 0 15px;
    }

    .hero-text h1 {
        font-size: 36px;
        margin-bottom: 20px;
    }

    .hero-subtitle {
        font-size: 14px;
        margin-bottom: 20px;
    }

    .btn {
        padding: 10px 20px;
        font-size: 12px;
    }

    .hero-visual {
        display: none;
    }

    .floating-shape {
        display: none;
    }

    .portfolio,
    .services,
    .about,
    .contact {
        padding: 60px 15px;
    }

    .section-header {
        margin-bottom: 50px;
    }

    .section-header h2 {
        font-size: 28px;
        margin-bottom: 15px;
    }

    .section-header p {
        font-size: 14px;
    }

    .portfolio-grid {
        gap: 15px;
    }

    .portfolio-item {
        border-radius: 12px;
    }

    .modal-content,
    .lightbox-content {
        max-width: 95vw;
        max-height: 85vh;
        border-radius: 12px;
    }

    .modal-header {
        padding: 15px;
    }

    .modal-header h2 {
        font-size: 18px;
    }

    .pdf-carousel-container {
        max-height: 60vh;
        padding: 10px;
    }

    #pdfCanvas {
        max-height: 45vh;
        margin-bottom: 10px;
        border-radius: 8px;
    }

    .pdf-controls {
        gap: 8px;
        padding: 10px 5px;
    }

    .page-btn {
        padding: 8px 12px;
        font-size: 11px;
        border-radius: 6px;
    }

    .close-btn {
        width: 35px;
        height: 35px;
        font-size: 24px;
    }

    .about-content {
        gap: 30px;
    }

    .about-image {
        height: 300px;
    }

    .image-shape {
        width: 180px;
        height: 180px;
    }

    .about-highlights {
        padding: 20px;
        gap: 15px;
    }

    .highlight-item {
        gap: 15px;
    }

    .highlight-icon {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .highlight-item h4 {
        font-size: 16px;
    }

    .highlight-item p {
        font-size: 13px;
    }

    .services-grid {
        gap: 20px;
    }

    .service-card {
        padding: 25px 15px;
    }

    .service-icon {
        height: 80px;
        margin-bottom: 15px;
    }

    .icon-emoji {
        font-size: 40px;
    }

    .service-card h3 {
        font-size: 20px;
        margin-bottom: 10px;
    }

    .service-card p {
        font-size: 13px;
    }

    .contact-content {
        gap: 30px;
    }

    .contact-cards {
        gap: 20px;
    }

    .contact-card {
        padding: 25px 15px;
    }

    .contact-card-icon {
        font-size: 40px;
        margin-bottom: 10px;
    }

    .contact-card h3 {
        font-size: 18px;
    }

    .contact-card p {
        font-size: 12px;
        margin-bottom: 15px;
    }

    .info-grid {
        gap: 15px;
    }

    .info-item {
        padding: 15px;
    }

    .info-icon {
        font-size: 28px;
        margin-bottom: 8px;
    }

    .info-item h4 {
        font-size: 15px;
        margin-bottom: 5px;
    }

    .info-item p {
        font-size: 12px;
    }

    .footer {
        padding: 30px 15px;
        font-size: 12px;
    }
}