/* ========================================
   VARIABLES Y RESET
   ======================================== */

:root {
    /* Colors */
    --primary-color: #00829B;
    --primary-dark: #004D40;
    --secondary-color: #E0F7FA;
    --accent-color: #00829B;
    
    /* Grays */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    
    /* Spacing */
    --max-width: 1200px;
    --section-padding: 80px 20px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    line-height: 1.6;
    color: var(--gray-800);
    background: #fff;
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

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

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

/* ========================================
   HEADER
   ======================================== */

.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--gray-200);
    z-index: 1000;
    transition: var(--transition);
}

.header.scrolled {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 0;
    gap: 32px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 700;
    font-size: 20px;
    color: var(--secondary-color);
}

.logo img {
    width: 40px;
    height: 40px;
    object-fit: contain;
}

.nav-links {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-links a {
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
    position: relative;
}

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

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

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.language-switch {
    display: flex;
    gap: 4px;
    background: var(--gray-100);
    border-radius: 8px;
    padding: 4px;
}

.lang-btn {
    padding: 6px 12px;
    border: none;
    background: transparent;
    border-radius: 6px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    color: var(--gray-600);
}

.lang-btn.active {
    background: white;
    color: var(--primary-color);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 24px;
    height: 2px;
    background: var(--gray-800);
    transition: var(--transition);
}

/* ========================================
   BUTTONS
   ======================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 600;
    font-size: 15px;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    text-align: center;
}

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

.btn-primary:hover {
    background: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 122, 0, 0.3);
}

.btn-secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

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

.btn-outline {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

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

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

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

.hero-section {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.hero-media {
    width: 100%;
    height: 100%;
}

.hero-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(11, 18, 32, 0.9) 0%, rgba(11, 18, 32, 0.7) 100%);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 900px;
    padding: 0 20px;
}

.hero-badge {
    display: inline-block;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    font-size: 14px;
    font-weight: 500;
    margin-bottom: 24px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 24px;
    letter-spacing: -0.02em;
}

.hero-subtitle {
    font-size: 20px;
    line-height: 1.6;
    opacity: 0.9;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-ctas {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    color: white;
    opacity: 0.7;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateX(-50%) translateY(0);
    }
    40% {
        transform: translateX(-50%) translateY(-10px);
    }
    60% {
        transform: translateX(-50%) translateY(-5px);
    }
}

/* ========================================
   SECTIONS
   ======================================== */

.section {
    padding: var(--section-padding);
}

.section-alt {
    background: var(--gray-50);
}

.section-header {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    color: var(--secondary-color);
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

.section-description {
    font-size: 18px;
    color: var(--gray-600);
    line-height: 1.6;
}

.section-cta {
    text-align: center;
    margin-top: 48px;
}

/* ========================================
   SERVICES GRID
   ======================================== */

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

.service-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.service-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
    border-color: var(--primary-color);
}

.service-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.service-icon svg {
    color: white;
}

.service-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.service-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

/* ========================================
   EXPERTISE GRID
   ======================================== */

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

.expertise-card {
    background: white;
    padding: 28px;
    border-radius: 12px;
    border: 2px solid var(--gray-200);
    transition: var(--transition);
}

.expertise-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.08);
}

.expertise-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.expertise-card p {
    color: var(--gray-600);
    font-size: 15px;
    line-height: 1.6;
}

/* ========================================
   WHY CENTRALIS
   ======================================== */

.why-content {
    max-width: 1000px;
    margin: 0 auto;
}

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

.why-item {
    position: relative;
    padding-left: 60px;
}

.why-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 800;
    font-size: 18px;
    color: white;
}

.why-item h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.why-item p {
    color: var(--gray-600);
    line-height: 1.6;
}

.social-proof {
    text-align: center;
    padding: 40px;
    background: white;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

.social-proof-title {
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 20px;
}

.industries {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    justify-content: center;
}

.industry-tag {
    padding: 8px 16px;
    background: var(--gray-100);
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    color: var(--gray-700);
    display: inline-flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.industry-tag svg {
    color: var(--primary-color);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.industry-tag:hover {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(255, 107, 0, 0.1));
    color: var(--secondary-color);
    transform: translateY(-2px);
}

.industry-tag:hover svg {
    color: var(--secondary-color);
    transform: scale(1.1);
}

/* ========================================
   CASES GRID
   ======================================== */

.cases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 32px;
}

.case-card {
    background: white;
    padding: 32px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
    transition: var(--transition);
}

.case-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 24px rgba(0, 0, 0, 0.1);
}

