/* ============================================
   D3R Landing Page - CSS Profesional
   Versión: 1.2.0
   100% Responsivo - Últimas tendencias
   ============================================ */

/* === RESET & BASE === */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }

:root {
    --d3r-red: #DC2626;
    --d3r-red-dark: #991B1B;
    --d3r-red-light: #FEE2E2;
    --d3r-dark: #111827;
    --d3r-gray-900: #1F2937;
    --d3r-gray-700: #374151;
    --d3r-gray-500: #6B7280;
    --d3r-gray-300: #D1D5DB;
    --d3r-gray-100: #F3F4F6;
    --d3r-white: #FFFFFF;
    --d3r-green: #059669;
    --d3r-blue: #2563EB;
    --d3r-orange: #D97706;
    --d3r-indigo: #4F46E5;
    --d3r-radius: 16px;
    --d3r-radius-sm: 10px;
    --d3r-shadow: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -2px rgba(0,0,0,0.1);
    --d3r-shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.1), 0 8px 10px -6px rgba(0,0,0,0.1);
    --d3r-shadow-xl: 0 25px 50px -12px rgba(0,0,0,0.25);
    --d3r-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html { scroll-behavior: smooth; scroll-padding-top: 80px; }

body.d3r-landing {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--d3r-gray-700);
    line-height: 1.7;
    background: var(--d3r-white);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.d3r-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    width: 100%;
}

img { max-width: 100%; height: auto; display: block; }
a { text-decoration: none; color: inherit; transition: var(--d3r-transition); }

/* === HEADER === */
.d3r-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(255,255,255,0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid transparent;
    transition: var(--d3r-transition);
    padding: 0;
}

.d3r-header.scrolled {
    border-bottom-color: var(--d3r-gray-300);
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
}

.d3r-header .d3r-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.d3r-header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.d3r-header-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
    border-radius: 8px;
}

.d3r-logo-name {
    font-size: 24px;
    font-weight: 800;
    color: var(--d3r-red);
    letter-spacing: -0.5px;
}

.d3r-logo-tagline {
    display: block;
    font-size: 10px;
    color: var(--d3r-gray-500);
    font-weight: 500;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.d3r-nav {
    display: flex;
    align-items: center;
    gap: 8px;
}

.d3r-nav-link {
    padding: 8px 16px;
    font-size: 14px;
    font-weight: 500;
    color: var(--d3r-gray-700);
    border-radius: 8px;
    transition: var(--d3r-transition);
}

.d3r-nav-link:hover,
.d3r-nav-link.active {
    color: var(--d3r-red);
    background: var(--d3r-red-light);
}

.d3r-nav-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--d3r-red);
    color: var(--d3r-white);
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    margin-left: 8px;
    transition: var(--d3r-transition);
}

.d3r-nav-btn:hover {
    background: var(--d3r-red-dark);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220,38,38,0.4);
    color: var(--d3r-white);
}

/* Mobile Menu Toggle */
.d3r-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    z-index: 1001;
}

.d3r-menu-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--d3r-dark);
    border-radius: 2px;
    transition: var(--d3r-transition);
}

.d3r-menu-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.d3r-menu-toggle.active span:nth-child(2) { opacity: 0; }
.d3r-menu-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* === HERO === */
.d3r-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    overflow: hidden;
}

.d3r-hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

.d3r-hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d3r-hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,24,39,0.92) 0%, rgba(17,24,39,0.75) 50%, rgba(220,38,38,0.6) 100%);
    z-index: 1;
}

.d3r-hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 60px;
    padding: 80px 0;
}

.d3r-hero-text {
    flex: 1;
    color: var(--d3r-white);
}

.d3r-hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(220,38,38,0.2);
    border: 1px solid rgba(220,38,38,0.4);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    color: #FCA5A5;
    margin-bottom: 24px;
    backdrop-filter: blur(10px);
}

.d3r-hero-text h1 {
    font-size: clamp(32px, 5vw, 52px);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 20px;
    letter-spacing: -1px;
}

.d3r-hero-text h1 span {
    color: #FCA5A5;
}

.d3r-hero-text > p {
    font-size: 18px;
    line-height: 1.7;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 540px;
}

.d3r-hero-actions {
    display: flex;
    gap: 16px;
    margin-bottom: 48px;
    flex-wrap: wrap;
}

.d3r-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 12px;
    font-size: 15px;
    font-weight: 600;
    font-family: 'Inter', sans-serif;
    cursor: pointer;
    transition: var(--d3r-transition);
    border: 2px solid transparent;
}

