@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&family=Outfit:wght@400;500;600;700;800&display=swap');

/* ==========================================================================
   SISTEMA DE DISEÑO Y VARIABLES
   ========================================================================== */
:root {
    /* Modo Claro (Default) */
    --bg-color: hsl(210, 40%, 98%);
    --bg-gradient: radial-gradient(circle at 0% 0%, hsl(210, 40%, 98%) 0%, hsl(214, 30%, 94%) 100%);
    --surface-color: rgba(255, 255, 255, 0.7);
    --surface-color-solid: hsl(0, 0%, 100%);
    --surface-border: rgba(0, 0, 0, 0.08);
    --text-primary: hsl(222, 47%, 11%);
    --text-secondary: hsl(215, 16%, 43%);
    --primary: hsl(245, 75%, 55%);
    --primary-glow: rgba(99, 102, 241, 0.15);
    --secondary: hsl(190, 90%, 40%);
    --secondary-glow: rgba(6, 182, 212, 0.15);
    --accent: hsl(280, 80%, 55%);
    --nav-bg: rgba(255, 255, 255, 0.8);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.04);
    --shadow-md: 0 8px 30px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 16px 40px rgba(0, 0, 0, 0.08);
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-title: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.6s cubic-bezier(0.4, 0, 0.2, 1);
    --card-radius: 20px;
    --btn-radius: 12px;
    --error: hsl(350, 75%, 50%);
    --error-glow: rgba(239, 68, 68, 0.15);
}

[data-theme="dark"] {
    /* Modo Oscuro (Premium) */
    --bg-color: hsl(222, 47%, 6%);
    --bg-gradient: radial-gradient(circle at 0% 0%, hsl(222, 47%, 8%) 0%, hsl(222, 47%, 4%) 100%);
    --surface-color: rgba(15, 23, 42, 0.55);
    --surface-color-solid: hsl(222, 47%, 8%);
    --surface-border: rgba(255, 255, 255, 0.05);
    --text-primary: hsl(210, 40%, 98%);
    --text-secondary: hsl(215, 20%, 75%);
    --primary: hsl(245, 85%, 66%);
    --primary-glow: rgba(129, 140, 248, 0.2);
    --secondary: hsl(190, 95%, 48%);
    --secondary-glow: rgba(34, 211, 238, 0.2);
    --accent: hsl(280, 85%, 65%);
    --nav-bg: rgba(15, 23, 42, 0.75);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.2);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.5);
    --error: hsl(350, 85%, 60%);
    --error-glow: rgba(248, 113, 113, 0.2);
}

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

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

body {
    font-family: var(--font-sans);
    background: var(--bg-gradient);
    background-attachment: fixed;
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color var(--transition-normal), color var(--transition-normal);
}

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

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

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

ul {
    list-style: none;
}

/* Ocultar barra de desplazamiento manteniendo funcionalidad */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--surface-border);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--text-secondary);
}

/* ==========================================================================
   COMPONENTES GLOBALES Y CLASES DE UTILIDAD
   ========================================================================== */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section {
    padding: 8rem 0 6rem;
    position: relative;
}

.section-title {
    font-family: var(--font-title);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
    position: relative;
    z-index: 2;
}

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

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 4rem;
    font-size: 1.1rem;
    z-index: 2;
    position: relative;
}

.underline {
    width: 60px;
    height: 4px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    margin: 0.5rem auto 1.5rem;
}

/* Tarjeta Glassmorphic */
.glass-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--card-radius);
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    transition: var(--transition-normal);
}

.glass-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: rgba(255, 255, 255, 0.15);
}

/* Botones Premium */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.8rem 1.8rem;
    font-family: var(--font-title);
    font-weight: 600;
    border-radius: var(--btn-radius);
    cursor: pointer;
    transition: var(--transition-normal);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--secondary) 0%, var(--primary) 100%);
    opacity: 0;
    z-index: -1;
    transition: opacity var(--transition-normal);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--secondary-glow);
}

.btn-primary:hover::before {
    opacity: 1;
}

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

.btn-secondary:hover {
    background: var(--surface-border);
    transform: translateY(-2px);
}

/* ==========================================================================
   NAVEGACIÓN (HEADER)
   ========================================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 100;
    background: transparent;
    transition: var(--transition-normal);
    border-bottom: 1px solid transparent;
}

.header.scrolled {
    background: var(--nav-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--surface-border);
    box-shadow: var(--shadow-sm);
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 80px;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-family: var(--font-title);
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.03em;
    cursor: pointer;
}

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

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px var(--primary-glow);
}

.logo-icon svg {
    width: 22px;
    height: 22px;
    fill: white;
}

/* Enlaces */
.nav-links {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

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

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transition: var(--transition-normal);
}

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