.case-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.case-header h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
}

.case-tag {
    padding: 4px 12px;
    background: var(--primary-color);
    color: white;
    border-radius: 6px;
    font-size: 12px;
    font-weight: 600;
}

.case-problem,
.case-solution {
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 12px;
}

.case-problem strong,
.case-solution strong {
    color: var(--secondary-color);
}

.case-impact {
    display: flex;
    gap: 20px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--gray-200);
}

.impact-metric {
    flex: 1;
    text-align: center;
}

.metric-value {
    display: block;
    font-size: 28px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 4px;
}

.metric-label {
    display: block;
    font-size: 12px;
    color: var(--gray-600);
    font-weight: 500;
}

/* ========================================
   CONNECTIVITY
   ======================================== */

.connectivity-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
}

.connectivity-category h3 {
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 16px;
}

.tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tech-tag {
    padding: 8px 14px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 13px;
    font-weight: 500;
    color: var(--gray-700);
    transition: var(--transition);
}

.tech-tag:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
    background: rgba(255, 122, 0, 0.05);
}

/* ========================================
   CONTACT FORM
   ======================================== */

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

.contact-form {
    background: white;
    padding: 40px;
    border-radius: 16px;
    border: 1px solid var(--gray-200);
}

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

.form-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form-group label {
    font-weight: 600;
    font-size: 14px;
    color: var(--gray-700);
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-family: inherit;
    font-size: 15px;
    transition: var(--transition);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(255, 122, 0, 0.1);
}

.checkbox-group label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    margin-top: 4px;
    width: 18px;
    height: 18px;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.form-message {
    margin-top: 20px;
    padding: 16px;
    border-radius: 8px;
    font-weight: 500;
}

.form-message.success {
    background: #d1fae5;
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.form-message.error {
    background: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

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

.footer {
    background: var(--secondary-color);
    color: white;
    padding: 60px 20px 30px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
    margin-bottom: 40px;
}

.footer-brand {
    max-width: 400px;
}

.footer-logo {
    width: 60px;
    height: 60px;
    margin-bottom: 16px;
}

.footer-brand p {
    margin-bottom: 8px;
    opacity: 0.9;
}

.footer-tagline {
    font-size: 14px;
    opacity: 0.7;
}

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

.footer-column h4 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255, 255, 255, 0.8);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    font-size: 14px;
    opacity: 0.7;
}

.footer-legal {
    margin-top: 8px;
}

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

@media (max-width: 768px) {
    .nav-links {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .section-title {
        font-size: 32px;
    }
    
    .services-grid,
    .expertise-grid,
    .cases-grid,
    .connectivity-grid {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .form-actions .btn {
        width: 100%;
    }
}

@media (max-width: 480px) {
    .hero-ctas {
        flex-direction: column;
        width: 100%;
    }
    
    .hero-ctas .btn {
        width: 100%;
    }
    
    .contact-form {
        padding: 24px;
    }
}




/* ========================================
   SERVICE CARDS WITH IMAGES
   ======================================== */

.service-card-image {
    position: relative;
    background: white;
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid var(--gray-200);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.service-card-image:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--primary-color);
}

.service-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
}

.service-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.service-card-image:hover .service-image {
    transform: scale(1.1);
}

