@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
}

@font-face {
    font-family: 'Montserrat';
    src: url('../fonts/Montserrat-Bold.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
}

body {
    background: linear-gradient(120deg, #ffffff 0%, #5d68d0 100%) !important;
    font-family: 'Montserrat', Arial, sans-serif;
}

.hero {
    text-align: center;
    margin: 56px 0 38px 0;
    padding: 38px 0 30px 0;
    background: linear-gradient(120deg, #252850 0%, #3178e7 80%, #62b6ff 100%);
    color: #fff;
    border-radius: 18px;
    box-shadow: 0 4px 22px rgba(50, 70, 150, 0.13);
    position: relative;
    overflow: hidden;
}

.hero h1 {
    font-size: 2.5em;
    margin-bottom: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 3px 14px rgba(255, 255, 255, 0.15);
}

.hero p {
    font-size: 1.25em;
    margin-bottom: 22px;
    font-weight: 500;
}

.hero .marca {
    color: #ffd34e;
    text-shadow: 0 2px 10px #25285080;
}

.btn-cta {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: #25d366;
    color: #fff;
    padding: 12px 28px;
    border-radius: 9px;
    font-size: 1.18em;
    font-weight: 700;
    text-decoration: none;
    margin-top: 10px;
    box-shadow: 0 3px 9px #25d36638;
    transition: background 0.18s, box-shadow 0.18s;
}

.btn-cta:hover {
    background: #1da851;
    box-shadow: 0 5px 16px #25d36651;
}

/* Sobre nosotros y servicios */
.sobre-nosotros,
.servicios,
.productos-destacados {
    background: transparent;
    border-radius: 12px;
    margin: 24px auto;
    max-width: 800px;
    padding: 24px 32px;
    box-shadow: 0 2px 12px rgba(80, 80, 120, 0.07);
}

.sobre-nosotros h2,
.servicios h2,
.productos-destacados h2 {
    color: #252850;
    margin-bottom: 10px;
}

/* Servicios */
.servicios ul {
    padding-left: 24px;
    margin: 0;
}

.servicios li {
    margin-bottom: 6px;
    font-size: 1.08em;
}

/* Productos destacados */
.productos-grid {
    display: flex;
    gap: 24px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.producto {
    background: transparent;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(80, 80, 120, 0.05);
    padding: 18px 12px 12px 12px;
    max-width: 190px;
    text-align: center;
}

.producto img {
    width: 100%;
    max-width: 120px;
    margin-bottom: 8px;
    border-radius: 8px;
    background: transparent;
    box-shadow: 0 1px 6px rgba(50, 70, 100, 0.04);
}

.producto h3 {
    margin: 10px 0 4px 0;
    color: #252850;
    font-size: 1em;
}

/* Responsive */
@media (max-width: 650px) {
    .productos-grid {
        flex-direction: column;
        align-items: center;
    }

    .sobre-nosotros,
    .servicios,
    .productos-destacados {
        padding: 18px 6px;
    }
}
.productos-destacados {
    background: transparent;
    border-radius: 12px;
    margin: 24px auto;
    max-width: 1000px;
    padding: 24px 32px;
    box-shadow: 0 2px 16px rgba(80, 80, 120, 0.09);
}

.productos-grid {
    display: flex;
    gap: 32px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.producto {
    background: transparent;
    border-radius: 13px;
    box-shadow: 0 4px 14px rgba(50, 110, 210, 0.07);
    padding: 20px 12px 16px 12px;
    max-width: 200px;
    text-align: center;
    transition: transform 0.18s, box-shadow 0.18s;
    border: 1.5px solid #e5e9f5;
}

.producto:hover {
    transform: translateY(-8px) scale(1.045);
    box-shadow: 0 8px 24px rgba(50, 110, 210, 0.13);
    border-color: #b8cdf2;
}

.producto img {
    width: 100%;
    max-width: 120px;
    margin-bottom: 10px;
    border-radius: 10px;
    background: transparent;
    box-shadow: 0 2px 8px rgba(50, 70, 100, 0.08);
    object-fit: cover;
}

.producto h3 {
    margin: 12px 0 4px 0;
    color: #252850;
    font-size: 1.05em;
}

.servicios-grid {
    display: flex;
    gap: 28px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 18px;
}

.servicio {
    background: transparent;
    border-radius: 10px;
    box-shadow: 0 1px 8px rgba(60, 100, 200, 0.04);
    padding: 20px 16px 14px 16px;
    width: 160px;
    display: flex;
    flex-direction: column;
    align-items: center;
    transition: transform 0.15s, box-shadow 0.15s;
    border: 1.5px solid #e6e8f2;
}

.servicio:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 6px 20px rgba(60, 100, 200, 0.10);
    border-color: #bad3f5;
}

.servicio img {
    width: 52px;
    height: 52px;
    margin-bottom: 14px;
    filter: drop-shadow(0 3px 7px #62b6ff44);
}

.servicio span {
    font-weight: 600;
    color: #252850;
    text-align: center;
    font-size: 1.01em;
}

footer {
    background: #1a1d35;
    color: #ccc;
    padding: 16px 0 8px 0;
    text-align: center;
    width: 100%;
    margin-top: 40px;
    border-radius: 10px 10px 0 0;
    position: relative;
    bottom: 0;
}
.logo {
    height: 50px;
    /* Cambiá este valor para hacerlo más chico o más grande */
    max-width: 160px;
    /* Limita el ancho si el logo es apaisado */
    object-fit: contain;
    /* Que no se deforme si es PNG o SVG */
    margin-right: 18px;
    /* Espacio a la derecha del logo */
    transition: height 0.18s;
}

.mensaje-vacio {
    text-align: center;
    font-size: 1.3rem;
    color: #555;
    margin-top: 40px;
}
.login-panel {
    max-width: 370px;
    margin: 60px auto 0 auto;
    background: transparent;
    border-radius: 12px;
    box-shadow: 0 4px 18px 0 #bfc9e144;
    padding: 28px 36px 20px 36px;
}
.login-panel h2 {
    margin-bottom: 22px;
    color: #0056b3;
    text-align: center;
}
.login-panel label {
    font-weight: 600;
}
.login-panel input {
    width: 100%;
    padding: 8px 10px;
    margin: 5px 0 16px 0;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font-size: 1rem;
}
.password-wrapper {
    position: relative;
}
.toggle-password {
    background: none;
    border: none;
    position: absolute;
    right: 14px;
    top: 8px;
    cursor: pointer;
    font-size: 1.08em;
    color: #666;
    padding: 0;
}
.btn-login {
    width: 100%;
    background: #198754;
    color: #fff;
    border: none;
    padding: 10px 0;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 7px;
    margin-bottom: 8px;
    transition: background 0.2s;
}
.btn-login:hover {
    background: #157347;
}

/* Productos Admin*/

.btn-back {
    display: inline-block;
    margin: 30px 0 10px 40px;
    background: #007BFF;
    color: #fff;
    border: none;
    padding: 8px 22px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: background 0.2s;
}
.btn-back:hover {
    background: #0056b3;
}
.formulario-producto {
    background: #fff;
    box-shadow: 0 4px 18px 0 #bfc9e144;
    border-radius: 12px;
    padding: 24px 28px 16px 28px;
    margin: 16px auto 40px auto;
    max-width: 500px;
}
.formulario-producto label {
    font-weight: 600;
}
.formulario-producto input {
    width: 100%;
    padding: 8px 10px;
    margin: 5px 0 18px 0;
    border: 1px solid #d5d5d5;
    border-radius: 6px;
    font-size: 1rem;
}
.formulario-producto button {
    background: #198754;
    color: #fff;
    border: none;
    padding: 10px 22px;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.2s;
}
.formulario-producto button:hover {
    background: #157347;
}
.tabla-productos {
    width: 95%;
    border-collapse: collapse;
    margin: 32px auto 40px auto;
    background: transparent;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 14px 0 #bfc9e122;
}
.tabla-productos th, .tabla-productos td {
    padding: 12px 7px;
    border: 1px solid #e6e6e6;
    text-align: center;
}
.tabla-productos th {
    background: transparent;
    font-weight: 700;
}
.img-mini {
    width: 60px; height: 60px; object-fit: cover; border-radius: 6px; border: 1px solid #bbb;
}
.acciones a {
    margin: 0 5px; text-decoration: none; font-size: 1.25em;
}
.acciones a:hover {
    color: #d00000;
}

/*Panel ADMIN */        

.admin-panel {
    max-width: 800px;
    margin: 40px auto;
    padding: 20px;
    background: transparent;
    border: 1px solid #ccc;
    border-radius: 8px;
}
.admin-panel h1 {
    text-align: center;
}
.admin-panel p {
    text-align: center;
}
.admin-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}
.admin-links a {
    background: #007BFF;
    color: white;
    padding: 10px;
    border-radius: 5px;
    text-align: center;
    text-decoration: none;
    transition: background 0.3s;
}
.admin-links a:hover {
    background: #0056b3;
}