/* Controles (Tema y Mobile) */
.nav-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition-fast);
}

.theme-toggle:hover {
    background: var(--surface-border);
    transform: scale(1.05);
}

.theme-toggle svg {
    width: 20px;
    height: 20px;
    fill: var(--text-primary);
    transition: var(--transition-fast);
}

.theme-toggle .sun-icon {
    display: none;
}

[data-theme="dark"] .theme-toggle .sun-icon {
    display: block;
}

[data-theme="dark"] .theme-toggle .moon-icon {
    display: none;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
    width: 30px;
    height: 24px;
    justify-content: center;
    z-index: 110;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition-fast);
}

/* ==========================================================================
   HÉROE (HERO SECTION)
   ========================================================================== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 100px;
    position: relative;
    overflow: hidden;
}

.hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    z-index: 10;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--primary-glow);
    border: 1px solid rgba(99, 102, 241, 0.2);
    color: var(--primary);
    padding: 0.5rem 1rem;
    border-radius: 100px;
    font-family: var(--font-title);
    font-size: 0.85rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

[data-theme="dark"] .hero-badge {
    color: var(--secondary);
    background: var(--secondary-glow);
    border-color: rgba(34, 211, 238, 0.2);
}

.hero-title {
    font-family: var(--font-title);
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.04em;
}

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

.hero-description {
    font-size: clamp(1.1rem, 2vw, 1.3rem);
    color: var(--text-secondary);
    margin-bottom: 3rem;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
}

/* Gráfico Héroe Interactivo */
.hero-visual {
    position: relative;
    width: 100%;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.visual-canvas-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.visual-canvas-container svg {
    width: 100%;
    height: 100%;
}

/* Efectos de luz trasera */
.bg-glow-1, .bg-glow-2 {
    position: absolute;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    filter: blur(120px);
    z-index: 1;
    opacity: 0.3;
    pointer-events: none;
}

.bg-glow-1 {
    top: 10%;
    right: -5%;
    background: var(--primary);
}

.bg-glow-2 {
    bottom: 20%;
    left: -10%;
    background: var(--secondary);
}

[data-theme="dark"] .bg-glow-1, [data-theme="dark"] .bg-glow-2 {
    opacity: 0.15;
}

/* ==========================================================================
   NOSOTROS
   ========================================================================== */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
}

.about-feature {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    border-radius: var(--btn-radius);
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    transition: var(--transition-normal);
}

.about-feature:hover {
    transform: translateX(6px);
    background: var(--surface-color-solid);
    border-color: var(--primary);
}

.feature-icon-wrapper {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--primary-glow);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
}

.feature-icon-wrapper svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.feature-text h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   SECCIÓN DE PRODUCTOS (NUEVO)
   ========================================================================== */
.product-showcase {
    display: grid;
    grid-template-columns: 0.9fr 1.1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 2rem;
}

.product-visual-wrapper {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 2rem;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

.product-list-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.product-list-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
    font-weight: 500;
}

.product-list-feature svg {
    width: 20px;
    height: 20px;
    color: var(--secondary);
    flex-shrink: 0;
    fill: currentColor;
}

/* ==========================================================================
   SERVICIOS
   ========================================================================== */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.service-card {
    position: relative;
    overflow: hidden;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-glow) 0%, transparent 100%);
    opacity: 0;
    transition: var(--transition-normal);
    z-index: 0;
}

.service-card:hover::before {
    opacity: 1;
}

.service-icon {
    width: 64px;
    height: 64px;
    border-radius: 16px;
    background: var(--primary-glow);
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
    transition: var(--transition-normal);
}

.service-card:hover .service-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 8px 20px var(--primary-glow);
}

.service-icon svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

.service-title {
    font-family: var(--font-title);
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.service-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    position: relative;
    z-index: 1;
}

/* ==========================================================================
   ESTILOS ESPECÍFICOS DE PRODUCTO (SGU)
   ========================================================================== */
.sgu-sub-header {
    background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
    border-bottom: 1px solid var(--surface-border);
    padding: 6rem 0 4rem;
    text-align: center;
    position: relative;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--card-radius);
    border: 1px solid var(--surface-border);
    margin: 2rem 0;
    box-shadow: var(--shadow-sm);
}

.custom-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--surface-color);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    text-align: left;
}

