/* --- CAMBIOS ESPECÍFICOS EN CSS --- */

/* Ajuste para que el contenedor de tecnología soporte la imagen */
.tech-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
}

.tech-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Estilo nuevo para la imagen canon.jpg */
.tech-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 20px 20px 60px #bebebe, -20px -20px 60px #ffffff; /* Sombra suave 3D */
    object-fit: cover;
    transition: transform 0.3s ease;
}

.tech-img:hover {
    transform: scale(1.02);
}

/* Nota: Asegúrate de eliminar o comentar la clase antigua .canon-badge 
   porque ya no la usamos en el HTML */

/* --- RESTO DE ESTILOS (MANTENER IGUAL) --- */
/* ... (Todo lo demás del CSS anterior sigue funcionando) ... */
:root {
    --primary: #2563eb;
    --primary-dark: #1e40af;
    --dark: #111827;
    --black: #000000;
    --light: #f3f4f6;
    --white: #ffffff;
    --gray: #6b7280;
    --border: #e5e7eb;
    --shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
    --radius: 12px;
}

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

body {
    font-family: 'Poppins', sans-serif;
    color: var(--dark);
    line-height: 1.6;
    background-color: var(--white);
    overflow-x: hidden;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }

/* HEADER */
header {
    background-color: var(--black);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}
header .container { display: flex; justify-content: space-between; align-items: center; }

.logo-text { color: var(--white); font-size: 1.5rem; font-weight: 700; letter-spacing: 1px; }
.logo-text span { color: var(--primary); }

nav ul { display: flex; list-style: none; gap: 30px; }
nav a { text-decoration: none; color: rgba(255,255,255,0.8); transition: 0.3s; }
nav a:hover { color: var(--white); }

.cotizador-link {
    background-color: var(--primary);
    color: var(--white) !important;
    padding: 8px 20px;
    border-radius: 50px;
    font-weight: 600;
}
.cotizador-link:hover { background-color: var(--primary-dark); }
.mobile-menu { display: none; color: var(--white); font-size: 1.5rem; cursor: pointer; }

/* SLIDER LIMPIO */
.slider-section {
    height: 80vh;
    min-height: 500px;
    position: relative;
    overflow: hidden;
    background: #000;
}
.slider, .slider-container, .slide { height: 100%; width: 100%; }

.slide {
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 1s ease;
}
.slide.active { opacity: 1; }

.slide .bg-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    /* Opacidad completa, sin capa oscura */
    opacity: 1; 
}

/* Indicadores */
.slider-indicators {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 15px;
    z-index: 10;
}
.indicator {
    width: 12px; height: 12px;
    background: rgba(255,255,255,0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}
.indicator.active { background: var(--white); transform: scale(1.3); }

/* SECCIONES GENERALES */
.services-section, .tech-section { padding: 80px 0; }
.services-section { background-color: var(--light); }
.section-header { text-align: center; margin-bottom: 50px; }
.subtitle { color: var(--primary); font-weight: 700; font-size: 0.9rem; display: block; margin-bottom: 10px; }
.section-header h2 { font-size: 2.5rem; }

.services-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 30px; }
.service-card { background: var(--white); padding: 40px 30px; border-radius: var(--radius); box-shadow: var(--shadow); transition: 0.3s; }
.service-card:hover { transform: translateY(-5px); border-bottom: 3px solid var(--primary); }
.icon-box { width: 50px; height: 50px; background: rgba(37,99,235,0.1); color: var(--primary); display: flex; align-items: center; justify-content: center; border-radius: 10px; margin-bottom: 20px; font-size: 1.2rem; }

