/* ========================================
   VARIABLES DE TEMA
   ======================================== */
:root {
    /* Tema Azul Técnico (Default) */
    --primary: #2563EB;
    --primary-dark: #1E40AF;
    --primary-light: #3B82F6;
    --accent: #10B981;
    --accent-secondary: #F97316;
    --danger: #EF4444;
    --success: #22C55E;
    
    --bg-main: #FFFFFF;
    --bg-secondary: #F3F4F6;
    --bg-card: #FFFFFF;
    --text-primary: #111827;
    --text-secondary: #6B7280;
    --border-color: #E5E7EB;
    
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.07);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.1);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.15);
}

/* Tema Verde Tech */
[data-theme="green"] {
    --primary: #059669;
    --primary-dark: #047857;
    --primary-light: #10B981;
    --accent: #F59E0B;
    --accent-secondary: #EC4899;
}

/* Tema Naranja Energético */
[data-theme="orange"] {
    --primary: #EA580C;
    --primary-dark: #C2410C;
    --primary-light: #F97316;
    --accent: #8B5CF6;
    --accent-secondary: #06B6D4;
}

/* Tema Púrpura Profesional */
[data-theme="purple"] {
    --primary: #7C3AED;
    --primary-dark: #6D28D9;
    --primary-light: #8B5CF6;
    --accent: #14B8A6;
    --accent-secondary: #F59E0B;
}

/* ========================================
   RESET Y BASE
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-primary);
    background-color: var(--bg-main);
    overflow-x: hidden;
    transition: background-color 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

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

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

/* ========================================
   TOP BAR URGENCY
   ======================================== */
.top-bar-urgency {
    background: linear-gradient(90deg, var(--accent-secondary) 0%, #DC2626 100%);
    color: white;
    text-align: center;
    padding: 10px 20px;
    font-weight: 600;
    font-size: 14px;
    animation: pulse 2s infinite;
}

.urgency-icon {
    display: inline-block;
    animation: shake 0.8s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

@keyframes shake {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-5deg); }
    75% { transform: rotate(5deg); }
}

/* ========================================
   HEADER STICKY
   ======================================== */
.header {
    background: white;
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: background 0.3s ease, box-shadow 0.3s ease;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    gap: 20px;
}

.logo h1 {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary);
    transition: color 0.3s ease;
}

.logo-dot {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    font-weight: 600;
    color: var(--text-primary);
    position: relative;
    transition: color 0.3s ease;
}

.nav a:hover {
    color: var(--primary);
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

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

.theme-switcher {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    transition: background 0.3s ease, transform 0.3s ease;
}

.theme-switcher:hover {
    background: var(--primary);
    color: white;
    transform: rotate(180deg);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 30px;
    height: 30px;
}

.mobile-menu-toggle span {
    width: 100%;
    height: 3px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    text-align: center;
    transition: background 0.3s ease, transform 0.2s ease, box-shadow 0.3s ease;
    white-space: nowrap;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn:active {
    transform: translateY(0);
}

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

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

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
    border: 2px solid var(--border-color);
}

.btn-secondary:hover {
    background: white;
    border-color: var(--primary);
    color: var(--primary);
}

.btn-call {
    background: var(--accent);
    color: white;
}

.btn-call:hover {
    background: #059669;
}

.btn-whatsapp {
    background: #25D366;
    color: white;
}

.btn-whatsapp:hover {
    background: #128C7E;
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
    min-width: 200px;
}

.btn-small {
    padding: 8px 16px;
    font-size: 13px;
}

.btn-edit {
    background: #3B82F6;
    color: white;
}

.btn-delete {
    background: #EF4444;
    color: white;
}
/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    min-height: 650px;
    display: flex;
    align-items: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('./backgroundHero4.png'); /* Coloca tu imagen aquí */
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}



.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.074) 0%, rgba(255, 255, 255, 0.143) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 80px 0;
}

.badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.badge.floating {
    animation: float 3s ease-in-out infinite;
}

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

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.1;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.6);
}

.hero-subtitle {
    font-size: 20px;
    margin-bottom: 40px;
    opacity: 0.95;
    text-shadow: 1px 1px 4px rgba(0,0,0,0.5);
}