.d3r-btn-primary {
    background: var(--d3r-red);
    color: var(--d3r-white);
    border-color: var(--d3r-red);
}

.d3r-btn-primary:hover {
    background: var(--d3r-red-dark);
    border-color: var(--d3r-red-dark);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(220,38,38,0.4);
    color: var(--d3r-white);
}

.d3r-btn-outline {
    background: transparent;
    color: var(--d3r-white);
    border-color: rgba(255,255,255,0.4);
}

.d3r-btn-outline:hover {
    background: rgba(255,255,255,0.1);
    border-color: var(--d3r-white);
    color: var(--d3r-white);
}

.d3r-btn-white {
    background: var(--d3r-white);
    color: var(--d3r-red);
    border-color: var(--d3r-white);
}

.d3r-btn-white:hover {
    background: var(--d3r-gray-100);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.2);
    color: var(--d3r-red);
}

.d3r-btn-whatsapp {
    background: #25D366;
    color: var(--d3r-white);
    border-color: #25D366;
}

.d3r-btn-whatsapp:hover {
    background: #128C7E;
    border-color: #128C7E;
    transform: translateY(-2px);
    color: var(--d3r-white);
}

/* Hero Stats */
.d3r-hero-stats {
    display: flex;
    gap: 40px;
}

.d3r-hero-stat {
    text-align: left;
}

.d3r-stat-number {
    font-size: 36px;
    font-weight: 800;
    color: var(--d3r-white);
    line-height: 1;
}

.d3r-stat-plus {
    font-size: 28px;
    font-weight: 700;
    color: #FCA5A5;
}

.d3r-stat-label {
    display: block;
    font-size: 13px;
    color: rgba(255,255,255,0.7);
    margin-top: 4px;
    font-weight: 500;
}

/* Hero Image */
.d3r-hero-image {
    flex: 0 0 420px;
    position: relative;
}

.d3r-hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--d3r-shadow-xl);
}

/* Hero Wave */
.d3r-hero-wave {
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    z-index: 3;
    line-height: 0;
}

.d3r-hero-wave svg {
    width: 100%;
    height: 80px;
}

/* === SECTIONS === */
.d3r-section {
    padding: 100px 0;
    position: relative;
    z-index: 1;
    background-color: var(--d3r-white);
}

.d3r-section-header {
    text-align: center;
    margin-bottom: 60px;
}

.d3r-section-tag {
    display: inline-block;
    padding: 4px 14px;
    background: var(--d3r-red-light);
    color: var(--d3r-red);
    border-radius: 50px;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.d3r-section-tag-light {
    background: rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.9);
}

.d3r-section-header h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    color: var(--d3r-dark);
    letter-spacing: -0.5px;
    margin-bottom: 16px;
}

.d3r-section-header-light h2 {
    color: var(--d3r-white);
}

.d3r-section-line {
    width: 60px;
    height: 4px;
    background: var(--d3r-red);
    border-radius: 4px;
    margin: 0 auto;
}

.d3r-section-line-light {
    background: rgba(255,255,255,0.5);
}

.d3r-section-subtitle {
    font-size: 16px;
    color: var(--d3r-gray-500);
    max-width: 600px;
    margin: 20px auto 0;
    line-height: 1.7;
}

/* === QUIÉNES SOMOS === */
.d3r-nosotros { background-color: var(--d3r-white); z-index: 2; }

.d3r-nosotros-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.d3r-text-lead {
    font-size: 20px;
    color: var(--d3r-dark);
    line-height: 1.6;
    margin-bottom: 16px;
}

.d3r-nosotros-text p {
    margin-bottom: 16px;
    font-size: 15px;
    line-height: 1.8;
}

.d3r-nosotros-highlights {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.d3r-highlight {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--d3r-gray-100);
    border-radius: var(--d3r-radius-sm);
    transition: var(--d3r-transition);
}

.d3r-highlight:hover {
    background: var(--d3r-red-light);
    transform: translateX(4px);
}

.d3r-highlight-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--d3r-red);
    color: var(--d3r-white);
    border-radius: 12px;
}

.d3r-highlight strong {
    display: block;
    font-size: 15px;
    color: var(--d3r-dark);
}

.d3r-highlight span {
    font-size: 13px;
    color: var(--d3r-gray-500);
}

