* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Header */
.header {
    background: white;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-icon {
    padding: 0.5rem;
    border-radius: 0.5rem;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
}

.brand-name {
    font-size: 1.25rem;
    font-weight: 700;
    color:#5100ff;
}

.slogan-small {
    font-size: 0.875rem;
    color: #e30613;
    font-style: italic;
}

.nav-menu {
    display: none;
    text-align: center;
    gap: 1.5rem;
}

.nav-link {
    color: #4b5563;
    text-decoration: none;
    transition: color 0.3s;
}

.nav-link:hover {
    color: #5100ff;
}

@media (min-width: 768px) {
    .nav-menu {
        display:flex;
    }
}

/* Hero Section */
.hero-section {
    position: relative;
    min-height: 70vh;
    height: auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Ajuste automático según proporción */
@media (min-aspect-ratio: 16/9) {
    .hero-video {
        object-fit: contain;
        background: black;
    }
}
.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        135deg,
        rgba(0,0,0,0.45),
        rgba(0,0,0,0.25)
    );
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 2rem 1rem;
    max-width: 900px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1rem;
}

.hero-slogan {
    font-size: 1.4rem;
    color: #e5e7eb;
    font-style: italic;
}

@media (max-width: 768px) {
    .hero-section {
        height: 35vh;
        min-height: 220px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-slogan {
        font-size: 1rem;
    }
}
/* Features Section */
.features-section {
    padding: 5rem 1rem;
    background: linear-gradient(135deg, #f8fafc, #dbeafe);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.feature-card {
    background: white;
    padding: 1.5rem;
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: box-shadow 0.3s;
    border-top: 4px solid;
}

.feature-card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.15);
}

.feature-blue {
    border-color: #5100ff;
}

.feature-orange {
    border-color: #5100ff;
}

.feature-cyan {
    border-color: #5100ff;
}

.feature-green {
    border-color: #5100ff;
}

.feature-icon {
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
}

.icon-blue {
    background: #dbeafe;
    color: #5100ff;
}

.icon-orange {
    background: #dbeafe;
    color: #5100ff;
}

.icon-cyan {
    background: #dbeafe;
    color: #5100ff;
}

.icon-green {
    background: #dbeafe;
    color: #5100ff;
}

.feature-title {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.feature-blue .feature-title {
    color: #5100ff;
}

.feature-orange .feature-title {
    color: #5100ff;
}

.feature-cyan .feature-title {
    color: #5100ff;
}

.feature-green .feature-title {
    color: #5100ff;
}

.feature-description {
    color: #4b5563;
}

/* Catalog Section */
.catalog-section {
    padding: 5rem 1rem;
    background: white;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 1rem;
}

.section-subtitle {
    font-size: 1.25rem;
    color: #4b5563;
}

.catalog-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .catalog-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.catalog-card {
    background: linear-gradient(135deg, #f9fafb, white);
    border-radius: 1rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s;
}

.product-card:hover {
    box-shadow: 0 20px 25px rgba(0, 0, 0, 0.2);
}

.catalog-image {
    position: relative;
    height: 19rem;
    overflow: hidden;
}

.catalog-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.catalog-card:hover .catalog-image img {
    transform: scale(1.1);
}

.product-overlay {
    position: absolute;
    inset: 0;
    opacity: 0.2;
}


.catalog-content {
    padding: 1.5rem;
}

.product-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #111827;
    margin-bottom: 0.75rem;
}

.product-description {
    color: #4b5563;
    line-height: 1.75;
    margin-bottom: 1rem;
}

.product-button {
    padding: 0.5rem 1.5rem;
    border: none;
    border-radius: 9999px;
    color: white;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 500;
}

.button-blue {
    background: linear-gradient(to right,#e30613, #e30613);
}

.button-blue:hover {
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.4);
}

.button-orange {
    background: linear-gradient(to right, #e30613, #e30613);
}

.button-orange:hover {
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.4);
}

.button-cyan {
    background: linear-gradient(to right,#e30613, #e30613);
}

.button-cyan:hover {
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.4);
}

.button-green {
    background: linear-gradient(to right, #e30613, #e30613);
}

.button-green:hover {
    box-shadow: 0 4px 6px rgba(234, 88, 12, 0.4);
}

/* Contact Section */
.contact-container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}
.section-container {
    max-width: 1280px;
    margin: 0 auto;
}
.contact-section {
    padding: 4rem 1rem;
    background: linear-gradient(135deg,  #5100ffdc,  #5100ff);
    color: #e30613;
}

.section-title-white {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.section-subtitle-white {
    font-size: 1.25rem;
    color: #dbeafe;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
    margin-bottom: 4rem;
    justify-items: center;
    max-width: 900px;
    margin: 0 auto 4rem auto;
}

@media (min-width: 768px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }

}
@media (min-width: 1100px) {
    .contact-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}
.contact-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 1rem;
    transition: all 0.3s ease;
    text-align: center;
    width: 100%;
    max-width: 360px;
    padding: 30px 20px;
}

.contact-card:hover {
    background: rgba(255, 255, 255, 0.2);
}

.contact-icon {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
}
.contact-icon svg {
    width: 25px;
    height: 23px;
}

.icon-orange-contact {
    background: white;
}

.icon-cyan-contact {
    background:  white;
}

.icon-green-contact {
    background:  white;
}

.contact-card-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    color: white;
}

