/* ==========================================================================
   DESIGN SYSTEM & VARIABLES
   ========================================================================== */
:root {
    /* Colors - HSL Base */
    --bg-dark: hsl(224, 71%, 4%);
    --bg-dark-rgb: 10, 17, 40;
    --bg-card: hsl(223, 50%, 8%);
    --bg-card-hover: hsl(223, 48%, 11%);
    --bg-glass: rgba(10, 17, 40, 0.7);
    
    --primary: hsl(220, 100%, 55%); /* #1a62ff - Electric Blue */
    --primary-rgb: 26, 98, 255;
    --primary-hover: hsl(220, 100%, 48%);
    --secondary: hsl(197, 100%, 48%); /* #00bfff - Deep Sky Blue */
    --secondary-hover: hsl(197, 100%, 40%);
    
    --text-white: hsl(210, 40%, 98%);
    --text-gray: hsl(215, 20%, 70%);
    --text-light-gray: hsl(215, 20%, 85%);
    --border-color: rgba(255, 255, 255, 0.08);
    --border-color-glow: rgba(26, 98, 255, 0.2);
    
    --success: hsl(142, 76%, 40%);
    --danger: hsl(0, 84%, 60%);
    --warning: hsl(38, 92%, 50%);
    
    /* Fonts */
    --font-title: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-normal: 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    --transition-slow: 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-light-gray);
    font-family: var(--font-body);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-title);
    color: var(--text-white);
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
    transition: var(--transition-fast);
}

ul {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button, input, textarea, select {
    font-family: inherit;
    font-size: inherit;
    background: none;
    border: none;
    outline: none;
}

button {
    cursor: pointer;
}

/* ==========================================================================
   REUSABLE LAYOUT UTILITIES
   ========================================================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid {
    display: grid;
    gap: 1.5rem;
}

.flex {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section {
    padding: 6rem 0 4rem;
}

.section-header {
    text-align: center;
    max-width: 700px;
    margin: 0 auto 3.5rem;
}

.section-subtitle {
    display: inline-block;
    color: var(--secondary);
    font-family: var(--font-title);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.85rem;
    margin-bottom: 0.75rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--text-white) 30%, var(--text-gray) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
}

/* Glassmorphism utility */
.glass {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border-color);
    border-radius: 16px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.3);
    transition: var(--transition-normal);
}

.glass-card {
    background: rgba(15, 23, 42, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.05);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--bg-card);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.85rem 1.8rem;
    border-radius: 8px;
    font-weight: 600;
    font-family: var(--font-title);
    transition: var(--transition-normal);
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, #0044cc 100%);
    color: var(--text-white);
    box-shadow: 0 4px 15px rgba(26, 98, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(26, 98, 255, 0.5);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--bg-dark);
    font-weight: 700;
}

.btn-secondary:hover {
    background: var(--secondary-hover);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 191, 255, 0.3);
}

.btn-outline {
    border: 1px solid var(--border-color);
    color: var(--text-white);
}

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

.btn-block {
    display: flex;
    width: 100%;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
}

/* ==========================================================================
   HEADER & NAVBAR
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: rgba(10, 17, 40, 0.2);
    border-bottom: 1px solid transparent;
    transition: var(--transition-normal);
}

/* Scrolled Navbar class added by JS */
.header-scrolled {
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    padding: 0.75rem 0;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 5.5rem;
}

.logo {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 1.4rem;
    color: var(--text-white);
    letter-spacing: 1px;
}

.logo-accent {
    color: var(--secondary);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-list {
    display: flex;
    gap: 2rem;
}

.nav-link {
    font-weight: 500;
    font-size: 0.95rem;
    color: var(--text-gray);
    position: relative;
    padding: 0.5rem 0;
}

.nav-link:hover, .nav-link.active-link {
    color: var(--text-white);
}

/* Link active underline effect */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--secondary);
    transition: var(--transition-fast);
}

.nav-link:hover::after, .nav-link.active-link::after {
    width: 100%;
}

.nav-toggle {
    display: none;
    color: var(--text-white);
}