.d3r-nosotros-images {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.d3r-img-main img,
.d3r-img-secondary img {
    width: 100%;
    height: 280px;
    object-fit: cover;
    border-radius: var(--d3r-radius);
    box-shadow: var(--d3r-shadow-lg);
    transition: var(--d3r-transition);
}

.d3r-img-main img:hover,
.d3r-img-secondary img:hover {
    transform: scale(1.02);
}

/* === MISIÓN === */
.d3r-mision {
    position: relative;
    z-index: 2;
    padding: 120px 0;
    overflow: hidden;
}

.d3r-mision-bg {
    position: absolute;
    inset: 0;
}

.d3r-mision-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.d3r-mision-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(17,24,39,0.9) 0%, rgba(220,38,38,0.8) 100%);
}

.d3r-mision-content {
    position: relative;
    z-index: 2;
}

.d3r-mision-quote {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
    position: relative;
}

.d3r-quote-icon {
    color: rgba(255,255,255,0.15);
    margin-bottom: 24px;
}

.d3r-mision-quote p {
    font-size: clamp(18px, 2.5vw, 24px);
    color: var(--d3r-white);
    line-height: 1.8;
    font-weight: 300;
    font-style: italic;
}

/* === PRODUCTOS === */
.d3r-productos { background-color: var(--d3r-gray-100); z-index: 2; }

.d3r-productos-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
}

.d3r-producto-card {
    background: var(--d3r-white);
    border-radius: var(--d3r-radius);
    overflow: hidden;
    box-shadow: var(--d3r-shadow);
    transition: var(--d3r-transition);
    display: flex;
    flex-direction: column;
}

.d3r-producto-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--d3r-shadow-xl);
}

.d3r-producto-img {
    position: relative;
    height: 260px;
    overflow: hidden;
    background: var(--d3r-gray-100);
}

.d3r-producto-img img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 16px;
    transition: var(--d3r-transition);
}

.d3r-producto-img-cover img {
    object-fit: cover;
    padding: 0;
}

.d3r-producto-card:hover .d3r-producto-img img {
    transform: scale(1.05);
}

.d3r-producto-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    padding: 6px 14px;
    background: var(--d3r-red);
    color: var(--d3r-white);
    border-radius: 50px;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.d3r-badge-blue { background: var(--d3r-blue); }
.d3r-badge-green { background: var(--d3r-green); }
.d3r-badge-orange { background: var(--d3r-orange); }

.d3r-producto-info {
    padding: 28px;
    flex: 1;
}

.d3r-producto-info h3 {
    font-size: 22px;
    font-weight: 700;
    color: var(--d3r-dark);
    margin-bottom: 12px;
}

.d3r-producto-desc {
    font-size: 14px;
    color: var(--d3r-gray-500);
    line-height: 1.7;
    margin-bottom: 16px;
}

.d3r-producto-specs {
    display: flex;
    gap: 16px;
    margin-bottom: 16px;
    flex-wrap: wrap;
}

.d3r-spec {
    font-size: 13px;
    color: var(--d3r-gray-700);
    padding: 4px 12px;
    background: var(--d3r-gray-100);
    border-radius: 6px;
}

.d3r-producto-features {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.d3r-producto-features li {
    font-size: 13px;
    color: var(--d3r-gray-700);
    padding-left: 20px;
    position: relative;
}

.d3r-producto-features li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 6px;
    width: 8px;
    height: 8px;
    background: var(--d3r-red);
    border-radius: 50%;
}

/* === VALORES === */
.d3r-valores { background-color: var(--d3r-white); z-index: 2; }

.d3r-valores-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 24px;
    margin-bottom: 80px;
}

.d3r-valor-card {
    text-align: center;
    padding: 32px 20px;
    background: var(--d3r-white);
    border: 2px solid var(--d3r-gray-100);
    border-radius: var(--d3r-radius);
    transition: var(--d3r-transition);
}

.d3r-valor-card:hover {
    border-color: var(--d3r-red);
    transform: translateY(-4px);
    box-shadow: var(--d3r-shadow-lg);
}

.d3r-valor-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--d3r-red-light);
    color: var(--d3r-red);
    border-radius: 16px;
    margin: 0 auto 20px;
    transition: var(--d3r-transition);
}

.d3r-valor-card:hover .d3r-valor-icon {
    background: var(--d3r-red);
    color: var(--d3r-white);
}

.d3r-valor-card h3 {
    font-size: 16px;
    font-weight: 700;
    color: var(--d3r-dark);
    margin-bottom: 12px;
}

.d3r-valor-card p {
    font-size: 13px;
    color: var(--d3r-gray-500);
    line-height: 1.7;
}

/* Principios */
.d3r-principios {
    background: var(--d3r-gray-100);
    border-radius: var(--d3r-radius);
    padding: 48px;
}

