/* ================================================
   REFORJA SPA - LIQUID GLASS MORPHISM DESIGN SYSTEM
   Ultra-futuristic website with chrome & electric blue
   ================================================ */

/* CSS Custom Properties */
:root {
    /* Chrome & Metallic Palette */
    --chrome-dark: #1a1a2e;
    --chrome-base: #16213e;
    --chrome-light: #0f3460;
    --chrome-silver: #c9d6df;
    --chrome-white: #e8e8e8;

    /* Electric Blues */
    --electric-deep: #003366;
    --electric-primary: #0099ff;
    --electric-bright: #00d4ff;
    --electric-glow: #00f5ff;
    --electric-pale: rgba(0, 212, 255, 0.1);

    /* Accent Colors */
    --accent-purple: #7b2cbf;
    --accent-pink: #ff006e;

    /* Glass Properties - Optimized for performance */
    --glass-bg: rgba(255, 255, 255, 0.08);
    --glass-border: rgba(255, 255, 255, 0.12);
    --glass-highlight: rgba(255, 255, 255, 0.2);
    --glass-blur: 8px;

    /* Typography */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Spacing */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 2rem;
    --space-lg: 4rem;
    --space-xl: 8rem;

    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.8s cubic-bezier(0.4, 0, 0.2, 1);

    /* Category Colors */
    --category-clinicas: #00B4D8;
    --category-salud: #0D9488;
    --category-hoteles: #D4AF37;
    --category-inventario: #FF006E;
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

body {
    font-family: var(--font-primary);
    background: var(--chrome-dark);
    color: var(--chrome-white);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    /* Performance optimizations */
    text-rendering: optimizeSpeed;
    -webkit-font-smoothing: antialiased;
}

/* Selection */
::selection {
    background: var(--electric-primary);
    color: var(--chrome-dark);
}

/* ================================================
   LIQUID BACKGROUND EFFECTS
   ================================================ */

.liquid-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    background: linear-gradient(135deg,
            var(--chrome-dark) 0%,
            var(--chrome-base) 50%,
            var(--electric-deep) 100%);
    overflow: hidden;
    /* Performance optimization */
    transform: translateZ(0);
    contain: layout style paint;
}

.mercury-blob {
    position: absolute;
    border-radius: 50%;
    filter: blur(30px);
    opacity: 0.25;
    /* DISABLED for performance - static blobs instead */
    /* animation: float-blob 20s ease-in-out infinite; */
    will-change: auto;
    contain: strict;
}

.blob-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--electric-primary) 0%, transparent 70%);
    top: -200px;
    right: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-purple) 0%, transparent 70%);
    bottom: -150px;
    left: -100px;
    animation-delay: -7s;
}

.blob-3 {
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, var(--electric-bright) 0%, transparent 70%);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: -14s;
}

/* Simplified animation - only used on user preference */
@keyframes float-blob {

    0%,
    100% {
        transform: translate(0, 0);
    }

    50% {
        transform: translate(10px, 10px);
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background:
        radial-gradient(ellipse at top, transparent 0%, var(--chrome-dark) 70%),
        radial-gradient(ellipse at bottom, transparent 0%, var(--chrome-dark) 70%);
    pointer-events: none;
}

/* Floating Particles - DISABLED for performance */
.particles-container {
    display: none;
    /* Disabled - too GPU intensive */
}

.particle {
    display: none;
}

/* ================================================
   GLASS MORPHISM COMPONENTS
   ================================================ */

.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 46, 0.95);
    /* backdrop-filter removed for performance */
    border-bottom: 1px solid var(--glass-border);
    padding: var(--space-sm) 0;
    transition: var(--transition-smooth);
    contain: layout style;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    text-decoration: none;
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.logo-bracket {
    color: var(--electric-bright);
    font-family: var(--font-mono);
    font-weight: 400;
    opacity: 0.7;
}

.logo-text {
    color: var(--chrome-white);
    letter-spacing: 0.1em;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: var(--space-md);
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: var(--chrome-silver);
    font-weight: 500;
    font-size: 0.9rem;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    transition: var(--transition-fast);
    position: relative;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--electric-bright);
    transition: var(--transition-fast);
    transform: translateX(-50%);
}

.nav-link:hover {
    color: var(--chrome-white);
}

.nav-link:hover::after {
    width: 80%;
}

.nav-link-cta {
    background: linear-gradient(135deg, var(--electric-primary), var(--electric-bright));
    color: var(--chrome-dark) !important;
    padding: var(--space-xs) var(--space-sm);
    border-radius: 8px;
    font-weight: 600;
}

.nav-link-cta::after {
    display: none;
}

.nav-link-cta:hover {
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
    transform: translateY(-2px);
}

/* ================================================
   HERO SECTION
   ================================================ */

.hero-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: var(--space-xl) var(--space-md);
    position: relative;
    overflow: hidden;
}

.hero-content {
    max-width: 1200px;
    width: 100%;
    position: relative;
    z-index: 1;
}