.mobile-only {
    display: none;
}

/* ==========================================================================
   HERO SECTION
   ========================================================================== */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 0 4rem;
    overflow: hidden;
}

.hero-glow {
    position: absolute;
    top: -200px;
    right: -200px;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(26, 98, 255, 0.15) 0%, rgba(0, 0, 0, 0) 70%);
    z-index: -1;
    pointer-events: none;
}

.hero-container {
    grid-template-columns: 1.1fr 0.9fr;
    align-items: center;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.15;
    background: linear-gradient(135deg, var(--text-white) 40%, var(--secondary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 1.2rem;
}

.hero-subtext {
    font-size: 1.05rem;
    font-weight: 500;
    color: var(--text-white);
    margin-bottom: 2.5rem;
    border-left: 3px solid var(--secondary);
    padding-left: 1rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.hero-image-wrapper {
    position: relative;
    width: 100%;
    max-width: 450px;
}

.hero-img {
    border-radius: 24px;
    width: 100%;
    object-fit: cover;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--border-color);
}

/* Floating Badges */
.hero-badge {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(10, 17, 40, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border-color-glow);
    border-radius: 12px;
    padding: 0.75rem 1rem;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    animation: float 4s ease-in-out infinite;
}

.badge-icon {
    font-size: 1.5rem;
}

.badge-text h4 {
    font-size: 0.9rem;
    margin-bottom: 0.1rem;
}

.badge-text p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.badge-1 {
    top: 15%;
    left: -15%;
}

.badge-2 {
    bottom: 15%;
    right: -10%;
    animation-delay: 2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* ==========================================================================
   BENEFICIOS (¿POR QUÉ ELEGIRNOS?)
   ========================================================================== */
.beneficios-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.beneficio-card {
    padding: 2.5rem 2rem;
    text-align: left;
}

.beneficio-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-glow);
    box-shadow: 0 12px 40px rgba(26, 98, 255, 0.15);
}

.beneficio-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: rgba(26, 98, 255, 0.1);
    color: var(--secondary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 191, 255, 0.2);
}

.beneficio-card h3 {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.beneficio-card p {
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.servicios-grid {
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
}

.servicio-card {
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.servicio-card:hover {
    transform: scale(1.02);
    border-color: var(--border-color-glow);
}

.servicio-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.25rem;
}

.servicio-num {
    font-family: var(--font-title);
    font-weight: 800;
    font-size: 2rem;
    background: linear-gradient(135deg, rgba(255,255,255,0.03) 0%, rgba(255,255,255,0.15) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    border-bottom: 2px solid var(--secondary);
}

.servicio-card h3 {
    font-size: 1.35rem;
    text-align: right;
    max-width: 75%;
}

.servicio-desc {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 1.5rem;
    flex-grow: 1;
}

.servicio-list {
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.servicio-list li {
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.bullet {
    color: var(--secondary);
    font-weight: bold;
}

/* ==========================================================================
   ALQUILER DE IMPRESORAS
   ========================================================================== */
.alquiler-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2.5rem;
    margin-bottom: 5rem;
    align-items: stretch;
}

.alquiler-card {
    padding: 3rem 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: var(--transition-normal);
}

.alquiler-card:hover {
    transform: translateY(-5px);
    border-color: var(--border-color-glow);
    box-shadow: 0 12px 40px rgba(26, 98, 255, 0.15);
}

.alquiler-card.popular {
    border-color: var(--secondary);
    background: linear-gradient(180deg, rgba(0, 191, 255, 0.05) 0%, rgba(10, 17, 40, 0.8) 100%);
    box-shadow: 0 8px 32px 0 rgba(0, 191, 255, 0.15);
}

.alquiler-card.popular:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 45px rgba(0, 191, 255, 0.25);
}

.popular-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--bg-dark);
    font-weight: 800;
    font-size: 0.75rem;
    padding: 0.35rem 1rem;
    border-radius: 30px;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 10px rgba(0, 191, 255, 0.3);
    white-space: nowrap;
}

.alquiler-header {
    text-align: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
}

.alquiler-header h3 {
    font-size: 1.5rem;
    font-family: var(--font-title);
    margin-bottom: 0.75rem;
}

.alquiler-price {
    font-family: var(--font-title);
    font-size: 0.95rem;
    color: var(--text-gray);
}

.alquiler-price span {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    display: inline-block;
}

.alquiler-target {
    font-size: 0.95rem;
    color: var(--text-light-gray);
    margin-bottom: 2rem;
    min-height: 3.5rem;
    text-align: center;
}

.alquiler-features {
    display: flex;
    flex-direction: column;
    gap: 0.85rem;
    margin-bottom: 2.5rem;
    flex-grow: 1;
}

.alquiler-features li {
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--text-gray);
}

