@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;600;800&family=Inter:wght@300;400;600;700&display=swap');

#dr-elite-platform { font-family: 'Inter', sans-serif; background-color: #050505; color: #f4f4f4; line-height: 1.6; margin: 0; padding: 0; -webkit-font-smoothing: antialiased; }
#dr-elite-platform h1, #dr-elite-platform h2, #dr-elite-platform h3 { font-family: 'Montserrat', sans-serif; text-transform: uppercase; margin-top: 0; }
.dr-container { max-width: 1200px; margin: 0 auto; padding: 0 20px; }
.dr-container-fluid { max-width: 95%; margin: 0 auto; padding: 0 20px; }
.dr-section { padding: 100px 0; border-bottom: 1px solid #1a1a1a; }
.dr-section-title { font-size: 2.5rem; font-weight: 800; text-align: center; margin-bottom: 60px; color: #fff; letter-spacing: 2px; }
.dr-grid-2 { display: grid; grid-template-columns: repeat(auto-fit, minmax(400px, 1fr)); gap: 60px; }
.dr-align-center { align-items: center; }
.dr-text-center { text-align: center; }
.dr-mb-40 { margin-bottom: 40px; }
.dr-mb-15 { margin-bottom: 15px; }
.dr-relative { position: relative; z-index: 2; }

/* HEADER & HERO */
.dr-header { position: absolute; top: 0; width: 100%; z-index: 100; padding: 30px 0; }
.dr-header-inner { display: flex; justify-content: space-between; align-items: center; }
#dr-elite-platform .dr-header-inner .dr-logo { height: 54px !important; width: auto !important; max-width: 400px !important; opacity: 0.9; display: block !important; }
.dr-lang-selector span { cursor: pointer; font-weight: 700; color: #666; transition: 0.3s; font-size: 1.1rem; }
.dr-lang-selector span.active, .dr-lang-selector span:hover { color: #fff; }

.dr-hero { height: 100vh; min-height: 700px; background-size: cover; background-position: center; position: relative; display: flex; align-items: center; }
.dr-hero-overlay { position: absolute; inset: 0; background: linear-gradient(90deg, rgba(0,0,0,0.9) 0%, rgba(0,0,0,0.5) 100%); }
.dr-hero-content { position: relative; z-index: 2; max-width: 800px; }
.dr-badge { border-left: 3px solid #d31111; padding: 5px 15px; font-size: 0.8rem; font-weight: 600; letter-spacing: 1px; margin-bottom: 20px; color: #aaa; }
.dr-hero-content h1 { font-size: 4.5rem; font-weight: 800; line-height: 1.1; margin-bottom: 20px; }
.dr-hero-subtitle { font-size: 1.3rem; color: #ffffff; margin-bottom: 40px; font-weight: 400; text-shadow: 1px 1px 3px rgba(0,0,0,0.8); }

/* BUTTONS */
.dr-btn { display: inline-block; font-family: 'Montserrat', sans-serif; padding: 18px 20px; font-size: 1rem; font-weight: 600; letter-spacing: 1px; border: none; cursor: pointer; transition: 0.3s; text-transform: uppercase; text-align: center; text-decoration: none; box-sizing: border-box; }
.dr-btn-primary { background-color: #d31111; color: #fff; }
.dr-btn-primary:hover { background-color: #ff1a1a; box-shadow: 0 0 20px rgba(211, 17, 17, 0.4); }
.dr-btn-secondary { background-color: #222; color: #ccc; border: 1px solid #444; }
.dr-btn-secondary:hover { background-color: #333; color: #fff; border-color: #555; }
.dr-w-full { width: 100%; display: block; }

/* ABOUT */
.dr-about-text h2 { font-size: 2.5rem; margin-bottom: 30px; }
.dr-about-text p { color: #aaa; font-size: 1.1rem; }
.dr-about-image img { width: 100%; border-radius: 4px; filter: grayscale(20%); }
.dr-quote-box { margin-top: 60px; text-align: center; max-width: 800px; margin-left: auto; margin-right: auto; padding: 40px; border: 1px solid #222; background: #0a0a0a; border-radius: 4px; }
.dr-quote-box p { font-size: 1.5rem; font-weight: 300; font-style: italic; color: #fff; margin-bottom: 20px; }
.dr-author { font-weight: 600; color: #d31111; text-transform: uppercase; letter-spacing: 1px; }

/* WARNING */
.dr-warning { position: relative; padding: 100px 0; text-align: center; background-size: cover; background-position: center; background-attachment: fixed; }
.dr-warning-overlay { position: absolute; inset: 0; background: rgba(10, 0, 0, 0.85); }
.dr-warning-content { position: relative; z-index: 2; max-width: 800px; }
.dr-warning h2 { font-size: 3rem; color: #d31111; }
.dr-warning p { font-size: 1.2rem; color: #ccc; }

/* GALLERY SECTION */
.dr-gallery-section { width: 100%; background: #000; overflow: hidden; display: block; }
.dr-gallery-grid { display: grid; grid-template-columns: repeat(5, 1fr); gap: 0; }
.dr-gallery-item { cursor: pointer; position: relative; overflow: hidden; aspect-ratio: 1 / 1; }
.dr-gallery-item img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease, filter 0.4s ease; display: block; filter: brightness(0.7); }
.dr-gallery-item:hover img { transform: scale(1.1); filter: brightness(1.1); }

/* LIGHTBOX (Pantalla Completa) */
.dr-lightbox { display: none; position: fixed; z-index: 99999; left: 0; top: 0; width: 100%; height: 100%; background-color: rgba(0,0,0,0.95); backdrop-filter: blur(5px); justify-content: center; align-items: center; }
.dr-lightbox-content { max-width: 90%; max-height: 90vh; object-fit: contain; animation: zoomIn 0.3s ease; box-shadow: 0 0 30px rgba(0,0,0,0.8); border-radius: 4px; }
.dr-lightbox-close { position: absolute; top: 20px; right: 40px; color: #fff; font-size: 50px; font-weight: 300; cursor: pointer; transition: 0.3s; z-index: 100000; line-height: 1; }
.dr-lightbox-close:hover { color: #d31111; }

@keyframes zoomIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* WORKFLOW */
.dr-workflow { max-width: 700px; margin: 0 auto; position: relative; }
.dr-workflow::before { content: ''; position: absolute; left: 54px; top: 10px; bottom: 0; width: 2px; background: #222; }
.dr-step { display: flex; margin-bottom: 50px; position: relative; align-items: flex-start; }
.dr-step-icon-img { width: 110px; height: auto; z-index: 2; flex-shrink: 0; border-radius: 8px; overflow: hidden; box-shadow: 0 5px 15px rgba(0,0,0,0.5); background: #111; }
.dr-step-icon-img img { width: 100%; height: auto; display: block; }
.dr-step-info { padding-left: 40px; padding-top: 5px; }
.dr-step-info h3 { font-size: 1.3rem; color: #fff; margin-bottom: 10px; letter-spacing: 1px; }
.dr-step-info p { color: #bbb; margin: 0; font-size: 1rem; }

/* SERVICES */
.dr-services { background: #0a0a0a; }
.dr-service-img-wrapper img { width: 100%; border-radius: 4px; }
.dr-service-list ul { list-style: none; padding: 0; margin: 0; }
.dr-service-list li { padding: 15px 0; border-bottom: 1px solid #222; color: #ccc; font-size: 1.1rem; display: flex; align-items: center; }
.dr-service-list li::before { content: ''; display: inline-block; width: 8px; height: 8px; background: #d31111; margin-right: 15px; border-radius: 50%; }

/* ROI BOX */
.dr-roi-box { background: #0a0a0a; border: 1px solid #222; padding: 40px; border-radius: 4px; margin-bottom: 40px; }
.dr-roi-box h3 { text-align: center; margin-bottom: 20px; }
.dr-roi-box p { text-align: center; color: #aaa; margin-bottom: 30px; }
.dr-table-responsive { overflow-x: auto; }
.dr-table { width: 100%; border-collapse: collapse; text-align: left; }
.dr-table th, .dr-table td { padding: 12px 15px; border-bottom: 1px solid #222; font-size: 0.95rem; }
.dr-table th { font-family: 'Montserrat', sans-serif; text-transform: uppercase; color: #666; font-size: 0.85rem; letter-spacing: 1px; }
.dr-positive { color: #00ff66; font-weight: 600; }
.dr-negative { color: #ff3333; }
.dr-highlight-row { background: rgba(255, 255, 255, 0.04); }
.dr-tradein-banner { background: rgba(211, 17, 17, 0.1); border: 1px solid #d31111; padding: 30px; text-align: center; border-radius: 4px; }
.dr-tradein-banner strong { color: #d31111; font-family: 'Montserrat', sans-serif; font-size: 1.5rem; display: block; margin-bottom: 10px; }

/* HARDWARE CARDS */
.dr-hardware { background: #0a0a0a; }
.dr-card { background: #111; border: 1px solid #222; border-radius: 4px; overflow: hidden; display: flex; flex-direction: column; }
/* SOLUCIÓN AL FONDO DE LAS IMÁGENES: Fondo blanco y contain */
.dr-card-img { height: 300px; background-color: #ffffff; background-size: contain; background-repeat: no-repeat; background-position: center; border-bottom: 1px solid #222; padding: 20px; box-sizing: border-box; }
.dr-card-content { padding: 40px; flex-grow: 1; display: flex; flex-direction: column; justify-content: space-between; }
.dr-card-content h3 { font-size: 2rem; margin-bottom: 10px; }
.dr-small-text { color: #888; font-size: 0.9rem; margin-bottom: 20px; }

/* CHECKBOXES */
.dr-calc-group { margin-bottom: 30px; flex-grow: 1; }
.dr-calc-item { display: flex; align-items: center; margin-bottom: 15px; cursor: pointer; }
.dr-calc-item input { display: none; }
.dr-checkbox { width: 20px; height: 20px; border: 2px solid #444; margin-right: 15px; transition: 0.2s; position: relative; border-radius: 3px; }
.dr-calc-item input:checked + .dr-checkbox { background: #d31111; border-color: #d31111; }
.dr-calc-item input:checked + .dr-checkbox::after { content: ''; position: absolute; left: 5px; top: 1px; width: 4px; height: 10px; border: solid white; border-width: 0 2px 2px 0; transform: rotate(45deg); }
.dr-calc-label { color: #ccc; font-size: 0.95rem; }
.dr-no-hover { cursor: default; }
.dr-check-icon { color: #d31111; font-weight: bold; margin-right: 15px; width: 20px; text-align: center; }

/* TOTALS BOX */
.dr-calc-totals { background: #050505; border: 1px solid #222; padding: 25px; margin-bottom: 30px; border-radius: 4px; }
.dr-calc-row { display: flex; justify-content: space-between; align-items: center; margin-bottom: 12px; color: #aaa; font-size: 0.95rem; }
.dr-strike { text-decoration: line-through; color: #666; }
.dr-total { font-size: 1.3rem; font-weight: bold; color: #fff; padding-top: 15px; border-top: 1px solid #222; font-family: 'Montserrat', sans-serif; }
.dr-total span:last-child { color: #fff; }
.dr-finance { color: #fff; }
.dr-finance span:last-child { color: #00ff66; font-weight: bold; font-size: 1.1rem; }
.dr-installments { font-size: 0.85rem; color: #888; margin-bottom: 0; }

/* CONTACT FORM */
.dr-contact { position: relative; background-size: cover; background-position: center; background-attachment: fixed; }
.dr-contact-overlay { position: absolute; inset: 0; background: rgba(5, 5, 5, 0.9); }
.dr-form-box { max-width: 600px; margin: 0 auto; background: #0a0a0a; border: 1px solid #222; padding: 50px; text-align: center; border-radius: 4px; }
.dr-form-box h2 { margin-bottom: 15px; }
.dr-form-box p { color: #aaa; margin-bottom: 30px; }
.dr-form input { width: 100%; padding: 18px 20px; margin-bottom: 20px; background: #111; border: 1px solid #333; color: #fff; font-family: 'Inter', sans-serif; font-size: 1rem; box-sizing: border-box; outline: none; transition: 0.3s; }
.dr-form input:focus { border-color: #d31111; }

@media (max-width: 768px) {
    .dr-hero-content h1 { font-size: 3rem; }
    .dr-section-title { font-size: 2rem; }
    .dr-grid-2 { grid-template-columns: 1fr; }
    .dr-header { padding: 20px 0; }
    .dr-gallery-grid { grid-template-columns: repeat(2, 1fr); }
    .dr-gallery-item:last-child { grid-column: span 2; }
}