/* Code Decoration Elements */
.code-decoration {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--electric-primary);
    opacity: 0.6;
    position: absolute;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    opacity: 0.5;
    /* animation disabled for performance */
}

.code-decoration.top-left {
    top: 0;
    left: 0;
}

.code-decoration.bottom-right {
    bottom: 0;
    right: 0;
    text-align: right;
}

@keyframes code-fade {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 0.3;
    }
}

.code-line {
    display: block;
}

.code-keyword {
    color: var(--accent-purple);
}

.code-var {
    color: var(--electric-bright);
}

.code-string {
    color: #f9c74f;
}

.code-func {
    color: var(--electric-primary);
}

.code-comment {
    color: #6b7280;
    font-style: italic;
}

/* Hero Text */
.hero-text-container {
    text-align: center;
    padding: var(--space-lg) 0;
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 6rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: var(--space-md);
}

.title-line {
    display: block;
    opacity: 0;
    transform: translateY(30px);
    animation: title-reveal 0.8s cubic-bezier(0.4, 0, 0.2, 1) forwards;
}

.title-line-1 {
    animation-delay: 0.2s;
    letter-spacing: 0.2em;
    font-size: 0.6em;
    color: var(--electric-bright);
}

.title-line-2 {
    animation-delay: 0.4s;
}

.title-line-3 {
    animation-delay: 0.6s;
}

@keyframes title-reveal {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.gradient-text {
    background: linear-gradient(135deg, var(--electric-primary), var(--electric-bright), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.25rem;
    color: var(--chrome-silver);
    max-width: 600px;
    margin: 0 auto var(--space-lg);
    opacity: 0;
    animation: fade-in 0.8s 1s forwards;
}

@keyframes fade-in {
    to {
        opacity: 1;
    }
}

/* CTA Buttons */
.hero-cta-container {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
    opacity: 0;
    animation: fade-in 0.8s 1.2s forwards;
}

.glass-button {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--chrome-white);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    /* backdrop-filter removed for performance */
    overflow: hidden;
    transition: var(--transition-fast);
    cursor: pointer;
}

.glass-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--glass-highlight), transparent);
    transition: var(--transition-slow);
}

.glass-button:hover::before {
    left: 100%;
}

.glass-button:hover {
    border-color: var(--electric-bright);
    box-shadow:
        0 0 30px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    transform: translateY(-3px);
}

.button-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, var(--electric-pale), transparent 60%);
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: var(--transition-smooth);
    pointer-events: none;
}

.glass-button:hover .button-glow {
    opacity: 1;
}

.cta-icon {
    transition: var(--transition-fast);
}

.glass-button:hover .cta-icon {
    transform: translateX(5px);
}

.cta-secondary {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    color: var(--electric-bright);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-fast);
}

.cta-pulse {
    width: 8px;
    height: 8px;
    background: var(--electric-bright);
    border-radius: 50%;
    /* animation disabled for performance */
}

/* Pulse animation available but not used by default */
@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.cta-secondary:hover {
    color: var(--chrome-white);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: var(--space-md);
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    opacity: 0;
    animation: fade-in 0.8s 1.5s forwards;
}

.scroll-mouse {
    width: 24px;
    height: 40px;
    border: 2px solid var(--glass-border);
    border-radius: 12px;
    position: relative;
}

.scroll-wheel {
    width: 4px;
    height: 8px;
    background: var(--electric-bright);
    border-radius: 2px;
    position: absolute;
    top: 8px;
    left: 50%;
    transform: translateX(-50%);
    /* animation disabled for performance */
}

.scroll-text {
    font-size: 0.75rem;
    color: var(--chrome-silver);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

/* ================================================
   PORTFOLIO SECTION
   ================================================ */

.portfolio-section {
    padding: var(--space-xl) var(--space-md);
    position: relative;
    min-height: 100vh;
}

.section-header {
    text-align: center;
    margin-bottom: var(--space-lg);
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--electric-primary);
    opacity: 0.7;
    display: block;
    margin-bottom: var(--space-sm);
}

.section-tag.closing {
    text-align: center;
    margin-top: var(--space-lg);
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 800;
    margin-bottom: var(--space-sm);
}

.section-subtitle {
    color: var(--chrome-silver);
    font-size: 1.1rem;
}

/* Portfolio Instruction */
.portfolio-instruction {
    text-align: center;
    margin-bottom: var(--space-md);
    animation: fade-in 1s ease-out;
}

.instruction-text {
    font-family: var(--font-mono);
    color: var(--electric-bright);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
    font-weight: 600;
}

.scroll-arrow-indicator {
    color: var(--electric-glow);
    width: 32px;
    height: 32px;
    margin: 0 auto;
    /* animation disabled for performance - drop-shadow filters are GPU intensive */
}

/* Category Selector */
.category-selector {
    display: flex;
    justify-content: center;
    gap: var(--space-sm);
    flex-wrap: wrap;
    margin-bottom: var(--space-lg);
}

.category-btn {
    display: flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-sm) var(--space-md);
    background: rgba(30, 30, 50, 0.9);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    color: var(--chrome-silver);
    font-family: var(--font-primary);
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition-fast);
    /* backdrop-filter removed for performance */
}