.alquiler-features li .bullet {
    color: var(--secondary);
    font-size: 1rem;
}

.alquiler-benefits-grid {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    border-top: 1px solid var(--border-color);
    padding-top: 4rem;
}

.alquiler-benefit-item {
    align-items: flex-start;
    gap: 1.25rem;
}

.alquiler-benefit-item .info-icon {
    font-size: 1.8rem;
    background: rgba(0, 191, 255, 0.08);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(0, 191, 255, 0.15);
    flex-shrink: 0;
}

.alquiler-benefit-item h4 {
    font-size: 1.1rem;
    font-family: var(--font-title);
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-white);
}

.alquiler-benefit-item p {
    font-size: 0.9rem;
    color: var(--text-gray);
    line-height: 1.5;
}

/* ==========================================================================
   CATÁLOGO
   ========================================================================== */
.catalogo-filters {
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-btn {
    padding: 0.6rem 1.2rem;
    border-radius: 30px;
    font-weight: 600;
    font-size: 0.9rem;
    color: var(--text-gray);
    border: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.02);
    transition: var(--transition-fast);
}

.filter-btn:hover, .filter-btn.active {
    color: var(--text-white);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 10px rgba(26, 98, 255, 0.3);
}

.catalogo-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card {
    display: flex;
    flex-direction: column;
    overflow: hidden;
    height: 100%;
}

.product-img-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: var(--bg-dark);
}

.product-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-slow);
}

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

.product-category-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--primary);
    color: var(--text-white);
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
}

.product-info {
    padding: 1.5rem;
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.product-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.product-desc {
    font-size: 0.85rem;
    color: var(--text-gray);
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex-grow: 1;
}

.product-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.1rem;
}

.btn-detail {
    padding: 0.4rem 0.8rem;
    font-size: 0.8rem;
    border-radius: 6px;
    border-color: var(--secondary);
    color: var(--secondary);
}

.btn-detail:hover {
    background: var(--secondary);
    color: var(--bg-dark);
    font-weight: 600;
}

/* ==========================================================================
   TESTIMONIOS
   ========================================================================== */
.testimonios-grid {
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
}

.testimonio-card {
    padding: 2.5rem 2rem;
}