.contact-card-text {
    color: white;
    margin-bottom: 0.5rem;
}

.contact-link {
    font-size: 1.25rem;
    text-decoration: none;
    transition: color 0.3s;
    word-break: break-word;
    overflow-wrap: anywhere;
    text-align: center;
}

.contact-link-orange {
    color: white;
}

.contact-link-orange:hover {
    color: white;
}

.contact-link-cyan {
    color: white;
}

.contact-link-cyan:hover {
    color: #e30613;
}

.contact-address {
    font-size: 1.25rem;
    color: #a7f3d0;
}

/* Contact Form */
.contact-form-container {
    margin: 1rem 0;
    text-align: center;
    padding: 0rem 0rem;
}

.contact-form {
    max-width: 42rem;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 1rem;
}
.contact-row {
    margin-bottom: 3rem;
    justify-items: center;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
}
@media (min-width: 768px) {
    .contact-row {
        align-items: stretch;
    }
}

.form-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    text-align: center;
    color: white;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 768px) {
    .form-row {
        grid-template-columns: repeat(2, 1fr);
    }
}

.form-input,
.form-textarea {
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: white;
    font-family: inherit;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s;
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: #dbeafe;
}

.form-input:focus,
.form-textarea:focus {
    border-color: white;
    box-shadow: 0 0 0 3px rgba(251, 146, 60, 0.3);
}

.form-textarea {
    width: 100%;
    margin-bottom: 1rem;
    resize: vertical;
}

.form-button {
    width: 100%;
    padding: 0.75rem 2rem;
    background: linear-gradient(to right,white);
    border: none;
    border-radius: 9999px;
    color: #e30613;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
}