.category-btn:hover {
    border-color: var(--electric-primary);
    color: var(--chrome-white);
}

.category-btn.active {
    background: linear-gradient(135deg, var(--electric-primary), var(--electric-bright));
    color: var(--chrome-dark);
    border-color: transparent;
    /* box-shadow reduced for performance */
}

.category-icon {
    font-size: 1.2rem;
}

/* 3D Carousel */
.carousel-container {
    max-width: 1200px;
    margin: 0 auto;
    perspective: 1500px;
    position: relative;
}

.carousel-3d {
    position: relative;
    min-height: 500px;
}

.carousel-category {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    opacity: 0;
    visibility: hidden;
    transform: translateY(30px) scale(0.95);
    transition: var(--transition-slow);
}

.carousel-category.active {
    position: relative;
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

/* Glass Cards - Optimized */
.glass-card {
    background: rgba(30, 30, 50, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    /* backdrop-filter removed for performance */
    overflow: hidden;
    transition: var(--transition-fast);
    position: relative;
}

.carousel-card {
    flex: 1;
    max-width: 350px;
    /* 3D and animation disabled for performance */
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out;
}

/* Card float animation disabled for performance */

.carousel-card:hover {
    transform: translateY(-8px);
    border-color: var(--electric-bright);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.25);
}

.card-frame {
    position: relative;
    z-index: 1;
}

.card-image {
    height: 280px;
    overflow: hidden;
    position: relative;
}

.card-reflection {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(255, 255, 255, 0.1) 0%,
            transparent 50%,
            rgba(255, 255, 255, 0.05) 100%);
    pointer-events: none;
}

.card-info {
    padding: var(--space-md);
    text-align: center;
}

.card-info h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: var(--space-xs);
}

.card-info p {
    font-size: 0.9rem;
    color: var(--chrome-silver);
}

/* Carousel Navigation */
.carousel-nav {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: var(--space-md);
    margin-top: var(--space-md);
}

.carousel-arrow {
    width: 50px;
    height: 50px;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    background: rgba(30, 30, 50, 0.9);
    color: var(--chrome-white);
    font-size: 1.5rem;
    cursor: pointer;
    transition: var(--transition-fast);
    /* backdrop-filter removed for performance */
}

.carousel-arrow:hover {
    border-color: var(--electric-bright);
    background: rgba(0, 153, 255, 0.2);
}

.carousel-dots {
    display: flex;
    gap: var(--space-xs);
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--glass-border);
    cursor: pointer;
    transition: var(--transition-fast);
}

.dot.active {
    background: var(--electric-bright);
    /* box-shadow removed for performance */
}

/* ================================================
   PLACEHOLDER UI COMPONENTS
   ================================================ */

.placeholder-ui {
    height: 100%;
    padding: var(--space-sm);
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
    font-size: 0.75rem;
}

/* Clinical Theme */
.placeholder-ui.clinical {
    background: linear-gradient(180deg, #E8F4FD 0%, #F8FAFC 100%);
    color: #1e3a5f;
}

.placeholder-ui.clinical .ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.placeholder-ui.clinical .ui-logo {
    font-weight: 700;
    color: #0077B6;
}

.ui-nav-dots {
    display: flex;
    gap: 4px;
}

.ui-nav-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #ccc;
}

.ui-nav-dots span:first-child {
    background: #0077B6;
}

.ui-content {
    display: flex;
    gap: var(--space-xs);
    flex: 1;
}

.ui-sidebar {
    width: 40px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 6px;
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
}

.ui-menu-item {
    height: 8px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.ui-menu-item.active {
    background: #0077B6;
}

.ui-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: var(--space-xs);
}

.ui-stats-row {
    display: flex;
    gap: 6px;
}