.d3r-principios-title {
    text-align: center;
    font-size: 24px;
    font-weight: 700;
    color: var(--d3r-dark);
    margin-bottom: 40px;
}

.d3r-principios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
}

.d3r-principio {
    padding: 24px;
    background: var(--d3r-white);
    border-radius: var(--d3r-radius-sm);
    box-shadow: var(--d3r-shadow);
}

.d3r-principio-number {
    font-size: 36px;
    font-weight: 900;
    color: var(--d3r-red-light);
    margin-bottom: 12px;
    line-height: 1;
}

.d3r-principio h4 {
    font-size: 18px;
    font-weight: 700;
    color: var(--d3r-dark);
    margin-bottom: 12px;
}

.d3r-principio p {
    font-size: 14px;
    color: var(--d3r-gray-500);
    line-height: 1.7;
}

/* === DISTRIBUCIÓN === */
.d3r-distribucion { background-color: var(--d3r-gray-100); z-index: 2; }

.d3r-distribucion-gallery {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.d3r-gallery-item {
    position: relative;
    border-radius: var(--d3r-radius);
    overflow: hidden;
    height: 260px;
    cursor: pointer;
}

.d3r-gallery-large {
    grid-column: span 2;
    height: 320px;
}

.d3r-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--d3r-transition);
}

.d3r-gallery-item:hover img {
    transform: scale(1.08);
}

.d3r-gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 24px;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: var(--d3r-white);
    transform: translateY(20px);
    opacity: 0;
    transition: var(--d3r-transition);
}

.d3r-gallery-item:hover .d3r-gallery-caption {
    transform: translateY(0);
    opacity: 1;
}

.d3r-gallery-caption h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.d3r-gallery-caption p {
    font-size: 13px;
    opacity: 0.8;
}

/* === CONTACTO === */
.d3r-contacto { background-color: var(--d3r-white); z-index: 2; }

.d3r-contacto-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: start;
}

.d3r-contacto-info {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.d3r-contacto-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: var(--d3r-gray-100);
    border-radius: var(--d3r-radius-sm);
    transition: var(--d3r-transition);
}

.d3r-contacto-card:hover {
    background: var(--d3r-white);
    box-shadow: var(--d3r-shadow-lg);
    transform: translateX(4px);
}

.d3r-contacto-icon {
    flex-shrink: 0;
    width: 52px;
    height: 52px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--d3r-red);
    color: var(--d3r-white);
    border-radius: 14px;
}

.d3r-icon-green { background: var(--d3r-green); }
.d3r-icon-blue { background: var(--d3r-blue); }
.d3r-icon-indigo { background: var(--d3r-indigo); }

.d3r-contacto-card h4 {
    font-size: 16px;
    font-weight: 700;
    color: var(--d3r-dark);
    margin-bottom: 8px;
}

.d3r-contacto-card p {
    font-size: 14px;
    color: var(--d3r-gray-500);
    line-height: 1.6;
    margin: 0;
}

.d3r-contacto-card a {
    color: var(--d3r-red);
    font-weight: 500;
}

.d3r-contacto-card a:hover {
    text-decoration: underline;
}

.d3r-contacto-map {
    height: 480px;
    border-radius: var(--d3r-radius);
    overflow: hidden;
    box-shadow: var(--d3r-shadow-lg);
}

/* === CTA === */
.d3r-cta {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--d3r-red) 0%, var(--d3r-red-dark) 100%);
    position: relative;
    z-index: 2;
}

.d3r-cta-content {
    text-align: center;
    color: var(--d3r-white);
}

.d3r-cta-content h2 {
    font-size: clamp(28px, 4vw, 40px);
    font-weight: 800;
    margin-bottom: 16px;
}

.d3r-cta-content p {
    font-size: 18px;
    opacity: 0.9;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.d3r-cta-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* === FOOTER === */
.d3r-footer {
    background: var(--d3r-dark);
    color: rgba(255,255,255,0.7);
    padding: 64px 0 0;
    position: relative;
    z-index: 2;
}

.d3r-footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
    padding-bottom: 48px;
    border-bottom: 1px solid rgba(255,255,255,0.1);
}

.d3r-footer-logo {
    width: 60px;
    height: 60px;
    object-fit: contain;
    border-radius: 12px;
    margin-bottom: 16px;
}

.d3r-footer-slogan {
    font-size: 14px;
    font-weight: 600;
    color: #FCA5A5;
    margin-bottom: 12px;
}

.d3r-footer-desc {
    font-size: 14px;
    line-height: 1.7;
}