.custom-table th, .custom-table td {
    padding: 1.25rem 1.5rem;
    border-bottom: 1px solid var(--surface-border);
}

.custom-table th {
    background: var(--primary-glow);
    font-family: var(--font-title);
    font-weight: 700;
    color: var(--text-primary);
}

.custom-table tr:last-child td {
    border-bottom: none;
}

.custom-table tr:hover {
    background: rgba(99, 102, 241, 0.04);
}

.workflow-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1.5rem;
    margin-top: 3rem;
}

.workflow-card {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--card-radius);
    padding: 2rem 1.5rem;
    text-align: center;
    box-shadow: var(--shadow-sm);
    transition: var(--transition-normal);
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.workflow-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary);
}

.workflow-num {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-weight: 700;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 10px var(--primary-glow);
}

.workflow-card h3 {
    font-family: var(--font-title);
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.workflow-card p {
    color: var(--text-secondary);
    font-size: 0.85rem;
    line-height: 1.4;
}

.benefit-card-list {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    max-width: 800px;
    margin: 3rem auto 0;
}

.benefit-card {
    display: flex;
    gap: 1.5rem;
    align-items: center;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: var(--btn-radius);
    padding: 1.5rem;
    transition: var(--transition-normal);
}

.benefit-card:hover {
    transform: translateX(5px);
    background: var(--surface-color-solid);
    border-color: var(--secondary);
}

.benefit-icon-wrapper {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: var(--secondary-glow);
    color: var(--secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.benefit-icon-wrapper svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.benefit-text h3 {
    font-family: var(--font-title);
    font-size: 1.15rem;
    font-weight: 600;
    margin-bottom: 0.25rem;
}

.benefit-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* ==========================================================================
   CONTACTO
   ========================================================================== */
.contact-grid {
    display: grid;
    grid-template-columns: 0.8fr 1.2fr;
    gap: 4rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 3rem;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary);
    flex-shrink: 0;
    transition: var(--transition-fast);
}

.contact-item:hover .contact-icon {
    background: var(--primary);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 4px 15px var(--primary-glow);
}

.contact-icon svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.contact-text h4 {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.contact-text a, .contact-text p {
    font-size: 1.05rem;
    font-weight: 500;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.social-btn:hover {
    color: white;
    transform: translateY(-3px);
}

.social-btn.facebook:hover {
    background: #1877f2;
    border-color: #1877f2;
}

.social-btn.instagram:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%,#d6249f 60%,#285aeb 90%);
    border-color: transparent;
}

.social-btn.linkedin:hover {
    background: #0a66c2;
    border-color: #0a66c2;
}

.social-btn svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Formulario */
.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

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

.form-group label {
    font-family: var(--font-title);
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-secondary);
}

.form-control {
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    border-radius: 10px;
    padding: 1rem;
    color: var(--text-primary);
    transition: var(--transition-fast);
    backdrop-filter: blur(10px);
}

.form-control:focus {
    border-color: var(--primary);
    background: var(--surface-color-solid);
    box-shadow: 0 0 0 4px var(--primary-glow);
}

textarea.form-control {
    resize: vertical;
    min-height: 120px;
}

/* Mapa */
.map-container {
    width: 100%;
    height: 250px;
    border-radius: var(--card-radius);
    overflow: hidden;
    border: 1px solid var(--surface-border);
    box-shadow: var(--shadow-md);
    margin-top: 2rem;
}

.map-container iframe {
    width: 100%;
    height: 100%;
    border: 0;
    transition: var(--transition-normal);
}

[data-theme="dark"] .map-container iframe {
    filter: invert(90%) hue-rotate(180deg) opacity(0.85);
}

/* ==========================================================================
   PIE DE PÁGINA (FOOTER)
   ========================================================================== */
.footer {
    background: var(--surface-color);
    border-top: 1px solid var(--surface-border);
    padding: 3rem 0;
    text-align: center;
    font-family: var(--font-title);
    color: var(--text-secondary);
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

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

.footer-copy {
    font-size: 0.9rem;
}

/* ==========================================================================
   WHATSAPP FLOTANTE Y NOTIFICACIÓN
   ========================================================================== */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: 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: 99;
    cursor: pointer;
    transition: var(--transition-normal);
}

.whatsapp-float::before {
    content: '';
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #25d366;
    border-radius: 50%;
    z-index: -1;
    opacity: 0.4;
    animation: pulse-ring 2s cubic-bezier(0.4, 0, 0.2, 1) infinite;
}

.whatsapp-float:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.6);
}