.service-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, rgba(11, 18, 32, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.service-card-image:hover .service-image-overlay {
    opacity: 1;
}

.service-card-content {
    padding: 24px;
}

.service-card-content h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.service-card-content p {
    color: var(--gray-600);
    line-height: 1.6;
    font-size: 15px;
}

/* ========================================
   STATS SECTION WITH ANIMATED NUMBERS
   ======================================== */

.stats-section {
    background: linear-gradient(135deg, var(--secondary-color), #1a2332);
    padding: 80px 20px;
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

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

.stat-number {
    font-size: 48px;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 8px;
    display: block;
}

.stat-label {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

/* ========================================
   CLIENTS SECTION
   ======================================== */

.clients-section {
    padding: 60px 20px;
    background: var(--gray-50);
}

.clients-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
    max-width: 1000px;
    margin: 40px auto 0;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: white;
    border-radius: 12px;
    border: 1px solid var(--gray-200);
    transition: all 0.3s ease;
    min-height: 100px;
}

.client-logo:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.client-logo img {
    max-width: 100%;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* ========================================
   VIDEO SECTION
   ======================================== */

.video-section {
    padding: 80px 20px;
    background: var(--secondary-color);
    color: white;
}

.video-wrapper {
    position: relative;
    max-width: 900px;
    margin: 40px auto 0;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.video-wrapper iframe,
.video-wrapper video {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background: var(--gray-800);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-400);
    font-size: 18px;
}

/* ========================================
   SECURITY/COMPLIANCE SECTION
   ======================================== */

.security-section {
    padding: 80px 20px;
    background: linear-gradient(rgba(15, 23, 42, 0.92), rgba(15, 23, 42, 0.92)), url('/industrial/assets/images/security-bg.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    position: relative;
}

.security-section .section-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
}

.security-section .section-description {
    color: rgba(255, 255, 255, 0.9) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

.security-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.security-card {
    background: var(--gray-50);
    padding: 32px;
    border-radius: 16px;
    border: 2px solid var(--gray-200);
    transition: all 0.3s ease;
}

.security-card:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 24px rgba(0, 168, 232, 0.1);
}

.security-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--accent-color), #0088c0);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.security-icon svg {
    color: white;
}

.security-card h3 {
    font-size: 20px;
    font-weight: 700;
    color: var(--secondary-color);
    margin-bottom: 12px;
}

.security-card p {
    color: var(--gray-600);
    line-height: 1.6;
}

.security-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 20px;
}

.security-badge {
    padding: 6px 12px;
    background: white;
    border: 1px solid var(--gray-300);
    border-radius: 6px;
    font-size: 13px;
    font-weight: 600;
    color: var(--gray-700);
}

/* ========================================
   ANIMATED BACKGROUND PATTERNS
   ======================================== */

.pattern-bg {
    position: relative;
    overflow: hidden;
}

.pattern-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(30deg, rgba(0, 168, 232, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 168, 232, 0.05) 87.5%, rgba(0, 168, 232, 0.05)),
        linear-gradient(150deg, rgba(0, 168, 232, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 168, 232, 0.05) 87.5%, rgba(0, 168, 232, 0.05)),
        linear-gradient(30deg, rgba(0, 168, 232, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 168, 232, 0.05) 87.5%, rgba(0, 168, 232, 0.05)),
        linear-gradient(150deg, rgba(0, 168, 232, 0.05) 12%, transparent 12.5%, transparent 87%, rgba(0, 168, 232, 0.05) 87.5%, rgba(0, 168, 232, 0.05));
    background-size: 80px 140px;
    background-position: 0 0, 0 0, 40px 70px, 40px 70px;
    opacity: 0.3;
    z-index: 0;
}

.pattern-bg > * {
    position: relative;
    z-index: 1;
}

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

@media (max-width: 768px) {
    .service-image-wrapper {
        height: 180px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 30px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .security-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .service-image-wrapper {
        height: 160px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}


/* ============================================
   AI & ANALYTICS SECTION
   ============================================ */

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.2);
}

.ai-feature-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.ai-feature-icon svg {
    color: white;
}

.ai-feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.ai-feature-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

.ai-stats-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 4rem;
    padding-top: 3rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.ai-stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.ai-stat:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.ai-stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.ai-stat-label {
    display: block;
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.section-with-bg {
    position: relative;
    color: white;
}

.section-with-bg .section-title,
.section-with-bg .section-description,
.section-with-bg h3,
.section-with-bg p {
    color: white;
}

.section-with-bg .tech-tag {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border-color: rgba(255, 255, 255, 0.2);
}

.section-with-bg .tech-tag:hover {
    background: rgba(0, 188, 212, 0.2);
    border-color: var(--primary-color);
}

@media (max-width: 768px) {
    .ai-features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .ai-stats-row {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .ai-stat-number {
        font-size: 2rem;
    }
}

/* ============================================
   VIDEO SHOWCASE SECTION
   ============================================ */

.video-container {
    max-width: 900px;
    margin: 0 auto;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(0, 188, 212, 0.3);
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* ============================================
   CLIENTS SECTION
   ============================================ */

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

.client-logo {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 0, 0, 0.05);
    min-height: 120px;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    width: auto;
    height: auto;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.client-logo:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.15);
    border-color: var(--primary-color);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.client-logo img {
    max-width: 100%;
    max-height: 80px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.6;
    transition: all 0.3s ease;
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

/* Client Badges (Text-based) */
.client-badge {
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.05), rgba(255, 107, 0, 0.05));
    padding: 1.5rem 2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    border: 2px solid rgba(0, 188, 212, 0.1);
    min-height: 100px;
    position: relative;
    overflow: hidden;
}

.client-badge::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 188, 212, 0.1), transparent);
    transition: left 0.5s ease;
}