.d3r-footer-links h4,
.d3r-footer-contact h4 {
    font-size: 15px;
    font-weight: 700;
    color: var(--d3r-white);
    margin-bottom: 20px;
}

.d3r-footer-links a {
    display: block;
    font-size: 14px;
    color: rgba(255,255,255,0.6);
    padding: 6px 0;
    transition: var(--d3r-transition);
}

.d3r-footer-links a:hover {
    color: var(--d3r-white);
    padding-left: 4px;
}

.d3r-footer-contact p {
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 8px;
}

.d3r-footer-contact a {
    color: #FCA5A5;
}

.d3r-footer-contact a:hover {
    color: var(--d3r-white);
}

.d3r-footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 0;
}

.d3r-footer-bottom p {
    font-size: 13px;
    margin: 0;
}

.d3r-powered a {
    color: #FCA5A5;
}

/* === WHATSAPP FLOAT === */
.d3r-whatsapp-float {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 60px;
    height: 60px;
    background: #25D366;
    color: var(--d3r-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(37,211,102,0.4);
    z-index: 999;
    transition: var(--d3r-transition);
    animation: d3r-pulse 2s infinite;
}

.d3r-whatsapp-float:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37,211,102,0.5);
    color: var(--d3r-white);
}

@keyframes d3r-pulse {
    0%, 100% { box-shadow: 0 4px 20px rgba(37,211,102,0.4); }
    50% { box-shadow: 0 4px 30px rgba(37,211,102,0.6); }
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 1024px) {
    .d3r-hero-image { flex: 0 0 340px; }
    .d3r-valores-grid { grid-template-columns: repeat(3, 1fr); }
    .d3r-footer-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
    .d3r-menu-toggle { display: flex; }
    
    .d3r-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: var(--d3r-white);
        flex-direction: column;
        padding: 80px 32px 32px;
        box-shadow: var(--d3r-shadow-xl);
        transition: right 0.3s ease;
        gap: 4px;
        align-items: stretch;
        z-index: 1000;
    }

    .d3r-nav.open { right: 0; }

    .d3r-nav-link {
        padding: 14px 16px;
        font-size: 16px;
        border-radius: 10px;
    }

    .d3r-nav-btn {
        margin-left: 0;
        margin-top: 16px;
        justify-content: center;
        padding: 14px 20px;
    }

    .d3r-hero-content { flex-direction: column; text-align: center; padding: 60px 0; }
    .d3r-hero-text > p { margin-left: auto; margin-right: auto; }
    .d3r-hero-actions { justify-content: center; }
    .d3r-hero-stats { justify-content: center; }
    .d3r-hero-image { flex: 0 0 auto; max-width: 360px; }

    .d3r-nosotros-grid { grid-template-columns: 1fr; gap: 40px; }
    .d3r-productos-grid { grid-template-columns: 1fr; }
    .d3r-valores-grid { grid-template-columns: repeat(2, 1fr); }
    .d3r-principios-grid { grid-template-columns: 1fr; }
    .d3r-principios { padding: 32px; }
    .d3r-distribucion-gallery { grid-template-columns: repeat(2, 1fr); }
    .d3r-gallery-large { grid-column: span 2; }
    .d3r-contacto-grid { grid-template-columns: 1fr; }
    .d3r-contacto-map { height: 350px; }
}

@media (max-width: 640px) {
    .d3r-container { padding: 0 16px; }
    .d3r-section { padding: 64px 0; }
    
    .d3r-hero { min-height: auto; padding-top: 72px; }
    .d3r-hero-content { padding: 40px 0 60px; }
    .d3r-hero-stats { flex-direction: column; gap: 16px; align-items: center; }
    .d3r-hero-stat { text-align: center; }
    .d3r-hero-image { max-width: 280px; }
    .d3r-hero-actions { flex-direction: column; }
    .d3r-btn { justify-content: center; width: 100%; }

    .d3r-valores-grid { grid-template-columns: 1fr; }
    .d3r-distribucion-gallery { grid-template-columns: 1fr; }
    .d3r-gallery-large { grid-column: span 1; height: 260px; }
    .d3r-gallery-item { height: 220px; }
    .d3r-gallery-caption { transform: none; opacity: 1; }

    .d3r-footer-grid { grid-template-columns: 1fr; gap: 32px; }
    .d3r-footer-bottom { flex-direction: column; gap: 8px; text-align: center; }

    .d3r-logo-tagline { display: none; }
}

/* === ANIMATIONS (scroll reveal) === */
.d3r-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.d3r-reveal.revealed {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

/* Ensure all images are always visible */
.d3r-landing img {
    opacity: 1 !important;
}