.ui-stat-card {
    flex: 1;
    background: white;
    border-radius: 8px;
    padding: 8px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.ui-stat-card span {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #0077B6;
}

.ui-chart {
    flex: 1;
    background: white;
    border-radius: 8px;
    background-image: linear-gradient(to right, transparent 49%, rgba(0, 0, 0, 0.05) 50%),
        linear-gradient(to bottom, transparent 49%, rgba(0, 0, 0, 0.05) 50%);
    background-size: 20px 20px;
}

/* Patient Card */
.ui-patient-card {
    display: flex;
    gap: var(--space-xs);
    align-items: center;
    background: white;
    padding: var(--space-xs);
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.patient-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0077B6, #00B4D8);
}

.patient-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-line {
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
}

.info-line.name {
    width: 80%;
    background: #1e3a5f;
}

.info-line.short {
    width: 40%;
}

.ui-vitals {
    display: flex;
    justify-content: space-around;
    background: white;
    padding: var(--space-xs);
    border-radius: 8px;
}

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

.vital-value {
    display: block;
    font-weight: 700;
    font-size: 1rem;
    color: #0077B6;
}

.vital-label {
    font-size: 0.6rem;
    color: #888;
}

.ui-timeline {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.timeline-item {
    height: 20px;
    background: white;
    border-left: 3px solid #0077B6;
    border-radius: 4px;
}

/* Lab Results */
.lab-results {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.lab-item {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 8px;
    border-radius: 6px;
}

.lab-name {
    width: 70px;
    font-size: 0.65rem;
}

.lab-bar {
    flex: 1;
    height: 8px;
    background: #e5e5e5;
    border-radius: 4px;
    overflow: hidden;
}

.lab-fill {
    height: 100%;
    background: linear-gradient(90deg, #0077B6, #00B4D8);
    border-radius: 4px;
}

.lab-fill.warning {
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
}

.lab-value {
    width: 50px;
    text-align: right;
    font-weight: 600;
    font-size: 0.65rem;
}

.ui-badge {
    font-size: 0.6rem;
    background: #fef3c7;
    color: #92400e;
    padding: 2px 8px;
    border-radius: 10px;
}

.ui-footer-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

.btn-ui {
    padding: 6px 12px;
    border-radius: 6px;
    background: #e5e5e5;
    font-size: 0.65rem;
    cursor: pointer;
}

.btn-ui.primary {
    background: #0077B6;
    color: white;
}

.ui-actions {
    display: flex;
    gap: 6px;
}

/* Health Theme */
.placeholder-ui.health {
    background: linear-gradient(180deg, #ECFDF5 0%, #F0FDF4 100%);
    color: #064e3b;
}

.mobile-frame {
    max-width: 180px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    padding: 8px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.mobile-header {
    display: flex;
    justify-content: space-between;
    font-size: 0.6rem;
    padding: 4px 8px;
    color: #888;
}

.status-icons {
    display: flex;
    gap: 4px;
}

.status-icons span {
    width: 12px;
    height: 6px;
    background: #333;
    border-radius: 2px;
}

.app-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px;
}

.back-btn {
    color: #0d9488;
}

.app-title {
    font-weight: 600;
    font-size: 0.8rem;
}

.calendar-mini {
    padding: 8px;
}

.cal-header {
    font-size: 0.7rem;
    font-weight: 600;
    text-align: center;
    margin-bottom: 8px;
}

.cal-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 4px;
    text-align: center;
    font-size: 0.6rem;
}

.day {
    color: #888;
}

.date {
    padding: 4px;
    border-radius: 50%;
}

.date.selected {
    background: #0d9488;
    color: white;
}

.time-slots {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    padding: 8px;
}

.slot {
    padding: 6px 10px;
    border-radius: 6px;
    background: #e5e5e5;
    font-size: 0.65rem;
    color: #888;
}

.slot.available {
    background: #d1fae5;
    color: #065f46;
}

.slot.selected {
    background: #0d9488;
    color: white;
}

.mobile-cta {
    margin-top: auto;
    background: #0d9488;
    color: white;
    border: none;
    padding: 10px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.75rem;
}

/* Appointments List */
.placeholder-ui.health .ui-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.placeholder-ui.health .ui-logo {
    font-weight: 700;
    color: #0d9488;
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
}

.appointments-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.appointment-card {
    display: flex;
    align-items: center;
    gap: 8px;
    background: white;
    padding: 10px;
    border-radius: 10px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.appointment-card.current {
    border: 2px solid #0d9488;
}

.apt-time {
    font-weight: 700;
    color: #0d9488;
    width: 40px;
}

.apt-info {
    flex: 1;
}

.apt-name {
    font-weight: 600;
    font-size: 0.8rem;
}

.apt-type {
    font-size: 0.65rem;
    color: #888;
}

.apt-status {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #e5e5e5;
}

.apt-status.pending {
    background: #fbbf24;
}

.apt-status.active {
    background: #10b981;
    animation: pulse 1.5s infinite;
}

/* Telemedicine */
.placeholder-ui.telemedicine {
    background: #1a1a2e;
    color: white;
    justify-content: center;
    align-items: center;
}

.video-container {
    position: relative;
    width: 100%;
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

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

.video-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #0d9488, #14b8a6);
    margin: 0 auto 8px;
}

.video-avatar.large {
    width: 80px;
    height: 80px;
}

.video-name {
    font-size: 0.8rem;
}

.video-pip {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: rgba(0, 0, 0, 0.5);
    padding: 8px;
    border-radius: 10px;
}

.video-pip .video-avatar {
    width: 40px;
    height: 40px;
    margin: 0;
}

.call-controls {
    display: flex;
    justify-content: center;
    gap: 12px;
    padding: 10px;
}

.control-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

.control-btn.end {
    background: #ef4444;
}

.control-btn.mute {
    background: rgba(255, 255, 255, 0.2);
}

/* Luxury Theme */
.placeholder-ui.luxury {
    background: linear-gradient(180deg, #1c1c1c 0%, #2a2a2a 100%);
    color: #f5f5f5;
}

.placeholder-ui.luxury .ui-header.hotel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(212, 175, 55, 0.3);
}

.ui-logo.gold {
    color: #d4af37;
    font-weight: 700;
}

.ui-date {
    font-size: 0.65rem;
    color: #888;
}

.ui-period {
    font-size: 0.65rem;
    color: #888;
}

.room-selector {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.room-card {
    display: flex;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
    border: 1px solid transparent;
    cursor: pointer;
}

.room-card.selected {
    border-color: #d4af37;
    background: rgba(212, 175, 55, 0.1);
}

.room-image {
    width: 60px;
    height: 45px;
    border-radius: 6px;
    background: linear-gradient(135deg, #3a3a3a, #4a4a4a);
}

.room-image.deluxe {
    background: linear-gradient(135deg, #d4af37, #f5d78e);
}

.room-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.room-type {
    font-weight: 600;
    font-size: 0.75rem;
}

.room-price {
    font-size: 0.65rem;
    color: #d4af37;
}

.booking-summary {
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 8px;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.7rem;
    padding: 4px 0;
}

.summary-row.total {
    border-top: 1px solid rgba(212, 175, 55, 0.3);
    margin-top: 4px;
    padding-top: 8px;
    font-weight: 700;
    color: #d4af37;
}

.btn-luxury {
    width: 100%;
    background: linear-gradient(135deg, #d4af37, #c9a227);
    color: #1c1c1c;
    border: none;
    padding: 12px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 0.8rem;
    cursor: pointer;
}

/* Guest List */
.guest-list {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.guest-card {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    padding: 10px;
    border-radius: 10px;
}

.guest-card.vip {
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.guest-card.checkout {
    opacity: 0.6;
}

.guest-avatar {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: linear-gradient(135deg, #555, #777);
}

.guest-card.vip .guest-avatar {
    background: linear-gradient(135deg, #d4af37, #f5d78e);
}

.guest-info {
    flex: 1;
}

.guest-name {
    font-weight: 600;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 6px;
}

.vip-badge {
    font-size: 0.55rem;
    background: #d4af37;
    color: #1c1c1c;
    padding: 2px 6px;
    border-radius: 4px;
}

.guest-room {
    font-size: 0.65rem;
    color: #888;
}

.guest-status {
    font-size: 1rem;
}

.guest-status.checkin {
    color: #10b981;
}

.guest-status.staying {
    color: #d4af37;
}

.guest-status.out {
    color: #ef4444;
}

/* Hotel Dashboard */
.placeholder-ui.luxury.dashboard {
    align-items: center;
}

.occupancy-visual {
    text-align: center;
    margin: var(--space-sm) 0;
}

.occupancy-ring {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto;
}

.occupancy-ring svg {
    transform: rotate(-90deg);
}

.ring-bg {
    fill: none;
    stroke: rgba(255, 255, 255, 0.1);
    stroke-width: 8;
}

.ring-fill {
    fill: none;
    stroke: #d4af37;
    stroke-width: 8;
    stroke-linecap: round;
    stroke-dasharray: 251.2;
    stroke-dashoffset: calc(251.2 - (251.2 * var(--percent) / 100));
}

.occupancy-value {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.5rem;
    font-weight: 700;
    color: #d4af37;
}

.occupancy-label {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #888;
}

.hotel-stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

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

.stat-val {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #d4af37;
}

.stat-lbl {
    font-size: 0.6rem;
    color: #888;
}

/* Cyberpunk Theme */
.placeholder-ui.cyberpunk {
    background: linear-gradient(180deg, #0a0a0f 0%, #1a1a2e 100%);
    color: #00ff9f;
    font-family: var(--font-mono);
}

.ui-header.cyber {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: var(--space-xs);
    border-bottom: 1px solid rgba(255, 0, 110, 0.3);
}

.ui-logo.neon {
    color: #ff006e;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(255, 0, 110, 0.5);
}

.live-indicator {
    font-size: 0.6rem;
    color: #00ff9f;
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.data-grid {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.grid-header {
    display: grid;
    grid-template-columns: 50px 1fr 50px 40px;
    gap: 8px;
    font-size: 0.55rem;
    color: #888;
    padding: 6px 8px;
}

.grid-row {
    display: grid;
    grid-template-columns: 50px 1fr 50px 40px;
    gap: 8px;
    font-size: 0.6rem;
    padding: 8px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 4px;
    align-items: center;
}

.grid-row.warning {
    border-left: 2px solid #fbbf24;
}

.grid-row.critical {
    border-left: 2px solid #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.sku {
    color: #00d4ff;
}

.qty {
    text-align: right;
}

.status {
    font-size: 0.55rem;
    text-align: center;
}

.status.ok {
    color: #00ff9f;
}

.status.low {
    color: #fbbf24;
}

.status.out {
    color: #ef4444;
}

/* ================================================
   PRICING SECTION
   ================================================ */

.pricing-section {
    padding: var(--space-xl) var(--space-md);
    position: relative;
    min-height: 100vh;
}

/* Currency Toggle (Redesigned) */
.currency-toggle-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: var(--space-lg);
}

.currency-glass-container {
    display: flex;
    align-items: center;
    background: rgba(30, 30, 50, 0.95);
    border: 1px solid var(--glass-border);
    border-radius: 16px;
    padding: 6px;
    /* backdrop-filter removed for performance */
    position: relative;
}

.currency-option {
    background: transparent;
    border: none;
    color: var(--chrome-silver);
    padding: 10px 20px;
    border-radius: 12px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
    z-index: 2;
}

.curr-icon {
    font-size: 1.1rem;
    filter: grayscale(1);
    transition: var(--transition-fast);
}

.currency-option:hover {
    color: var(--chrome-white);
}

.currency-option:hover .curr-icon {
    filter: grayscale(0);
}

.currency-option.active {
    color: var(--chrome-dark);
    background: var(--electric-primary);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.4);
}

.currency-option.active .curr-icon {
    filter: grayscale(0);
}

.currency-divider {
    width: 1px;
    height: 20px;
    background: var(--glass-border);
    margin: 0 4px;
}

/* Pricing Grid */
.pricing-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
    max-width: 1200px;
    margin: 0 auto;
    will-change: contents;
}

.pricing-card {
    padding: 0;
    /* Remove default padding to handle internal layout */
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    transition: var(--transition-smooth);
    will-change: transform, box-shadow;
    transform: translateZ(0);
    overflow: hidden;
    /* Contain the neon tab */
}

.pricing-card:hover {
    transform: translateY(-10px);
    border-color: var(--electric-bright);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.pricing-card.featured {
    border-color: var(--electric-bright);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.15);
    transform: scale(1.02);
    z-index: 2;
}

.pricing-card.featured:hover {
    transform: scale(1.02) translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.25);
}

/* Neon Tab */
.neon-tab-container {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: 20px;
    padding-bottom: 10px;
    position: relative;
}

.neon-tab {
    background: rgba(26, 26, 46, 0.8);
    border: 1px solid var(--tab-color);
    padding: 8px 24px;
    border-radius: 50px;
    position: relative;
    box-shadow: 0 0 10px var(--tab-color);
    /* animation disabled for performance */
}

.plan-name {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 0 0 5px var(--tab-color);
}

@keyframes neon-pulse {

    0%,
    100% {
        box-shadow: 0 0 15px var(--tab-color), inset 0 0 5px var(--tab-color);
    }

    50% {
        box-shadow: 0 0 25px var(--tab-color), inset 0 0 15px var(--tab-color);
    }
}

.pricing-content {
    padding: var(--space-md);
    display: flex;
    flex-direction: column;
    flex-grow: 1;
}

.pricing-header {
    text-align: center;
    margin-bottom: var(--space-md);
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: var(--space-md);
}

.plan-price {
    display: flex;
    justify-content: center;
    align-items: baseline;
    gap: 4px;
    margin-bottom: var(--space-xs);
}

.currency-symbol {
    font-size: 1.2rem;
    color: var(--chrome-silver);
}

.amount {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--electric-bright);
}

.currency-code {
    font-size: 1rem;
    color: var(--chrome-silver);
    font-weight: 500;
}

.plan-desc {
    color: var(--chrome-silver);
    font-size: 0.9rem;
    min-height: 40px;
}

.plan-features {
    list-style: none;
    margin-bottom: var(--space-md);
    flex-grow: 1;
}

.plan-features li {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    color: var(--chrome-white);
    font-size: 0.95rem;
}

.pricing-cta {
    width: 100%;
    justify-content: center;
    margin-top: auto;
}

.popular-tag {
    position: absolute;
    top: 10px;
    right: 10px;
    left: auto;
    transform: none;
    background: var(--electric-bright);
    color: var(--chrome-dark);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    z-index: 5;
}

@media (max-width: 768px) {
    .pricing-card.featured {
        transform: scale(1);
    }

    .pricing-card.featured:hover {
        transform: translateY(-10px);
    }

    .pricing-card {
        border-color: var(--electric-bright);
        box-shadow: 0 0 20px rgba(0, 212, 255, 0.15);
    }
}

.data-ticker span {
    display: inline-block;
    animation: ticker 20s linear infinite;
}

@keyframes ticker {
    0% {
        transform: translateX(100%);
    }

    100% {
        transform: translateX(-100%);
    }
}

.ui-filter {
    font-size: 0.6rem;
    color: #888;
}

/* Warehouse Visual */
.warehouse-visual {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.warehouse-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
    width: 100%;
    max-width: 200px;
}

.zone {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 700;
    font-size: 1.2rem;
    border: 2px solid currentColor;
}

.zone.full {
    color: #00ff9f;
    background: rgba(0, 255, 159, 0.1);
}

.zone.partial {
    color: #fbbf24;
    background: rgba(251, 191, 36, 0.1);
}

.zone.empty {
    color: #ef4444;
    background: rgba(239, 68, 68, 0.1);
}

.warehouse-legend {
    display: flex;
    gap: 12px;
    font-size: 0.6rem;
    color: #888;
}

.warehouse-legend span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.warehouse-legend i {
    width: 10px;
    height: 10px;
    border-radius: 2px;
}

.warehouse-legend i.full {
    background: #00ff9f;
}

.warehouse-legend i.partial {
    background: #fbbf24;
}

.warehouse-legend i.empty {
    background: #ef4444;
}

.logistics-stats {
    display: flex;
    justify-content: space-around;
    width: 100%;
}

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

.log-stat .num {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ff006e;
}

.log-stat .lbl {
    font-size: 0.6rem;
    color: #888;
}

/* Cyber Chart */
.placeholder-ui.cyberpunk.analytics {
    justify-content: space-between;
}

.cyber-chart {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    position: relative;
    padding: 10px 0;
}

.chart-bars {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 100px;
    gap: 8px;
}

.bar {
    flex: 1;
    height: var(--height);
    background: linear-gradient(180deg, #00d4ff, #0066ff);
    border-radius: 4px 4px 0 0;
    opacity: 0.6;
    transition: var(--transition-fast);
}

.bar.active {
    opacity: 1;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.bar:hover {
    opacity: 1;
}

.chart-line {
    position: absolute;
    top: 30%;
    left: 0;
    width: 100%;
    border-top: 1px dashed rgba(255, 0, 110, 0.3);
}

.kpi-row {
    display: flex;
    justify-content: space-around;
}

.kpi {
    text-align: center;
}

.kpi-val {
    display: block;
    font-size: 1rem;
    font-weight: 700;
}

.kpi-val.up {
    color: #00ff9f;
}

.kpi-val.down {
    color: #ef4444;
}

.kpi-lbl {
    font-size: 0.55rem;
    color: #888;
}

/* ================================================
   CONTACT SECTION
   ================================================ */

.contact-section {
    padding: var(--space-xl) var(--space-md);
    position: relative;
}

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

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

.contact-text {
    color: var(--chrome-silver);
    font-size: 1.1rem;
    margin-bottom: var(--space-lg);
}

.contact-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-md) var(--space-lg);
    text-decoration: none;
    color: var(--chrome-white);
    min-width: 200px;
}

.contact-card:hover {
    border-color: var(--electric-bright);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.2);
    transform: translateY(-5px);
}

.contact-icon {
    font-size: 2rem;
}

.contact-label {
    font-size: 0.85rem;
    color: var(--chrome-silver);
}

.contact-value {
    font-weight: 600;
    color: var(--electric-bright);
}

/* ================================================
   FOOTER
   ================================================ */

.footer {
    background: rgba(10, 10, 15, 0.9);
    border-top: 1px solid var(--glass-border);
    padding: var(--space-lg) var(--space-md);
}

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

.footer-main {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: var(--space-lg);
    margin-bottom: var(--space-md);
}

.footer-brand {
    display: flex;
    flex-direction: column;
    gap: var(--space-sm);
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: 800;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.footer-tagline {
    color: var(--chrome-silver);
    font-size: 0.9rem;
}

.footer-legal h4,
.footer-links h4 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: var(--space-sm);
    color: var(--electric-bright);
}

.legal-info {
    list-style: none;
    font-size: 0.85rem;
    color: var(--chrome-silver);
    line-height: 2;
}

.legal-info strong {
    color: var(--chrome-white);
}

.legal-info a {
    color: var(--electric-primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

.legal-info a:hover {
    color: var(--electric-bright);
}

.footer-links ul {
    list-style: none;
    font-size: 0.85rem;
    line-height: 2;
}

.footer-links a {
    color: var(--chrome-silver);
    text-decoration: none;
    transition: var(--transition-fast);
}

.footer-links a:hover {
    color: var(--electric-bright);
}

.footer-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--glass-border), transparent);
    margin-bottom: var(--space-md);
}

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

.copyright {
    font-size: 0.85rem;
    color: var(--chrome-silver);
}

.footer-code {
    font-family: var(--font-mono);
    color: var(--electric-primary);
    opacity: 0.7;
    margin-left: var(--space-sm);
}

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

@media (max-width: 1024px) {
    .carousel-category {
        flex-wrap: wrap;
    }

    .carousel-card {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    .nav-links {
        display: none;
        /* Would add hamburger menu in full implementation */
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .code-decoration {
        display: none;
    }

    /* Portfolio Mobile Improvements */
    .category-selector {
        gap: var(--space-sm);
        overflow-x: auto;
        padding-bottom: var(--space-xs);
        justify-content: flex-start;
        flex-wrap: nowrap;
        -webkit-overflow-scrolling: touch;
    }

    .category-btn {
        padding: var(--space-sm) var(--space-md);
        font-size: 0.9rem;
        white-space: nowrap;
        flex-shrink: 0;
    }

    .category-name {
        display: inline-block;
        /* Show name on mobile for better UX */
    }

    .carousel-container {
        perspective: none;
        /* Disable 3D perspective */
    }

    .carousel-3d {
        min-height: auto;
    }

    .carousel-category {
        flex-direction: column;
        align-items: center;
        gap: var(--space-md);
        position: relative;
        opacity: 0;
        display: none;
        /* Hide by default */
        transform: none !important;
        /* Reset transform */
        transition: opacity 0.3s ease;
    }

    .carousel-category.active {
        display: flex;
        /* Show as flex column */
        opacity: 1;
        visibility: visible;
        transform: none !important;
    }

    .carousel-card {
        max-width: 100%;
        width: 100%;
        transform: none !important;
        /* Force reset of JS transforms */
        opacity: 1 !important;
        /* Force visible */
        margin-bottom: var(--space-sm);
        animation: none !important;
        /* Disable floating animation */
        pointer-events: auto !important;
        /* Ensure clickable */
    }

    .carousel-card:hover {
        transform: none !important;
    }

    .carousel-nav {
        display: none;
        /* Hide arrows/dots on mobile */
    }

    .footer-main {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .hero-cta-container {
        flex-direction: column;
    }

    .glass-button {
        width: 100%;
        justify-content: center;
    }
}

/* ================================================
   ACCESSIBILITY
   ================================================ */

@media (prefers-reduced-motion: reduce) {

    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--electric-bright);
    outline-offset: 2px;
}

/* Print Styles */
@media print {

    .liquid-background,
    .particles-container,
    .glass-nav {
        display: none;
    }

    body {
        background: white;
        color: black;
    }
}

/* ================================================
   SOCIAL FLOATING BUTTONS
   ================================================ */

.social-floating {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    z-index: 1000;
}

.social-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: var(--transition-smooth);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.social-btn svg {
    width: 28px;
    height: 28px;
}

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

.social-btn.whatsapp:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.5);
}

.social-btn.instagram {
    background: linear-gradient(135deg, #F56040, #C13584, #833AB4);
}

.social-btn.instagram:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 6px 30px rgba(193, 53, 132, 0.5);
}

/* ================================================
   QUOTE FORM
   ================================================ */

.quote-form {
    max-width: 700px;
    margin: 0 auto var(--space-lg);
    padding: var(--space-lg);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--space-md);
}

.form-group {
    margin-bottom: var(--space-md);
}

.form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--chrome-silver);
    margin-bottom: var(--space-xs);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: var(--space-sm);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 10px;
    color: var(--chrome-white);
    font-family: var(--font-primary);
    font-size: 1rem;
    transition: var(--transition-fast);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--electric-bright);
    background: rgba(0, 212, 255, 0.05);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.1);
}

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23c9d6df' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

.form-group select option {
    background: var(--chrome-base);
    color: var(--chrome-white);
}

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

.submit-btn {
    width: 100%;
    padding: var(--space-sm) var(--space-md);
    font-size: 1.1rem;
    justify-content: center;
    border: none;
    margin-top: var(--space-sm);
}

.submit-btn:hover {
    background: linear-gradient(135deg, var(--electric-primary), var(--electric-bright));
}

/* Contact Methods (updated) */
.contact-methods {
    display: flex;
    justify-content: center;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.contact-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: var(--space-md);
    text-decoration: none;
    min-width: 200px;
    transition: var(--transition-smooth);
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--electric-bright);
    box-shadow: 0 10px 40px rgba(0, 212, 255, 0.2);
}

.contact-icon {
    font-size: 2rem;
    margin-bottom: var(--space-xs);
}

.contact-label {
    font-size: 0.85rem;
    color: var(--chrome-silver);
    margin-bottom: 0.25rem;
}

.contact-value {
    color: var(--electric-bright);
    font-weight: 600;
}

/* ================================================
   CARD IMAGE STYLES
   ================================================ */

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.carousel-card:hover .card-image img {
    transform: scale(1.05);
}

/* Admin Panel Placeholder (for salud admin) */
.admin-stats {
    display: flex;
    justify-content: space-around;
    padding: var(--space-sm);
    background: rgba(13, 148, 136, 0.1);
    margin: var(--space-sm);
    border-radius: 8px;
}

.admin-stat {
    text-align: center;
    color: var(--category-salud);
}

.admin-stat span {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--chrome-white);
}

.admin-chart {
    height: 80px;
    margin: var(--space-sm);
    background: linear-gradient(to right,
            rgba(13, 148, 136, 0.2) 0%,
            rgba(13, 148, 136, 0.4) 30%,
            rgba(13, 148, 136, 0.3) 60%,
            rgba(13, 148, 136, 0.5) 100%);
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.admin-chart::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60%;
    background: linear-gradient(90deg,
            transparent 0%,
            var(--category-salud) 10%,
            transparent 20%,
            var(--category-salud) 40%,
            transparent 50%,
            var(--category-salud) 70%,
            transparent 80%,
            var(--category-salud) 95%);
    clip-path: polygon(0% 100%, 5% 60%, 15% 80%, 25% 40%, 35% 70%, 45% 30%, 55% 50%, 65% 20%, 75% 60%, 85% 40%, 95% 55%, 100% 30%, 100% 100%);
}

/* Responsive Form */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }

    .quote-form {
        padding: var(--space-md);
    }

    .social-floating {
        bottom: 20px;
        right: 20px;
    }

    .social-btn {
        width: 50px;
        height: 50px;
    }

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

    .contact-methods {
        flex-direction: column;
        align-items: center;
    }

    .contact-card {
        width: 100%;
        max-width: 300px;
    }
}