.tech-container { display: grid; grid-template-columns: 1fr 1fr; gap: 50px; align-items: center; }
.canon { color: #cc0000; }
.tech-list li { margin-bottom: 10px; display: flex; align-items: center; gap: 10px; }
.tech-list i { color: var(--primary); }
.canon-badge { width: 150px; height: 150px; background: #f5f5f5; border-radius: 50%; display: flex; flex-direction: column; align-items: center; justify-content: center; margin: 0 auto; box-shadow: var(--shadow); }
.canon-badge i { font-size: 3rem; margin-bottom: 5px; }

.about-section { background: var(--primary); color: var(--white); padding: 50px 0; }
.stats-grid { display: grid; grid-template-columns: repeat(3, 1fr); text-align: center; }
.stat-item h3 { font-size: 2.5rem; }

/* CONTACTO Y MAPA */
.contact-section { padding: 80px 0; background-color: var(--light); }
.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 1.5fr; /* Info a la izq, Mapa grande a la der */
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow);
}
.contact-info-box {
    background: var(--dark);
    color: var(--white);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.contact-info-box h2 { margin-bottom: 15px; }
.info-item { display: flex; align-items: center; margin-bottom: 25px; }
.info-item i { width: 40px; height: 40px; background: rgba(255,255,255,0.1); border-radius: 50%; display: flex; align-items: center; justify-content: center; margin-right: 15px; color: var(--primary); }

.map-box { height: 100%; min-height: 400px; width: 100%; }
.map-box iframe { width: 100%; height: 100%; display: block; }

/* FOOTER */
footer { background: #000; color: #888; padding: 30px 0; text-align: center; }

/* --- ESTILOS COTIZADOR --- */
.cotizador-container { padding-top: 50px; padding-bottom: 50px; }
.bg-light { background-color: #f8f9fa; }

.controls-area {
    background: var(--white);
    padding: 25px;
    border-radius: var(--radius);
    box-shadow: var(--shadow);
    margin-bottom: 30px;
    border: 1px solid var(--border);
}
.controls-area h2 { margin-bottom: 20px; font-size: 1.5rem; color: var(--primary); }

.input-grid {
    display: grid;
    grid-template-columns: 3fr 1fr 1fr 1fr;
    gap: 15px;
    align-items: end;
    margin-bottom: 20px;
}
.form-group label { display: block; font-size: 0.85rem; font-weight: 600; margin-bottom: 5px; color: var(--gray); }
.form-group input { width: 100%; padding: 10px; border: 1px solid #ddd; border-radius: 6px; }

.add-btn { background: var(--primary); color: white; border: none; padding: 11px 20px; border-radius: 6px; cursor: pointer; width: 100%; font-weight: 600; }
.add-btn:hover { background: var(--primary-dark); }
.delete-btn { background: #fee2e2; color: #dc2626; border: none; width: 30px; height: 30px; border-radius: 4px; cursor: pointer; }
.print-btn { background: var(--dark); color: white; border: none; padding: 12px 25px; border-radius: 6px; cursor: pointer; margin-top: 10px; }
.print-btn:hover { background: #000; }

.invoice-sheet {
    background: white;
    padding: 50px;
    border-radius: 4px; /* Bordes rectos tipo papel */
    box-shadow: 0 0 20px rgba(0,0,0,0.05);
    max-width: 900px;
    margin: 0 auto;
}

.invoice-header { display: flex; justify-content: space-between; margin-bottom: 40px; border-bottom: 2px solid var(--primary); padding-bottom: 20px; }
.inv-logo h1 { font-size: 1.8rem; color: var(--primary); }
.inv-details { text-align: right; }

.invoice-table { width: 100%; border-collapse: collapse; margin-bottom: 30px; }
.invoice-table th { background: var(--light); padding: 12px; text-align: left; font-weight: 600; border-bottom: 2px solid #ddd; }
.invoice-table td { padding: 12px; border-bottom: 1px solid #eee; }
.invoice-table td:nth-child(3), 
.invoice-table td:nth-child(4), 
.invoice-table td:nth-child(5) { text-align: right; }

.invoice-footer { display: flex; justify-content: flex-end; }
.totals-box { width: 300px; }
.total-row { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #eee; }
.grand-total { font-weight: 700; font-size: 1.2rem; border-top: 2px solid var(--dark); color: var(--primary); border-bottom: none; padding-top: 15px; margin-top: 5px; }

/* RESPONSIVE */
@media (max-width: 768px) {
    header nav ul { display: none; }
    .mobile-menu { display: block; }
    .contact-wrapper { grid-template-columns: 1fr; }
    .input-grid { grid-template-columns: 1fr; }
    .invoice-sheet { padding: 20px; }
}

/* IMPRESIÓN (PDF) */
@media print {
    body { background: white; }
    header, footer, .no-print { display: none !important; }
    .invoice-sheet { box-shadow: none; padding: 0; margin: 0; width: 100%; max-width: 100%; }
    .cotizador-container { padding: 0; margin: 0; }
}