.whatsapp-float svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@keyframes pulse-ring {
    0% {
        transform: scale(1);
        opacity: 0.4;
    }
    100% {
        transform: scale(1.6);
        opacity: 0;
    }
}

/* Notificación de envío de formulario */
.toast {
    position: fixed;
    bottom: 30px;
    left: 30px;
    background: var(--surface-color-solid);
    border: 1px solid var(--primary);
    border-radius: 12px;
    padding: 1rem 2rem;
    box-shadow: var(--shadow-lg);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 1000;
    transform: translateY(150px);
    opacity: 0;
    transition: var(--transition-normal);
}

.toast.show {
    transform: translateY(0);
    opacity: 1;
}

.toast-icon {
    color: var(--secondary);
    display: flex;
    align-items: center;
}

.toast-icon svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

/* Toast de Error */
.toast.toast-error {
    border-color: var(--error);
    box-shadow: 0 16px 40px var(--error-glow);
}

.toast.toast-error .toast-icon {
    color: var(--error);
}

/* Animación de Spinner para carga */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* ==========================================================================
   ANIMACIONES DE ENTRADA (SCROLL REVEAL / INTERACTION)
   ========================================================================== */
.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity var(--transition-slow), transform var(--transition-slow);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.reveal-delay-1 { transition-delay: 0.1s; }
.reveal-delay-2 { transition-delay: 0.2s; }
.reveal-delay-3 { transition-delay: 0.3s; }

/* ==========================================================================
   RESPONSIVO
   ========================================================================== */
@media (max-width: 992px) {
    .section {
        padding: 6rem 0 4rem;
    }
    
    .hero-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-visual {
        height: 350px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .product-showcase {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-info {
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .menu-toggle {
        display: flex;
    }
    
    .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 320px;
        height: 100vh;
        background: var(--surface-color-solid);
        border-left: 1px solid var(--surface-border);
        box-shadow: var(--shadow-lg);
        flex-direction: column;
        justify-content: center;
        align-items: flex-start;
        padding: 4rem 3rem;
        gap: 2rem;
        transition: var(--transition-normal);
        z-index: 105;
    }
    
    .nav-links.active {
        right: 0;
    }
    
    /* Animación del menú hamburguesa */
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(6px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1.25rem;
    }
    
    .hero-actions {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-actions .btn {
        width: 100%;
    }
    
    .whatsapp-float {
        bottom: 20px;
        right: 20px;
        width: 50px;
        height: 50px;
    }
    
    .whatsapp-float svg {
        width: 26px;
        height: 26px;
    }
}

/* ==========================================================================
   CAROUSEL DE PRODUCTOS
   ========================================================================== */
.carousel-container {
    position: relative;
    width: 100%;
    margin: 0 auto;
    padding: 0 4.5rem;
}

.carousel-track-container {
    overflow: hidden;
    width: 100%;
}

.carousel-track {
    display: flex;
    transition: transform var(--transition-normal);
    width: 100%;
}

.carousel-slide {
    flex: 0 0 100%;
    width: 100%;
    margin-bottom: 0 !important;
}

/* Botones del Carousel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 54px;
    height: 54px;
    border-radius: 50%;
    background: var(--surface-color);
    border: 1px solid var(--surface-border);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
    cursor: pointer;
    box-shadow: var(--shadow-sm);
    z-index: 10;
    transition: var(--transition-normal);
}

.carousel-btn:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    box-shadow: 0 8px 25px var(--primary-glow);
    transform: translateY(-50%) scale(1.05);
}

.prev-btn {
    left: 0;
}

.next-btn {
    right: 0;
}

.carousel-btn svg {
    width: 24px;
    height: 24px;
}

/* Indicadores (Dots) */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 3.5rem;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: var(--surface-border);
    cursor: pointer;
    transition: var(--transition-normal);
}

.indicator.active {
    background: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
    width: 36px;
    border-radius: 100px;
}

/* Responsividad para Móviles y Tablets */
@media (max-width: 1024px) {
    .carousel-container {
        padding: 0 3.5rem;
    }
}

@media (max-width: 768px) {
    .carousel-container {
        padding: 0 0.5rem;
    }
    
    .carousel-btn {
        top: auto;
        bottom: -4.5rem;
        transform: none;
    }
    
    .carousel-btn:hover {
        transform: scale(1.05);
    }
    
    .prev-btn {
        left: calc(50% - 65px);
    }
    
    .next-btn {
        right: calc(50% - 65px);
    }
    
    .carousel-indicators {
        margin-top: 5.5rem;
    }
}