.client-badge:hover::before {
    left: 100%;
}

.client-badge:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.2);
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 188, 212, 0.1), rgba(255, 107, 0, 0.1));
}

.badge-text {
    font-size: 1.1rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 1;
}

.client-badge:hover .badge-text {
    background: linear-gradient(135deg, #00bcd4, #ff6b00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* ============================================
   COMPLIANCE SECTION
   ============================================ */

.compliance-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.compliance-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.compliance-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--primary-color);
    transform: translateY(-8px);
    box-shadow: 0 12px 40px rgba(0, 188, 212, 0.2);
}

.compliance-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.compliance-icon svg {
    color: white;
}

.compliance-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: white;
    margin-bottom: 0.75rem;
}

.compliance-card p {
    font-size: 0.95rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
}

/* Responsive */
@media (max-width: 768px) {
    .clients-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
    
    .compliance-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .video-container {
        border-radius: 8px;
    }
}

/* Hero Video Styles */
.hero-video {
    position: absolute;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translate(-50%, -50%);
    object-fit: cover;
    z-index: 0;
}

@media (max-width: 768px) {
    .hero-video {
        width: 100%;
        height: 100%;
    }
}

/* Fix Compliance Section Text Visibility */
.bg-dark {
    background-color: #0f172a !important;
}

/* Fix Video Section Text Visibility */
#video-showcase .section-title {
    color: #ffffff !important;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

#video-showcase .section-description {
    color: rgba(255, 255, 255, 0.95) !important;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.8);
}

.compliance-card h3 {
    color: #ffffff !important;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 1rem 0 0.5rem 0;
}

.compliance-card p {
    color: #cbd5e1 !important;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Health-specific overrides
   ======================================== */

/* Logo text en negro para mejor contraste */
.logo span {
    color: #1a1a1a !important;
    font-weight: 600;
}

/* Footer con fondo oscuro y texto blanco */
.footer {
    background: linear-gradient(135deg, #004D40 0%, #006064 100%) !important;
    color: #ffffff !important;
}

.footer h3,
.footer p,
.footer a,
.footer-links a {
    color: #ffffff !important;
}

.footer a:hover {
    color: #B2EBF2 !important;
}

/* Contact info más visible */
.contact-info {
    color: #B2EBF2 !important;
    font-weight: 500;
}

.contact-info a {
    color: #ffffff !important;
    text-decoration: underline;
}

.contact-info a:hover {
    color: #80DEEA !important;
}

/* Títulos de secciones y tarjetas más visibles */
.section-title,
.service-card h3,
.case-card h3 {
    color: #00829B !important;
}

/* Todos los títulos h3, h4 y subtítulos en color visible */
h3, h4,
.industry-card h3,
.feature-card h3,
.stat-label,
.case-section h4 {
    color: #0091C9 !important;
}

/* Etiquetas de casos de uso (Problema, Solución, Resultados) */
.case-card strong,
.case-section strong,
.case-card p strong {
    color: #0091C9 !important;
    font-weight: 700;
}

/* Footer contact links más visibles y clickeables */
.contact-info a {
    color: #ffffff !important;
    text-decoration: underline !important;
    text-decoration-color: #80DEEA !important;
    text-underline-offset: 3px;
    transition: all 0.3s ease;
}

.contact-info a:hover {
    color: #80DEEA !important;
    text-decoration-thickness: 2px !important;
    transform: translateX(3px);
}

/* Agregar iconos antes de los links */
.contact-info a[href^="https://maps"]::before {
    content: "📍 ";
    margin-right: 5px;
}

.contact-info a[href^="tel"]::before {
    content: "📞 ";
    margin-right: 5px;
}

.contact-info a[href^="mailto"]::before {
    content: "✉️ ";
    margin-right: 5px;
}

/* Iconos SVG del footer */
.footer-icon {
    width: 18px;
    height: 18px;
    display: inline-block;
    vertical-align: middle;
    margin-right: 8px;
    fill: #80DEEA;
}

.contact-info li {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}