.testimonio-rating {
    color: var(--warning);
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.testimonio-text {
    font-style: italic;
    color: var(--text-light-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.testimonio-author {
    display: flex;
    align-items: center;
    gap: 1rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.25rem;
}

.author-avatar {
    width: 2.75rem;
    height: 2.75rem;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    color: var(--bg-dark);
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    text-transform: uppercase;
}

.testimonio-author h4 {
    font-size: 0.95rem;
    margin-bottom: 0.1rem;
}

.testimonio-author p {
    font-size: 0.75rem;
    color: var(--text-gray);
}

/* ==========================================================================
   FAQ ACCORDION
   ========================================================================== */
.faq-accordion-wrapper {
    max-width: 800px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.faq-item {
    border-radius: 12px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-align: left;
    font-family: var(--font-title);
    font-weight: 600;
    color: var(--text-white);
    font-size: 1.1rem;
}

.faq-icon {
    color: var(--secondary);
    transition: var(--transition-normal);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s cubic-bezier(0, 1, 0, 1);
    background: rgba(255,255,255,0.01);
}

.faq-answer p {
    padding: 0 1.5rem 1.5rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

/* Active FAQ styles */
.faq-item.active {
    border-color: var(--border-color-glow);
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-item.active .faq-answer {
    max-height: 200px; /* Suficiente para la respuesta */
    transition: max-height 0.4s cubic-bezier(0.85, 0, 0.15, 1);
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contacto-grid-wrapper {
    grid-template-columns: 0.9fr 1.1fr;
    align-items: start;
    gap: 3rem;
}

.contacto-info {
    padding-top: 1rem;
}

.contacto-desc {
    color: var(--text-gray);
    margin-bottom: 2.5rem;
}

.info-list {
    display: flex;
    flex-direction: column;
    gap: 1.75rem;
}

.info-item {
    display: flex;
    align-items: flex-start;
    gap: 1.25rem;
}

.info-icon {
    font-size: 1.8rem;
    background: rgba(26, 98, 255, 0.08);
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(26, 98, 255, 0.15);
}

.info-item h4 {
    font-size: 1rem;
    margin-bottom: 0.25rem;
    color: var(--text-white);
}

.info-link {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--secondary);
}

.info-link:hover {
    color: var(--text-white);
}

.contacto-form-wrapper {
    padding: 2.5rem;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group label {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-light-gray);
}

.form-group input, .form-group textarea, .form-group select {
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    padding: 0.75rem 1rem;
    color: var(--text-white);
    transition: var(--transition-fast);
}

.form-group input:focus, .form-group textarea:focus, .form-group select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 10px rgba(26, 98, 255, 0.25);
    background: rgba(10, 17, 40, 0.85);
}

.form-group select option {
    background-color: var(--bg-card);
    color: var(--text-white);
}

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

/* ==========================================================================
   FOOTER
   ========================================================================== */
.footer {
    background: hsl(224, 71%, 2%);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-container {
    grid-template-columns: 1.5fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    margin-top: 1rem;
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links h4, .footer-legal h4 {
    margin-bottom: 1.25rem;
    font-size: 1.1rem;
}

.footer-links ul {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.footer-links a {
    color: var(--text-gray);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--secondary);
    padding-left: 5px;
}

.footer-legal p {
    color: var(--text-gray);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.footer-bottom {
    justify-content: space-between;
    border-top: 1px solid var(--border-color);
    padding-top: 2rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: var(--text-gray);
    transition: var(--transition-fast);
}

.admin-link:hover {
    color: var(--primary);
}

/* ==========================================================================
   FLOATING WHATSAPP
   ========================================================================== */
.floating-whatsapp {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 3.75rem;
    height: 3.75rem;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(37, 211, 102, 0.4);
    z-index: 99;
    transition: var(--transition-normal);
    animation: pulse 2s infinite;
}

.floating-whatsapp:hover {
    transform: scale(1.1);
    background-color: #128c7e;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.6);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.5); }
    70% { box-shadow: 0 0 0 15px rgba(37, 211, 102, 0); }
    100% { box-shadow: 0 0 0 0 rgba(37, 211, 102, 0); }
}

/* ==========================================================================
   MODAL SYSTEM
   ========================================================================== */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    padding: 1rem;
}

.modal.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content {
    width: 100%;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    padding: 2.5rem;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal.active .modal-content {
    transform: scale(1);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    color: var(--text-gray);
    line-height: 1;
    transition: var(--transition-fast);
}

.modal-close:hover {
    color: var(--text-white);
}

/* Product detail specific styling */
.modal-product-img {
    border-radius: 12px;
    width: 100%;
    max-height: 300px;
    object-fit: cover;
    border: 1px solid var(--border-color);
}

.modal-product-content {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-product-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.modal-product-meta {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.modal-product-price {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary);
    font-family: var(--font-title);
}

.modal-product-desc {
    color: var(--text-gray);
    margin-bottom: 2rem;
    font-size: 1rem;
}

/* ==========================================================================
   ADMIN MODAL & LAYOUT STYLING
   ========================================================================== */
.admin-modal-content {
    max-width: 1100px;
    padding: 2.5rem 2rem;
}

.admin-lock-screen {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 100;
    padding: 2rem;
    border-radius: 16px;
}

.lock-wrapper {
    max-width: 380px;
    width: 100%;
    margin: 0 auto;
}

.text-center {
    text-align: center;
}

.lock-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
}

.lock-wrapper h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.lock-wrapper p {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
}

.lock-wrapper input {
    width: 100%;
    text-align: center;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

.lock-wrapper button {
    width: 100%;
    margin-top: 1rem;
}

/* Dashboard Grid Layout */
.admin-dashboard h2 {
    font-size: 1.75rem;
    margin-bottom: 0.25rem;
}

.admin-dashboard p {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.admin-header {
    justify-content: space-between;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 1.5rem;
    margin-bottom: 2rem;
    gap: 1.5rem;
}

.admin-actions-top {
    flex-wrap: wrap;
    gap: 0.75rem;
}

.admin-layout {
    grid-template-columns: 1fr 1.5fr;
    align-items: start;
    gap: 2rem;
}

.admin-form-panel h3, .admin-table-panel h3 {
    font-size: 1.25rem;
    margin-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 0.5rem;
}

.admin-product-form {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.help-text {
    font-size: 0.75rem;
    color: var(--text-gray);
}

.help-text code {
    color: var(--secondary);
    background: rgba(0, 191, 255, 0.05);
    padding: 0.1rem 0.3rem;
    border-radius: 4px;
}

.admin-form-buttons {
    margin-top: 0.5rem;
}

/* CRUD Table Styles */
.table-responsive {
    overflow-x: auto;
    border-radius: 8px;
    border: 1px solid var(--border-color);
}

.admin-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 0.9rem;
}

.admin-table th, .admin-table td {
    padding: 0.75rem 1rem;
    border-bottom: 1px solid var(--border-color);
}

.admin-table th {
    background-color: rgba(255, 255, 255, 0.02);
    color: var(--text-white);
    font-weight: 600;
}

.admin-table tbody tr:hover {
    background-color: rgba(255, 255, 255, 0.02);
}

.admin-prod-thumb {
    width: 40px;
    height: 40px;
    border-radius: 6px;
    object-fit: cover;
}

.admin-actions {
    display: flex;
    gap: 0.5rem;
}

.btn-action {
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.btn-edit {
    background-color: rgba(26, 98, 255, 0.15);
    color: var(--text-white);
    border: 1px solid rgba(26, 98, 255, 0.3);
}

.btn-edit:hover {
    background-color: var(--primary);
}

.btn-delete {
    background-color: rgba(239, 68, 68, 0.15);
    color: var(--danger);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-delete:hover {
    background-color: var(--danger);
    color: var(--text-white);
}

/* ==========================================================================
   MEDIA QUERIES (RESPONSIVENESS)
   ========================================================================== */

/* Tablet & Widescreen Adaptations */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 3rem;
    }
    
    .contacto-grid-wrapper, .admin-layout {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-container {
        grid-template-columns: 1fr 1fr;
    }
}

/* Mobile Layouts */
@media (max-width: 768px) {
    .section {
        padding: 4rem 0 2rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .btn-nav-cta {
        display: none; /* Ocultar en header de celular, mover a menú */
    }
    
    /* Navigation burger */
    .nav-toggle {
        display: block;
    }
    
    .nav {
        position: fixed;
        top: 5.5rem;
        left: -100%;
        width: 100%;
        height: calc(100vh - 5.5rem);
        background-color: var(--bg-dark);
        backdrop-filter: blur(12px);
        transition: left 0.4s ease;
        z-index: 99;
        border-top: 1px solid var(--border-color);
    }
    
    .nav.show-menu {
        left: 0;
    }
    
    .nav-list {
        flex-direction: column;
        padding: 3rem 2rem;
        gap: 2.5rem;
    }
    
    .nav-link {
        font-size: 1.15rem;
    }
    
    .mobile-only {
        display: block;
    }
    
    /* Hero layout mobile */
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 3.5rem;
    }
    
    .hero-subtext {
        border-left: none;
        border-top: 2px solid var(--secondary);
        padding-left: 0;
        padding-top: 1rem;
    }
    
    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image-wrapper {
        margin: 0 auto;
        max-width: 320px;
    }
    
    .badge-1 {
        left: -10%;
        top: 10%;
    }
    
    .badge-2 {
        right: -5%;
        bottom: 10%;
    }
    
    /* Contact Form & Footer Mobile */
    .contacto-form-wrapper {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        text-align: center;
    }
    
    /* Modal details responsive */
    .modal-content {
        padding: 1.5rem;
    }
    
    .modal-body {
        grid-template-columns: 1fr !important;
        gap: 1.5rem;
    }

    /* Alquiler Mobile Overrides */
    .alquiler-grid {
        gap: 1.75rem;
        margin-bottom: 3.5rem;
    }
    
    .alquiler-card {
        padding: 2.5rem 1.5rem 2rem;
    }
    
    .alquiler-card.popular:hover, .alquiler-card:hover {
        transform: translateY(-4px);
    }
    
    .alquiler-benefits-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
        margin-top: 3rem;
        padding-top: 3rem;
    }
}

/* ==========================================================================
   LOGO STYLING
   ========================================================================== */
.logo-img {
    height: 68px;
    max-width: 220px;
    width: auto;
    object-fit: contain;
    display: block;
    transition: var(--transition-fast);
}

.logo:hover .logo-img {
    transform: scale(1.03);
}

.footer-brand .logo-img {
    height: 95px;
    max-width: none;
    margin-bottom: 1.25rem;
}

@media (max-width: 1024px) {
    .header .logo-img {
        height: 60px;
        max-width: 190px;
    }
}

@media (max-width: 768px) {
    .header .logo-img {
        height: 66px;
        max-width: 210px;
    }
}

/* ==========================================================================
   IFRAME CATALOG STYLING
   ========================================================================== */
.catalogo-iframe-wrapper {
    width: 100%;
    height: 850px;
    overflow: hidden;
    margin-top: 2rem;
    border: 1px solid var(--border-color);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border-radius: 16px;
}

.catalogo-iframe {
    width: 100%;
    height: 100%;
    border: none;
    background: transparent;
}

/* ==========================================================================
   MODAL CHECKOUT FORM STYLING
   ========================================================================== */
.modal-checkout-form {
    margin-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    padding-top: 1.5rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.modal-checkout-form h3 {
    font-size: 1.1rem;
    margin-bottom: 0.5rem;
    color: var(--secondary);
}

.modal-qty-wrapper {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.modal-qty-wrapper label {
    font-size: 0.9rem;
    font-weight: 600;
}

.modal-qty-input {
    width: 70px;
    padding: 0.4rem 0.6rem;
    background: rgba(10, 17, 40, 0.6);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    color: var(--text-white);
    text-align: center;
}

.modal-checkout-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.modal-checkout-form label {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-light-gray);
}

.modal-checkout-form input, .modal-checkout-form textarea {
    background: rgba(10, 17, 40, 0.4);
    border: 1px solid var(--border-color);
    border-radius: 6px;
    padding: 0.6rem 0.8rem;
    color: var(--text-white);
    font-size: 0.9rem;
    transition: var(--transition-fast);
}

.modal-checkout-form input:focus, .modal-checkout-form textarea:focus {
    border-color: var(--secondary);
    background: rgba(10, 17, 40, 0.7);
    box-shadow: 0 0 8px rgba(0, 191, 255, 0.2);
}

.modal-success-screen {
    text-align: center;
    padding: 2rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.modal-success-icon {
    font-size: 3.5rem;
    color: var(--success);
    background: rgba(16, 185, 129, 0.1);
    width: 6rem;
    height: 6rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(16, 185, 129, 0.2);
    animation: scaleIn 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    0% { transform: scale(0.5); opacity: 0; }
    100% { transform: scale(1); opacity: 1; }
}

.modal-success-screen h3 {
    font-size: 1.5rem;
    color: var(--text-white);
}

.modal-success-screen p {
    color: var(--text-gray);
    font-size: 0.95rem;
    max-width: 320px;
}