.hero-usps {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.usp {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.usp-icon {
    width: 60px;
    height: 60px;
    background: rgba(0, 0, 0, 0.721);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    backdrop-filter: blur(10px);
}

.usp span {
    font-weight: 600;
    font-size: 16px;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.hero-ctas {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.timer-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255,255,255,0.15);
    padding: 10px 20px;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    font-size: 14px;
    font-weight: 600;
}
/* ========================================
   FORMULARIO RÁPIDO
   ======================================== */
.quick-form {
    padding: 60px 0;
    background: var(--bg-secondary);
}

.form-card {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    max-width: 1000px;
    margin: 0 auto;
}

.form-card h3 {
    text-align: center;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 30px;
}

.quick-form-inline {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.quick-form-inline select,
.quick-form-inline input {
    flex: 1;
    min-width: 180px;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.quick-form-inline select:focus,
.quick-form-inline input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.quick-form-inline .otro-input {
    border-color: var(--accent);
    background: #F0FDF4;
}

.quick-form-inline button {
    flex-shrink: 0;
}

.form-footer {
    text-align: center;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* ========================================
   SERVICIOS
   ======================================== */
.services {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    font-size: 42px;
    color: var(--text-primary);
    margin-bottom: 60px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 2px solid transparent;
}

.service-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary);
}

.service-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.service-card h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 20px;
}

.service-card ul {
    margin-bottom: 25px;
}

.service-card li {
    padding: 8px 0;
    padding-left: 25px;
    position: relative;
    color: var(--text-secondary);
}

.service-card li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
}

.service-price {
    font-size: 24px;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 15px;
}

.badge-free {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

/* ========================================
   MARCAS
   ======================================== */
.brands {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.brands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.brand-item {
    background: white;
    padding: 25px;
    border-radius: 12px;
    text-align: center;
    font-weight: 600;
    color: var(--text-secondary);
    transition: color 0.3s ease, background 0.3s ease, transform 0.3s ease;
    cursor: pointer;
}

.brand-item:hover {
    color: var(--primary);
    background: var(--primary);
    color: white;
    transform: scale(1.05);
}

.brands-footer {
    text-align: center;
    color: var(--text-secondary);
    font-size: 15px;
}

/* ========================================
   CÓMO FUNCIONA
   ======================================== */
.how-it-works {
    padding: 80px 0;
}

.timeline {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    position: relative;
}

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

.timeline-number {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    font-weight: 800;
    margin: 0 auto 20px;
    box-shadow: var(--shadow-lg);
}

.timeline-content h3 {
    color: var(--primary);
    font-size: 20px;
    margin-bottom: 12px;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 15px;
}

.timeline-badge {
    display: inline-block;
    background: var(--accent);
    color: white;
    padding: 6px 14px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

/* ========================================
   PRECIOS
   ======================================== */
.pricing {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.pricing-table-wrapper {
    overflow-x: auto;
    margin-bottom: 40px;
}

.pricing-table {
    width: 100%;
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.pricing-table thead {
    background: var(--primary);
    color: white;
}

.pricing-table th,
.pricing-table td {
    padding: 18px;
    text-align: left;
}

.pricing-table tbody tr {
    border-bottom: 1px solid var(--border-color);
    transition: background 0.3s ease;
}

.pricing-table tbody tr:hover {
    background: var(--bg-secondary);
}

.pricing-table tbody tr:last-child {
    border-bottom: none;
}

.pricing-note {
    background: white;
    padding: 30px;
    border-radius: 12px;
    box-shadow: var(--shadow-md);
    text-align: center;
}

.pricing-note p {
    margin-bottom: 20px;
    font-size: 16px;
}

.payment-methods {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

.badge-payment {
    background: var(--bg-secondary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    color: var(--text-primary);
}

/* ========================================
   GARANTÍA
   ======================================== */
.warranty {
    padding: 80px 0;
    background: linear-gradient(135deg, #D1FAE5 0%, #A7F3D0 100%);
}

.warranty-content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.warranty-icon {
    font-size: 80px;
    margin-bottom: 20px;
}

.warranty-content h2 {
    font-size: 42px;
    color: var(--primary);
    margin-bottom: 30px;
}

.warranty-list {
    text-align: left;
    max-width: 600px;
    margin: 0 auto 30px;
}

.warranty-list li {
    padding: 12px 0;
    padding-left: 30px;
    position: relative;
    font-size: 16px;
    color: var(--text-primary);
}

.warranty-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent);
    font-weight: bold;
    font-size: 20px;
}

/* ========================================
   POR QUÉ ELEGIRNOS
   ======================================== */
.why-us {
    padding: 80px 0;
}

.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 35px;
}

.why-item {
    text-align: center;
    padding: 35px;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.why-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.why-icon {
    font-size: 56px;
    margin-bottom: 20px;
}

.why-item h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 15px;
}

.why-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   URGENCIAS
   ======================================== */
.emergency {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.emergency-card {
    background: white;
    border: 3px solid var(--accent-secondary);
    border-radius: 16px;
    padding: 50px;
    text-align: center;
    box-shadow: var(--shadow-xl);
    max-width: 800px;
    margin: 0 auto;
}

.emergency-card h2 {
    color: var(--accent-secondary);
    font-size: 36px;
    margin-bottom: 15px;
}

.emergency-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 30px;
}

.emergency-details {
    background: var(--bg-secondary);
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 30px;
}

.emergency-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    gap: 20px;
    flex-wrap: wrap;
}

.emergency-label {
    font-weight: 600;
    color: var(--text-primary);
}

.emergency-value {
    color: var(--text-secondary);
}

.emergency-actions {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* ========================================
   TESTIMONIOS
   ======================================== */
.testimonials {
    padding: 80px 0;
}

.testimonials-slider {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.testimonial-card {
    background: white;
    padding: 35px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.testimonial-rating {
    color: #FCD34D;
    font-size: 24px;
    margin-bottom: 15px;
}

.testimonial-text {
    color: var(--text-secondary);
    font-style: italic;
    margin-bottom: 25px;
    line-height: 1.7;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 15px;
}

.author-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
}

.author-name {
    font-weight: 600;
    color: var(--text-primary);
}

.author-device {
    font-size: 14px;
    color: var(--text-secondary);
}

.slider-dots {
    display: flex;
    justify-content: center;
    gap: 10px;
}

/* ========================================
   FAQ
   ======================================== */
.faq {
    padding: 80px 0;
    background: var(--bg-secondary);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    margin-bottom: 15px;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    padding: 20px 25px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 16px;
    font-weight: 600;
    color: var(--text-primary);
    text-align: left;
    transition: background 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-icon {
    font-size: 24px;
    font-weight: 300;
    color: var(--primary);
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 25px 20px;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ========================================
   CONTACTO
   ======================================== */
.contact {
    padding: 80px 0;
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.contact-method {
    background: white;
    padding: 40px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.contact-method:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
}

.contact-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
}

.whatsapp-bg {
    background: linear-gradient(135deg, #25D366, #128C7E);
}

.phone-bg {
    background: linear-gradient(135deg, var(--accent), #059669);
}

.email-bg {
    background: linear-gradient(135deg, var(--primary), var(--primary-light));
}

.contact-method h3 {
    color: var(--primary);
    font-size: 22px;
    margin-bottom: 10px;
}

.contact-method p {
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.contact-phone,
.contact-email {
    display: inline-block;
    font-size: 18px;
    font-weight: 600;
    color: var(--primary);
    margin-top: 10px;
}

.contact-form-section {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    margin-bottom: 60px;
}

.contact-form-section h3 {
    text-align: center;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 30px;
}

.contact-form {
    max-width: 800px;
    margin: 0 auto;
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.contact-form input,
.contact-form select,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    transition: border-color 0.3s ease, box-shadow 0.3s ease;
}

.contact-form input:focus,
.contact-form select:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.contact-form textarea {
    resize: vertical;
    margin-bottom: 20px;
}

.contact-form .otro-input-contact {
    border-color: var(--accent);
    background: #F0FDF4;
    margin-bottom: 20px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 25px;
    cursor: pointer;
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
}

.location-section {
    background: white;
    padding: 50px;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.location-section h3 {
    text-align: center;
    color: var(--primary);
    font-size: 28px;
    margin-bottom: 30px;
}

.location-info {
    max-width: 800px;
    margin: 0 auto;
}

.location-details p {
    padding: 10px 0;
    color: var(--text-secondary);
    line-height: 1.7;
}

.location-note {
    margin-top: 20px;
    font-style: italic;
    color: var(--accent);
    font-weight: 600;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    background: #1F2937;
    color: #D1D5DB;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-col h3,
.footer-col h4 {
    color: white;
    margin-bottom: 20px;
}

.footer-col h3 {
    font-size: 24px;
}

.footer-col ul li {
    padding: 8px 0;
}

.footer-col a {
    color: #D1D5DB;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--primary-light);
}

.trust-badges {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.trust-badge {
    font-size: 14px;
    color: #9CA3AF;
}

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid #374151;
    text-align: center;
    color: #9CA3AF;
    font-size: 14px;
}

.footer-link {
    color: var(--primary-light);
    margin-left: 15px;
}

/* ========================================
   FLOATING ACTION BUTTONS
   ======================================== */
.fab-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 999;
}

.fab {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-xl);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    animation: pulse-fab 2s infinite;
}

.fab:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.fab-whatsapp {
    background: #25D366;
    color: white;
}

.fab-call {
    background: var(--accent);
    color: white;
}

.fab-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--accent-secondary);
    color: white;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
}

@keyframes pulse-fab {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 20px rgba(37, 211, 102, 0);
    }
}

/* ========================================
   TOAST NOTIFICATION
   ======================================== */
.toast {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(150%);
    background: var(--primary);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    z-index: 99999;
    font-weight: 600;
    transition: transform 0.4s ease;
    max-width: 90%;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

/* ========================================
   ADMIN PANEL STYLES
   ======================================== */
.admin-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.admin-modal-content {
    background: white;
    padding: 40px;
    border-radius: 16px;
    max-width: 400px;
    width: 90%;
}

.admin-modal-content h2 {
    margin-bottom: 20px;
    color: var(--primary);
}

.admin-modal-content input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 20px;
    font-size: 15px;
}

.admin-modal-buttons {
    display: flex;
    gap: 10px;
}

.admin-panel {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.8);
    z-index: 10000;
    overflow-y: auto;
}

.admin-panel-content {
    max-width: 1200px;
    margin: 50px auto;
    background: white;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
}

.admin-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px;
    border-bottom: 2px solid var(--border-color);
}

.admin-header h2 {
    color: var(--primary);
}

.btn-close {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--danger);
    color: white;
    font-size: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s ease;
}

.btn-close:hover {
    transform: scale(1.1);
}

.admin-body {
    padding: 30px;
}

.admin-section {
    margin-bottom: 50px;
    padding: 30px;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.admin-section h3 {
    color: var(--primary);
    margin-bottom: 25px;
    font-size: 24px;
}

.admin-form {
    background: white;
    padding: 25px;
    border-radius: 12px;
    margin-bottom: 25px;
}

.admin-form input,
.admin-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    margin-bottom: 15px;
    font-size: 15px;
    font-family: inherit;
}

.admin-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

.admin-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.service-item,
.price-item {
    background: white;
    padding: 20px;
    border-radius: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: var(--shadow-sm);
}

.service-item-info h4,
.price-item-info h4 {
    color: var(--primary);
    margin-bottom: 8px;
}

.service-item-info p,
.price-item-info p {
    color: var(--text-secondary);
    font-size: 14px;
}

.service-item-actions,
.price-item-actions {
    display: flex;
    gap: 10px;
}

/* ========================================
   RESPONSIVE MOBILE
   ======================================== */
@media (max-width: 768px) {
    #logoImage{
        width: 80px;
        height: 80px;
    }
    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: white;
        flex-direction: column;
        padding: 20px;
        box-shadow: var(--shadow-lg);
        transform: translateY(-100%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.3s ease, opacity 0.3s ease;
    }
    
    .nav.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: all;
    }
    
    .nav a {
        padding: 12px 0;
        border-bottom: 1px solid var(--border-color);
    }
    
    .header-actions {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-usps {
        gap: 20px;
    }
    
    .hero-ctas {
        flex-direction: column;
    }
    
    .quick-form-inline {
        flex-direction: column;
    }
    
    .quick-form-inline select,
    .quick-form-inline input {
        min-width: 100%;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .why-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .timeline {
        grid-template-columns: 1fr;
    }
    
    .form-card,
    .contact-form-section,
    .location-section {
        padding: 30px 20px;
    }
    
    .emergency-card {
        padding: 30px 20px;
    }
    
    .emergency-actions {
        flex-direction: column;
    }
    
    .fab-container {
        right: 20px;
        bottom: 20px;
    }
    
    .fab {
        width: 56px;
        height: 56px;
    }
    
    .pricing-table {
        font-size: 14px;
    }
    
    .pricing-table th,
    .pricing-table td {
        padding: 12px 10px;
    }

    .admin-panel-content {
        margin: 20px;
    }

    .service-item,
    .price-item {
        flex-direction: column;
        align-items: flex-start;
    }

    .service-item-actions,
    .price-item-actions {
        width: 100%;
        margin-top: 15px;
    }
}

@media (max-width: 480px) {
    #logoImage{
        width: 60px;
        height: 60px;
    }
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .btn-large {
        min-width: 100%;
    }
    
    .form-card h3,
    .contact-form-section h3 {
        font-size: 22px;
    }
}

/* ========================================
   ADMIN FORM BUTTONS - FIX RESPONSIVE
   ======================================== */

.admin-form-buttons {
    display: flex;
    gap: 10px;
    margin-top: 10px;
}

/* Fix para móviles - los botones se apilan verticalmente */
@media (max-width: 768px) {
    .admin-form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-form-buttons .btn {
        width: 100%;
    }
}

/* Fix adicional para pantallas muy pequeñas */
@media (max-width: 480px) {
    .admin-form-buttons {
        flex-direction: column;
        gap: 10px;
    }
    
    .admin-form-buttons .btn {
        width: 100%;
        padding: 12px 16px;
        font-size: 14px;
    }
}