.form-button:hover {
    background: linear-gradient(to right, white, gray);
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

@media (min-width: 768px) {
    .form-button {
        width: auto;
    }
}

/* Footer */
.footer {
    margin-top: 4rem;
    text-align: center;
    color: #dbeafe;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 2rem;
}


.sponsor-logo {
    max-width: 180px;
    margin-top: 10px;
}

.footer-slogan {
    margin-top: 0.5rem;
    font-style: italic;
}
.container {
            position: relative;
        }

        /* Botón de edición flotante */
        

        /* Secciones */
        section {
            padding: 64px 16px;
        }

        section:nth-child(even) {
            background-color: #f9fafb;
        }

        section:nth-child(odd) {
            background-color: #ffffff;
        }

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

        /* Título y descripción */
        .section-header {
            text-align: center;
            margin-bottom: 48px;
        }

        .section-title {
            font-size: 2.25rem;
            margin-bottom: 24px;
            letter-spacing: 0.05em;
            font-weight: 700;
        }

        .section-title-input {
            font-size: 2.25rem;
            margin-bottom: 24px;
            letter-spacing: 0.05em;
            text-align: center;
            width: 100%;
            max-width: 56rem;
            margin-left: auto;
            margin-right: auto;
            padding: 8px 16px;
            border: 2px dashed;
            border-radius: 8px;
            background: transparent;
            font-weight: 700;
        }

        .section-description {
            font-size: 1.125rem;
            color: #374151;
            max-width: 56rem;
            margin: 0 auto;
            line-height: 1.75;
            padding: 0 16px;
        }

        .section-description-input {
            font-size: 1.125rem;
            color: #374151;
            max-width: 56rem;
            margin: 0 auto;
            line-height: 1.75;
            padding: 16px;
            width: 100%;
            border: 2px dashed #9ca3af;
            border-radius: 8px;
            resize: vertical;
            min-height: 100px;
            font-family: inherit;
        }

        /* Grid de productos */
        .products-grid {
            display: grid;
            gap: 24px;
            margin-bottom: 48px;
        }
        .products-grid.grid-1 {
            grid-template-columns: 1fr;
            max-width: 24rem;
            margin-left: auto;
            margin-right: auto;
        }
        .products-grid.grid-2 {
            grid-template-columns: 1fr;
            max-width: 56rem;
            margin-left: auto;
            margin-right: auto;
        }

        .products-grid.grid-3 {
            grid-template-columns: 1fr;
        }

        .products-grid.grid-4 {
            grid-template-columns: 1fr;
        }

        @media (min-width: 640px) {
            .products-grid.grid-2 {
                grid-template-columns: repeat(2, 1fr);
            }
            .products-grid.grid-3 {
                grid-template-columns: repeat(2, 1fr);
            }
            .products-grid.grid-4 {
                grid-template-columns: repeat(2, 1fr);
            }
        }

        @media (min-width: 1024px) {
            .products-grid.grid-3 {
                grid-template-columns: repeat(3, 1fr);
            }
            .products-grid.grid-4 {
                grid-template-columns: repeat(4, 1fr);
            }
        }

        /* Tarjeta de producto */
        .product-card {
            position: relative;
            background: white;
            border-radius: 16px;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
            overflow: hidden;
            border: 1px solid #f3f4f6;
            transition: all 0.3s;
        }

        .product-card:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
        }

        .product-image-container {
            position: relative;
            background: linear-gradient(to bottom right, #f3f4f6, #e5e7eb);
            aspect-ratio: 1;
            display: flex;
            align-items: center;
            justify-content: center;
            padding: 24px;
        }

        .product-image {
            width: 100%;
            height: 100%;
            object-fit: contain;
            transition: transform 0.3s;
        }

        .product-card:hover .product-image {
            transform: scale(1.05);
        }

        .image-edit-overlay {
            position: absolute;
            top: 8px;
            left: 8px;
            right: 8px;
            background: rgba(255, 255, 255, 0.95);
            padding: 8px;
            border-radius: 8px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            font-size: 0.75rem;
        }

        .image-edit-overlay label {
            display: block;
            color: #4b5563;
            margin-bottom: 4px;
        }

        .image-edit-overlay input {
            width: 100%;
            padding: 4px 8px;
            border: 1px solid #d1d5db;
            border-radius: 4px;
            font-size: 0.75rem;
        }

        .product-info {
            padding: 16px;
            text-align: center;
            background: linear-gradient(to bottom right, #f9fafb, #ffffff);
        }

        .product-name {
            color: #1f2937;
            margin-bottom: 4px;
            font-weight: 600;
        }

        .product-model {
            font-size: 0.875rem;
            color: #6b7280;
        }

        .product-name-input,
        .product-model-input {
            width: 100%;
            text-align: center;
            padding: 4px 8px;
            border: 1px dashed #9ca3af;
            border-radius: 4px;
            margin-bottom: 4px;
        }

        .product-name-input {
            color: #1f2937;
            font-weight: 600;
        }

        .product-model-input {
            font-size: 0.875rem;
            color: #6b7280;
        }

        .product-indicator {
            position: absolute;
            bottom: 8px;
            right: 8px;
            width: 32px;
            height: 32px;
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
        }

        .arrow-icon {
            width: 16px;
            height: 16px;
            color: white;
        }

        /* Botón de acción */
        .action-button-container {
            text-align: center;
        }

        .action-button {
            padding: 12px 48px;
            color: white;
            border: none;
            border-radius: 50px;
            box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
            transition: all 0.3s;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            font-weight: 600;
            cursor: pointer;
        }

        .action-button:hover {
            box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1);
            transform: scale(1.05);
            opacity: 0.9;
        }

        .color-purple {
            color: #5100ff;
        }

        .color-red {
            color: #e30613;
        }

        .hidden {
            display: none;
        }

        @media (min-width: 640px) {
            .edit-button-text {
                display: inline;
            }
            .section-title {
                font-size: 2.5rem;
            }
            .section-title-input {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 639px) {
            .edit-button-text {
                display: none;
            }
        }
/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}
.product-note {
    font-size: 0.8rem;
    color: #6b7280; /* gris suave */
    margin-top: 2px;
    line-height: 1.3;
}
/* =========================
   MOBILE OPTIMIZATION
   ========================= */

@media (max-width: 768px) {

    /* Header */
    .header-content {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .brand-name {
        font-size: 1rem;
    }

    .slogan-small {
        font-size: 0.75rem;
    }

    /* Hero */
    .hero-content {
        padding: 3rem 1rem;
        min-height: 40vh;
    }

    /* Features */
    .features-section {
        padding: 3rem 1rem;
    }

    .feature-card {
        padding: 1rem;
    }

    .feature-title {
        font-size: 1.1rem;
    }

    /* Catálogo */
    .catalog-section {
        padding: 3rem 1rem;
    }

    .catalog-image {
        height: 14rem;
    }

    .product-title {
        font-size: 1.2rem;
    }

    .product-description {
        font-size: 0.95rem;
    }

    .product-note {
        font-size: 0.75rem;
    }

    .product-button {
        width: 100%;
        padding: 0.6rem;
    }

    /* Contacto */
    .contact-section {
        padding: 2rem 1rem;
    }

    .contact-card {
        width: 100%;
    }


    .contact-form {
        padding: 1.2rem;
    }

    /* Footer */
    .footer {
        font-size: 0.9rem;
    }

    .sponsor-logo {
        max-width: 140px;
    }
    .contact-section {
    padding: 3rem 1rem;
    }
    .catalog-card {
    border-radius: 14px;
}


}

@media (max-width: 768px) {
    .hero-background {
        height: 38vh;
        min-height: 120px;
    }
}


.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
}

.hero-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
}
.card-header {
  display: flex;
  align-items: center;   /* alinea verticalmente */
  justify-content: space-between; /* título a la izquierda y logo a la derecha */
  gap: 10px;
}

.card-logo {
  height: 30px;  /* ajustá según cómo quieras que se vea */
  width: auto;
}
.contact-icon img {
    width: 40px;
    height: 40px;
}
/* ===== FIX VIDEO CORTE EN MONITORES ===== */

/* Monitores bajos (ej: 1366x768) */
@media (max-height: 800px) {
    .hero-section {
        height: 70vh;
    }
}

/* Monitores muy anchos */
@media (min-aspect-ratio: 16/9) {
    .hero-video {
        object-fit: contain;
        background: black; /* evita bordes blancos */
    }
}

/* Pantallas ultra wide */
@media (min-aspect-ratio: 21/9) {
    .hero-video {
        object-fit: contain;
    }
}

/* Monitores muy altos */
@media (min-height: 1000px) {
    .hero-section {
        height: 85vh;
    }
}