@font-face {
    font-family: 'Inter';
    font-weight: 700;
    src: url('https://assets-persist.lovart.ai/agent-static-assets/Inter.otf') format('opentype');
}

@font-face {
    font-family: 'Inter';
    font-weight: 500;
    src: url('https://assets-persist.lovart.ai/agent-static-assets/Inter.otf') format('opentype');
}

@font-face {
    font-family: 'Inter';
    font-weight: 400;
    src: url('https://assets-persist.lovart.ai/agent-static-assets/Inter.otf') format('opentype');
}


:root {
    --primary: #eb7903;
    --primary-light: #eb7903;
    --secondary: #0A192F;
    --accent: #0A192F;
    --neutral: #1E293B;
    --bg-light: #F8FAFC;
    --bg-dark: #0F172A;
    --text-main: #334155;
    --text-light: #94A3B8;
    --white: #FFFFFF;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.07);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Inter', sans-serif;
    font-weight: 400, sans-serif;
    scroll-behavior: smooth;
}

html {
    scroll-padding-top: 100px;
}

body {
    width: 100%;
    max-width: 1920px;
    margin: 0 auto;
    background-color: var(--bg-light);
    color: var(--text-main);
    overflow-x: hidden;
    transition: background-color 0.4s ease, color 0.4s ease;
}

h1,
h2,
h3,
h4 {
    font-family: 'Inter', sans-serif;
    font-weight: 700, sans-serif;
}

.gradient-text {
    color: var(--primary);
    -webkit-text-fill-color: var(--primary);
}

.gradient-text-alt {
    color: var(--secondary);
    -webkit-text-fill-color: var(--secondary);
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: var(--glass-shadow);
    transition: all 0.4s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
    border-color: rgba(235, 121, 3, 0.3);
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    width: 100%;
    max-width: 1920px;
    height: 100px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 1000;
    /* Liquid Glass styling */
    background: linear-gradient(90deg, rgba(255, 255, 255, 0.95), rgba(255, 255, 255, 0.65)) !important;
    backdrop-filter: blur(25px) saturate(200%);
    -webkit-backdrop-filter: blur(25px) saturate(200%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.7);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.05);
    transition: all 0.3s ease;
}

.logo-container {
    height: 60px;
    display: flex;
    align-items: center;
    flex: 1;
}

.logo-container img {
    height: 100%;
    object-fit: contain;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 0;
    list-style: none;
    flex: 2;
    /* Takes more space in the middle */
}

.nav-links li {
    flex: 1;
    display: flex;
    justify-content: center;
    min-width: 110px;
    /* Ensures consistent space for each word */
}

.nav-links li a {
    text-decoration: none;
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 15px;
    letter-spacing: 0.3px;
    position: relative;
    padding: 8px 12px;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
    border-radius: 12px;
}

.nav-links li a:hover {
    color: var(--primary);
}

/* Hide icons on desktop, show only text */
.nav-links li a i {
    display: none;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--secondary);
    transition: width 0.3s ease;
}

.nav-links li a:hover {
    color: var(--primary);
}

.nav-links li a:hover::after {
    width: 100%;
}

.nav-actions {
    display: flex;
    align-items: center;
    gap: 24px;
    flex: 1;
    justify-content: flex-end;
}

.btn {
    padding: 14px 32px;
    border-radius: 50px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #eb7903;
    color: var(--white);
    border: none;
    box-shadow: 0 10px 20px rgba(235, 121, 3, 0.2);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(235, 121, 3, 0.35);
    background: #d46d02;
}

.btn-outline {
    background: transparent;
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.btn-outline:hover {
    background: var(--secondary);
    color: var(--white);
}

.theme-toggle {
    background: #F1F5F9;
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: var(--text-main);
    font-size: 20px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s;
}

.theme-toggle:hover {
    background: #E2E8F0;
    color: var(--secondary);
}

/* Hero Section */
.hero {
    height: 100vh;
    min-height: 650px;
    padding-top: 100px;
    padding-bottom: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    background-image: url('../img/taller-real.png');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.hero-bg-shapes {
    display: none;
}

.shape-1 {
    position: absolute;
    width: 600px;
    height: 600px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(235, 121, 3, 0.08), rgba(235, 121, 3, 0));
    top: -100px;
    right: -100px;
    filter: blur(80px);
}

.shape-2 {
    position: absolute;
    width: 500px;
    height: 500px;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(10, 25, 47, 0.06), rgba(10, 25, 47, 0));
    bottom: -50px;
    left: -150px;
    filter: blur(80px);
}

.hero-content {
    text-align: center;
    max-width: 1200px;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0 40px;
    width: 100%;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 25, 47, 0.15);
    border-radius: 50px;
    font-size: 14px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    color: var(--secondary);
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    animation: fadeInDown 0.8s ease-out;
}

.hero-badge i {
    font-size: 16px;
}

body.dark-mode .hero-badge {
    background: var(--primary);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(235, 121, 3, 0.3);
}

.hero h1 {
    font-size: clamp(28px, 4.5vw, 48px);
    line-height: 1.05;
    color: #FFFFFF;
    margin-bottom: 12px;
    letter-spacing: -2px;
    opacity: 0;
    transform: translateY(30px);
    animation: revealUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
}

.hero p {
    font-size: 17px;
    line-height: 1.6;
    color: #FFFFFF;
    max-width: 800px;
    margin-bottom: 25px;
    opacity: 0;
    transform: translateY(20px);
    animation: revealUp 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards 0.3s;
}

.hero-btns {
    display: flex;
    gap: 20px;
    animation: fadeInUp 1.4s ease-out;
}

.hero-image-wrapper {
    margin-top: 60px;
    width: 100%;
    max-width: 900px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    flex-wrap: wrap;
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards 0.6s;
}

.hero-img-inner {
    width: 100%;
    height: 100%;
    border-radius: 20px;
    background: linear-gradient(45deg, var(--secondary), #1A365D);
    position: relative;
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-img-inner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 30px 30px;
}

.hero-img-inner i {
    font-size: 150px;
    color: rgba(255, 255, 255, 0.2);
    animation: pulse 4s infinite ease-in-out;
}

.floating-card {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(24px) saturate(120%);
    -webkit-backdrop-filter: blur(24px) saturate(120%);
    border-radius: 100px;
    padding: 16px 32px;
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.15),
        inset 0 1px 1px rgba(255, 255, 255, 0.4),
        inset 0 -1px 1px rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    gap: 16px;
    z-index: 2;
    transition: all 0.6s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}

.floating-card::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(to bottom right,
            rgba(255, 255, 255, 0) 0%,
            rgba(255, 255, 255, 0.1) 50%,
            rgba(255, 255, 255, 0) 100%);
    transform: rotate(30deg);
    transition: 0.8s;
    pointer-events: none;
}

.floating-card:hover::after {
    left: 100%;
    top: 100%;
}

.floating-card:hover {
    transform: translateY(-8px) scale(1.05);
    background: rgba(255, 255, 255, 0.12);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.25);
}

.fc-1 {
    animation: float 6s ease-in-out infinite;
}

.fc-2 {
    animation: float 8s ease-in-out infinite reverse;
}

.fc-icon {
    width: auto;
    height: auto;
    background: transparent !important;
    /* Override any inline backgrounds */
    color: #FFFFFF !important;
    /* Override inline colors */
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    box-shadow: none;
    backdrop-filter: none;
    border-radius: 0;
}

.fc-text h4 {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    margin-bottom: 2px;
    letter-spacing: 0px;
}

.fc-text p {
    color: #FFFFFF !important;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 400;
    margin: 0;
}

body.dark-mode .floating-card {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    box-shadow:
        0 8px 32px 0 rgba(0, 0, 0, 0.4),
        inset 0 1px 1px rgba(255, 255, 255, 0.1);
}

body.dark-mode .fc-text h4,
body.dark-mode .fc-text p {
    color: #FFFFFF !important;
}

body.dark-mode .fc-icon {
    color: #FFFFFF !important;
}

@keyframes revealUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-15px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

.fc-icon {
    width: 50px;
    height: 50px;
    border-radius: 15px;
    background: rgba(235, 121, 3, 0.1);
    color: var(--primary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
}

.fc-text h4 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 4px;
}

.fc-text p {
    font-size: 14px;
    color: var(--text-light);
    margin: 0;
}

/* Stats Section */
.stats-section {
    padding: 100px 5%;
    background: var(--white);
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 40px;
    background: var(--bg-light);
    border-radius: 24px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.stat-card:hover {
    background: var(--white);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.05);
    transform: translateY(-5px);
}

.stat-icon {
    font-size: 40px;
    color: var(--primary);
    margin-bottom: 20px;
}

.stat-number {
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    font-size: 48px;
    color: var(--secondary);
    margin-bottom: 10px;
}

.stat-label {
    font-size: 16px;
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

/* Services Section */
.services {
    padding: 40px 5%;
    background: var(--bg-light);
    position: relative;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.section-header {
    text-align: center;
    margin-bottom: 80px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.section-tag {
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 16px;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 16px;
    display: block;
}

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    color: var(--secondary);
    line-height: 1.2;
    margin-bottom: 24px;
}

.section-subtitle {
    color: var(--text-light);
    font-size: 18px;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.service-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 30px;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.service-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(235, 121, 3, 0.03), transparent);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.4s ease;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.06);
    border-color: rgba(235, 121, 3, 0.2);
}

.service-card:hover::before {
    opacity: 1;
}

.s-icon-wrap {
    width: 80px;
    height: 80px;
    background: var(--bg-light);
    border-radius: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 32px;
    color: var(--primary);
    margin-bottom: 30px;
    transition: all 0.3s ease;
}

.service-card:hover .s-icon-wrap {
    background: var(--primary);
    color: var(--white);
    transform: scale(1.1) rotate(5deg);
}

.service-card h3 {
    font-size: 24px;
    color: var(--secondary);
    margin-bottom: 16px;
}

.service-card p {
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 30px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    text-decoration: none;
    font-size: 16px;
    transition: color 0.3s ease;
}

.service-link i {
    transition: transform 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--primary);
}

.service-card:hover .service-link i {
    transform: translateX(5px);
}

/* About Block */
.about-section {
    padding: 120px 5%;
    background: var(--white);
    width: 100%;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.about-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 80px;
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

.about-image {
    flex: 1;
    min-width: 400px;
    height: 600px;
    position: relative;
    border-radius: 40px;
    overflow: hidden;
    background: var(--bg-light);
}

.about-image-inner {
    width: 100%;
    height: 100%;
    background: linear-gradient(to right bottom, #E2E8F0, #F1F5F9);
    display: flex;
    align-items: center;
    justify-content: center;
}

.about-image-inner i {
    font-size: 120px;
    color: #CBD5E1;
}

.about-content {
    flex: 1;
    min-width: 400px;
}

.about-description {
    color: var(--text-light);
    font-size: 18px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.feature-list {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.feature-item {
    display: flex;
    align-items: flex-start;
    gap: 20px;
}

.f-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(10, 25, 47, 0.06);
    color: var(--secondary);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 20px;
    flex-shrink: 0;
}

.f-text h4 {
    font-size: 20px;
    color: var(--secondary);
    margin-bottom: 8px;
}

.f-text p {
    color: var(--text-light);
    line-height: 1.5;
}

/* Contact Section */
.contact-section {
    padding: 40px 5%;
    background: #000000;
    position: relative;
    overflow: hidden;
    min-height: calc(100vh - 100px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.contact-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at right top, rgba(235, 121, 3, 0.1), transparent 40%),
        radial-gradient(circle at left bottom, rgba(235, 121, 3, 0.05), transparent 40%);
}

.contact-container {
    position: relative;
    max-width: 1400px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 40px;
    backdrop-filter: blur(20px);
    padding: 60px;
    display: flex;
    flex-wrap: wrap;
    gap: 60px;
}

.contact-info {
    flex: 1;
    min-width: 350px;
    color: var(--white);
}

.contact-info .section-title {
    color: var(--white);
}

.contact-info p {
    color: #94A3B8;
    margin-bottom: 40px;
    font-size: 18px;
    line-height: 1.6;
}

.c-item {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
}

.c-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: var(--primary);
}

.c-text h5 {
    font-size: 16px;
    color: #94A3B8;
    margin-bottom: 4px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
}

.c-text span {
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
}

.c-text a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s;
}

.c-text a:hover {
    color: var(--primary);
}

.contact-form {
    flex: 1;
    min-width: 350px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(25px) saturate(180%);
    -webkit-backdrop-filter: blur(25px) saturate(180%);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.7);
}

.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-size: 14px;
    font-weight: 600;
    color: var(--secondary);
    font-family: 'Inter', sans-serif;
    letter-spacing: -0.2px;
}

.form-control {
    width: 100%;
    padding: 16px 20px;
    background: rgba(255, 255, 255, 0.4);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    font-size: 16px;
    font-family: 'Inter', sans-serif;
    font-weight: 400;
    color: var(--secondary);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.form-control:focus {
    outline: none;
    background: #FFFFFF;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(235, 121, 3, 0.1);
    transform: translateY(-2px);
}

textarea.form-control {
    height: 150px;
    resize: none;
}

.btn-submit {
    width: 100%;
    padding: 18px;
    border: none;
    background: var(--secondary);
    color: var(--white);
    font-size: 18px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-submit:hover {
    background: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(10, 25, 47, 0.2);
}

/* Portfolio Section */
.portfolio-section {
    padding: 40px 5%;
    background: var(--bg-light);
    position: relative;
    z-index: 2;
    min-height: calc(100vh - 100px);
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto;
}

.portfolio-card {
    background: var(--white);
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.4s ease;
    position: relative;
    z-index: 1;
}

.portfolio-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.08);
    border-color: rgba(235, 121, 3, 0.2);
}

.p-image {
    width: 100%;
    height: 300px;
    position: relative;
    overflow: hidden;
    background: var(--bg-light);
    /* Softer background frame for images */
}

.p-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s ease;
}

.portfolio-card:hover .p-image img {
    transform: scale(1.08);
}

.p-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 25, 47, 0.6);
    backdrop-filter: blur(4px);
    -webkit-backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.4s ease;
}

.portfolio-card:hover .p-overlay {
    opacity: 1;
}

.btn-icon {
    width: 60px !important;
    height: 60px !important;
    padding: 0;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    border-radius: 50% !important;
    font-size: 24px;
    transform: translateY(20px);
    color: #FFFFFF !important;
    flex-shrink: 0;
    /* Prevent stretching in flex containers */
}

.portfolio-card:hover .btn-icon {
    transform: translateY(0);
}

.p-content {
    padding: 30px 40px;
}

.p-category {
    color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 10px;
    display: block;
}

.p-content h3 {
    font-size: 24px;
    color: var(--secondary);
    margin: 0;
}

/* Footer */
footer {
    background: #000000;
    padding: 80px 5% 30px;
    color: #94A3B8;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
    gap: 40px;
    max-width: 1400px;
    margin: 0 auto 60px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 60px;
    align-items: start;
}



.footer-logo {
    margin-bottom: 24px;
    height: 60px;
    filter: brightness(0) invert(1);
}

.footer-col h4 {
    color: var(--white);
    font-size: 20px;
    margin-bottom: 24px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 16px;
}

.footer-links a {
    color: #94A3B8;
    text-decoration: none;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 2px;
    display: inline-block;
}

.footer-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: width 0.3s ease;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-links a:hover::after {
    width: 100%;
}

.social-links {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--white);
    text-decoration: none;
    transition: all 0.3s;
}

.social-icon:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    font-size: 14px;
}

/* ================================= */
/* Dark Mode Overrides */
/* ================================= */
body.dark-mode {
    --bg-light: #060608;
    --text-main: #F1F5F9;
    --text-light: #94A3B8;
    --white: #0a0a0a;
    --secondary: #FFFFFF;
    --glass-bg: rgba(22, 22, 24, 0.6);
    background-image: radial-gradient(rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 30px 30px;
    background-attachment: fixed;
}

body.dark-mode nav {
    background: rgba(0, 0, 0, 0.95) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.8);
}

body.dark-mode .logo-container img {
    filter: brightness(0) invert(1);
}

body.dark-mode .floating-card {
    background: rgba(30, 41, 59, 0.85);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5), inset 0 0 0 1px rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .about-image-inner {
    background: linear-gradient(to right bottom, #1E293B, #0F172A);
}

body.dark-mode .about-image-inner i {
    color: #475569;
}

body.dark-mode .form-control {
    background: #0F172A;
    border-color: rgba(255, 255, 255, 0.1);
    color: #F8FAFC;
}

body.dark-mode .contact-section,
body.dark-mode .btn-submit {
    background: #000000;
}

/* Todas las secciones en negro puro */
body.dark-mode .stats-section,
body.dark-mode .services,
body.dark-mode .about-section,
body.dark-mode .portfolio-section,
body.dark-mode .contact-section {
    background: transparent !important;
}

body.dark-mode .stat-card,
body.dark-mode .service-card,
body.dark-mode .portfolio-card,
body.dark-mode .val-card {
    background: rgba(30, 30, 35, 0.45) !important;
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08) !important;
    border-radius: 32px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

body.dark-mode .service-card:hover,
body.dark-mode .portfolio-card:hover,
body.dark-mode .stat-card:hover {
    background: rgba(40, 40, 45, 0.6) !important;
    border-color: rgba(235, 121, 3, 0.3) !important;
    transform: translateY(-10px);
}

body.dark-mode .contact-info .section-title,
body.dark-mode .contact-info p,
body.dark-mode .contact-info .c-text h5,
body.dark-mode .contact-info .c-text span,
body.dark-mode .contact-info .c-text a,
body.dark-mode .footer-col h4,
body.dark-mode .social-icon {
    color: #FFFFFF;
}

body.dark-mode .contact-form {
    background: rgba(22, 22, 24, 0.7);
    backdrop-filter: blur(28px) saturate(200%);
    -webkit-backdrop-filter: blur(28px) saturate(200%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
}

body.dark-mode .contact-form label {
    color: #FFFFFF !important;
}

body.dark-mode .contact-form h3 {
    color: #FFFFFF !important;
}

body.dark-mode .contact-form .form-control {
    background: rgba(255, 255, 255, 0.05) !important;
    color: #FFFFFF !important;
    border: 1px solid rgba(255, 255, 255, 0.1) !important;
}

body.dark-mode .contact-form .form-control:focus {
    background: rgba(255, 255, 255, 0.08) !important;
}

body.dark-mode .contact-form .form-control::placeholder {
    color: #64748B !important;
}

body.dark-mode .contact-form .btn-submit {
    background: var(--primary) !important;
    color: #FFFFFF !important;
}

/* Enhancing dark-mode components and hover states */
body.dark-mode .theme-toggle {
    background: rgba(255, 255, 255, 0.1);
    color: #F8FAFC;
    border-color: rgba(255, 255, 255, 0.1);
}

body.dark-mode .theme-toggle:hover {
    background: var(--primary);
    color: #FFFFFF;
    transform: rotate(30deg);
}

body.dark-mode .btn-outline {
    color: #F8FAFC;
    border-color: rgba(255, 255, 255, 0.2);
}

body.dark-mode .btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .floating-card:hover,
body.dark-mode .service-card:hover,
body.dark-mode .portfolio-card:hover,
body.dark-mode .stat-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 30px 60px rgba(235, 121, 3, 0.15);
    border-color: rgba(235, 121, 3, 0.3);
}

/* ======================================
   DARK MODE Ã¢â‚¬â€ CONTRASTE MÃƒÂXIMO MOBILE
   ====================================== */
@media (max-width: 768px) {
    body.dark-mode {
        background-color: #06080F;
    }

    /* Fondos de secciÃƒÂ³n */
    body.dark-mode .stats-section,
    body.dark-mode .services,
    body.dark-mode .about-section,
    body.dark-mode .portfolio-section {
        background: #06080F;
    }

    body.dark-mode .stat-card,
    body.dark-mode .service-card,
    body.dark-mode .portfolio-card,
    body.dark-mode .val-card {
        background: #111827;
        border-color: rgba(255, 255, 255, 0.07);
    }

    /* Textos principales Ã¢â‚¬â€ blanco puro */
    body.dark-mode h1,
    body.dark-mode h2,
    body.dark-mode h3,
    body.dark-mode h4,
    body.dark-mode .section-title,
    body.dark-mode .stat-number,
    body.dark-mode .section-tag,
    body.dark-mode .p-content h3,
    body.dark-mode .service-card h3,
    body.dark-mode .fc-text h4 {
        color: #FFFFFF !important;
        -webkit-text-fill-color: #FFFFFF !important;
    }

    /* Textos secundarios Ã¢â‚¬â€ gris claro legible */
    body.dark-mode p,
    body.dark-mode .stat-label,
    body.dark-mode .section-subtitle,
    body.dark-mode .service-card p,
    body.dark-mode .fc-text p,
    body.dark-mode .about-description {
        color: #CBD5E1 !important;
    }

    /* ÃƒÂconos */
    body.dark-mode .stat-icon,
    body.dark-mode .s-icon-wrap,
    body.dark-mode .c-icon {
        color: #eb7903 !important;
    }

    /* Nav principal (header) en dark mode */
    body.dark-mode nav {
        background: rgba(15, 23, 42, 0.85) !important;
        backdrop-filter: blur(20px) saturate(180%);
        -webkit-backdrop-filter: blur(20px) saturate(180%);
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    }

    body.dark-mode .nav-links li a {
        color: rgba(255, 255, 255, 0.85) !important;
    }
}


/* Universal Dark Mode Overrides */
body.dark-mode {
    background-color: #060608 !important;
    color: #CBD5E1 !important;
}

/* Footer Links in Dark Mode */
body.dark-mode .footer-links a {
    color: #94A3B8 !important;
}

body.dark-mode .footer-links a:hover {
    color: var(--primary) !important;
}

body.dark-mode .footer-col h4 {
    color: #FFFFFF !important;
}

/* Document and Page Headers in Dark Mode */
body.dark-mode .page-header,
body.dark-mode .lr-header,
body.dark-mode .lr-container,
body.dark-mode .lr-box,
body.dark-mode .document-container,
body.dark-mode section.hero,
body.dark-mode section#home,
body.dark-mode section#about,
body.dark-mode section#services,
body.dark-mode section#portfolio,
body.dark-mode section#contact {
    background-color: #060608 !important;
    color: #FFFFFF !important;
}

/* Internal document elements */
body.dark-mode .document-container p,
body.dark-mode .doc-body,
body.dark-mode .lr-label,
body.dark-mode .lr-radio,
body.dark-mode .lr-header p {
    color: #CBD5E1 !important;
}

body.dark-mode .lr-input,
body.dark-mode .lr-select,
body.dark-mode .lr-textarea,
body.dark-mode .doc-point-alpha,
body.dark-mode .lr-company-info,
body.dark-mode .lr-box {
    background: #0F172A !important;
    color: #FFFFFF !important;
    border-color: rgba(255, 255, 255, 0.1) !important;
}

/* Fixing generic links that might stay dark */
body.dark-mode a:not(.btn) {
    color: #CBD5E1;
}

body.dark-mode a:not(.btn):hover {
    color: var(--primary);
}

body.dark-mode .document-container h2,
body.dark-mode .document-container h4,
body.dark-mode .document-container strong {
    color: #FFFFFF !important;
}

body.dark-mode footer {
    background: #000000 !important;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

body.dark-mode .copyright {
    color: #64748B !important;
}

/* Modal Portafolio */
.portfolio-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(15, 23, 42, 0.9);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.4s ease;
}

.portfolio-modal.active {
    opacity: 1;
    pointer-events: all;
}

.modal-content {
    background: var(--white);
    width: 90%;
    max-width: 1000px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.3);
}

.portfolio-modal.active .modal-content {
    transform: scale(1);
}

.close-modal {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 32px;
    color: var(--secondary);
    cursor: pointer;
    z-index: 10;
    width: 40px;
    height: 40px;
    background: var(--bg-light);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s;
}

.close-modal:hover {
    color: var(--white);
    background: var(--accent);
}

.modal-body {
    display: flex;
    flex-wrap: wrap;
    min-height: 400px;
}

.modal-image-container {
    flex: 1;
    min-width: 300px;
    background: var(--bg-light);
    padding: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.modal-image-container img {
    max-width: 100%;
    max-height: 500px;
    object-fit: contain;
    filter: drop-shadow(0 20px 30px rgba(0, 0, 0, 0.1));
}

.modal-info {
    flex: 1;
    min-width: 300px;
    padding: 50px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-info h3 {
    font-size: 32px;
    color: var(--secondary);
    margin-bottom: 20px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
}

.modal-info p {
    font-size: 16px;
    color: var(--text-main);
    line-height: 1.8;
}

/* ================================= */
/* Responsive Design (Mobile & Tablet) */
/* ================================= */

.mobile-menu-btn {
    display: none;
    font-size: 28px;
    color: var(--secondary);
    cursor: pointer;
    background: transparent;
    border: none;
}

body.dark-mode .mobile-menu-btn {
    color: var(--white);
}

@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }

    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .hero h1 {
        font-size: 50px;
    }
}

@media (max-width: 768px) {

    /* Navbar Mobile Menu */
    .mobile-menu-btn {
        display: none !important;
    }

    .d-none-mobile {
        display: none !important;
    }

    nav {
        background: var(--white) !important;
    }

    body.dark-mode nav {
        background: var(--bg-dark) !important;
    }

    .nav-links {
        position: fixed;
        top: calc(100vh - 85px);
        top: calc(100dvh - 85px);
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 92%;
        max-width: 450px;
        height: 65px;
        /* Liquid glass gris oscuro */
        background: rgba(22, 22, 24, 0.82);
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 0 10px;
        gap: 0;
        transition: all 0.4s ease;
        z-index: 1001;
        overflow-y: visible;
        border-radius: 35px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .nav-links {
        background: rgba(22, 22, 24, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links li {
        width: auto;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-links li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 6px 4px;
        margin: 0 2px;
        font-size: 10px;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.75);
        text-shadow: none !important;
        border-radius: 14px;
        -webkit-tap-highlight-color: transparent;
        transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    body.dark-mode .nav-links li a {
        color: rgba(255, 255, 255, 0.75) !important;
    }

    .nav-links li a i {
        display: block !important;
        font-size: 22px;
        margin-bottom: 3px;
        transition: transform 0.25s;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-links li a:active,
    .nav-links li a:hover {
        transform: translateY(-6px);
        color: var(--primary) !important;
    }

    .nav-links li a:active i,
    .nav-links li a:hover i {
        transform: scale(1.15);
        color: #eb7903;
    }

    body.dark-mode .nav-links li a:active,
    body.dark-mode .nav-links li a:hover {
        color: var(--primary) !important;
    }

    .nav-links li a::after {
        display: none !important;
    }

    /* Layout adjustments */
    .hero {
        padding-top: 140px;
        padding-bottom: 80px;
    }

    .hero h1 {
        font-size: 40px;
    }

    .hero-image-wrapper {
        margin-top: 40px;
        justify-content: center;
        gap: 20px;
    }

    .floating-card {
        padding: 12px 24px;
        gap: 12px;
    }

    .fc-icon {
        font-size: 20px;
    }

    .fc-text h4 {
        font-size: 14px;
    }

    .fc-text p {
        font-size: 12px;
    }

    .about-image-wrapper {
        display: none;
        /* Focus strictly on text to save scrolling padding */
    }

    .footer-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 50px 30px;
        text-align: left;
    }

    .footer-col h4,
    .footer-links a {
        justify-content: center;
    }

    .social-links {
        justify-content: center;
    }

    /* Modal Mobile */
    .modal-body {
        flex-direction: column;
    }

    .modal-image-container {
        padding: 20px;
        min-height: 250px;
    }

    .modal-info {
        padding: 30px 20px;
    }

    footer {
        padding-bottom: 95px !important;
    }
}

@media (max-width: 480px) {

    .services-grid,
    .portfolio-grid,
    .stats-grid,
    .values-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: clamp(28px, 10vw, 36px);
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 16px;
        padding: 0 20px;
    }

    .section-title {
        font-size: 30px !important;
    }

    .hero-btns {
        flex-direction: column;
        gap: 15px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}

/* Fix for Mobile Landscape Mode */
@media (max-height: 600px) and (orientation: landscape) {
    nav {
        height: 60px !important;
    }

    .mobile-menu-btn {
        display: none !important;
    }

    .d-none-mobile {
        display: none !important;
    }

    .nav-actions .btn {
        display: none !important;
        /* Hide massive CTA in header on tiny heights */
    }

    .nav-links {
        position: fixed;
        top: calc(100vh - 75px);
        top: calc(100dvh - 75px);
        bottom: auto;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        width: 92%;
        max-width: 450px;
        height: 60px;
        background: rgba(22, 22, 24, 0.82);
        backdrop-filter: blur(28px) saturate(180%);
        -webkit-backdrop-filter: blur(28px) saturate(180%);
        flex-direction: row;
        align-items: center;
        justify-content: space-around;
        padding: 0 10px;
        gap: 0;
        transition: all 0.4s ease;
        z-index: 1001;
        overflow-y: visible;
        border-radius: 35px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.45), inset 0 1px 0 rgba(255, 255, 255, 0.08);
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    body.dark-mode .nav-links {
        background: rgba(22, 22, 24, 0.92);
        border: 1px solid rgba(255, 255, 255, 0.08);
    }

    .nav-links li {
        width: auto;
        flex: 1;
        display: flex;
        justify-content: center;
    }

    .nav-links li a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        width: 100%;
        text-align: center;
        padding: 6px 4px;
        margin: 0 2px;
        font-size: 10px;
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        color: rgba(255, 255, 255, 0.75);
        text-shadow: none !important;
        border-radius: 14px;
        -webkit-tap-highlight-color: transparent;
        transition: all 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    }

    body.dark-mode .nav-links li a {
        color: rgba(255, 255, 255, 0.75) !important;
    }

    .nav-links li a i {
        display: block !important;
        font-size: 20px;
        margin-bottom: 2px;
        transition: transform 0.25s;
        color: rgba(255, 255, 255, 0.85);
    }

    .nav-links li a:active,
    .nav-links li a:hover {
        transform: translateY(-6px);
        background: rgba(235, 121, 3, 0.25);
        color: #ffffff !important;
        box-shadow: 0 4px 14px rgba(235, 121, 3, 0.3);
    }

    .nav-links li a:active i,
    .nav-links li a:hover i {
        transform: scale(1.15);
        color: #eb7903;
    }

    body.dark-mode .nav-links li a:active,
    body.dark-mode .nav-links li a:hover {
        background: rgba(235, 121, 3, 0.25);
        color: #ffffff !important;
    }

    .hero {
        min-height: auto;
        padding-top: 100px;
        padding-bottom: 40px;
    }

    .hero h1 {
        font-size: 34px !important;
    }

    .hero-image-wrapper,
    .about-image-wrapper {
        display: none !important;
    }

    .stats-grid,
    .services-grid,
    .portfolio-grid {
        grid-template-columns: repeat(2, 1fr) !important;
    }

    footer {
        padding-bottom: 95px !important;
    }
}

/* PERMANENT REMOVAL OF MOBILE MENU ICONS */
.mobile-menu-btn,
.mobile-menu-toggle,
[class*='ri-menu-'] {
    display: none !important;
    visibility: hidden !important;
    pointer-events: none !important;
}


/* AI Chatbot - Premium Liquid Glass Edition */
.chatbot-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
}

.chatbot-button {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff9a44, var(--primary));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 30px;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(235, 121, 3, 0.4), inset 0 2px 5px rgba(255, 255, 255, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.chatbot-button:hover {
    transform: scale(1.08) translateY(-5px);
    box-shadow: 0 15px 35px rgba(235, 121, 3, 0.5), inset 0 2px 5px rgba(255, 255, 255, 0.4);
}

.chatbot-notification {
    position: absolute;
    top: 2px;
    right: 2px;
    background: #ef4444;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 2px solid var(--white);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0.7);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(239, 68, 68, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(239, 68, 68, 0);
    }
}

.chatbot-window {
    position: absolute;
    bottom: 90px;
    right: 0;
    width: 380px;
    height: 550px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(40px) saturate(150%);
    -webkit-backdrop-filter: blur(40px) saturate(150%);
    border: 1px solid rgba(255, 255, 255, 0.5);
    border-radius: 28px;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.2) inset;
    display: flex;
    flex-direction: column;
    overflow: hidden;
    transform: translateY(30px) scale(0.95);
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    transform-origin: bottom right;
}

body.dark-mode .chatbot-window {
    background: rgba(10, 15, 25, 0.75);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(255, 255, 255, 0.05) inset;
}

.chatbot-window.active {
    transform: translateY(0) scale(1);
    opacity: 1;
    pointer-events: all;
}

.chatbot-header {
    padding: 24px 24px 16px;
    background: transparent;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
}

body.dark-mode .chatbot-header {
    border-bottom-color: rgba(255, 255, 255, 0.05);
}

.chatbot-header img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    border: 2px solid rgba(235, 121, 3, 0.3);
    padding: 4px;
    background: var(--white);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

body.dark-mode .chatbot-header img {
    background: #111827;
}

.chatbot-header .header-info {
    flex: 1;
}

.chatbot-header h4 {
    margin: 0 0 4px 0;
    font-size: 18px;
    font-weight: 700;
    color: var(--secondary);
}

.chatbot-close {
    background: transparent;
    border: none;
    font-size: 24px;
    color: #9CA3AF;
    cursor: pointer;
    padding: 0 8px;
    line-height: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.chatbot-close:hover {
    color: var(--danger, #EF4444);
    background: rgba(0, 0, 0, 0.05);
}

body.dark-mode .chatbot-close:hover {
    background: rgba(255, 255, 255, 0.1);
}

body.dark-mode .chatbot-header h4 {
    color: #FFFFFF;
}

.chatbot-header p {
    margin: 0;
    font-size: 12px;
    color: #10B981;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 6px;
}

.chatbot-header p::before {
    content: '';
    width: 6px;
    height: 6px;
    background: #10B981;
    border-radius: 50%;
    display: inline-block;
}

.chatbot-messages {
    flex: 1;
    padding: 24px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 18px;
    scroll-behavior: smooth;
}

.chatbot-messages::-webkit-scrollbar {
    width: 6px;
}

.chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.1);
    border-radius: 10px;
}

body.dark-mode .chatbot-messages::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.1);
}

.msg {
    max-width: 85%;
    padding: 14px 18px;
    border-radius: 20px;
    font-size: 14px;
    line-height: 1.6;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.03);
    animation: slideUpMsg 0.4s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
    opacity: 0;
    transform: translateY(10px);
}

@keyframes slideUpMsg {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.msg-bot {
    align-self: flex-start;
    background: rgba(255, 255, 255, 0.9);
    color: var(--secondary);
    border-bottom-left-radius: 4px;
    border: 1px solid rgba(0, 0, 0, 0.03);
}

body.dark-mode .msg-bot {
    background: rgba(30, 41, 59, 0.8);
    color: #E2E8F0;
    border-color: rgba(255, 255, 255, 0.05);
}

.msg-user {
    align-self: flex-end;
    background: linear-gradient(135deg, var(--primary), #d96f00);
    color: white;
    border-bottom-right-radius: 4px;
    box-shadow: 0 8px 20px rgba(235, 121, 3, 0.25);
}

.chatbot-input-area {
    padding: 20px 24px;
    background: transparent;
    display: flex;
    gap: 12px;
    align-items: center;
}

.input-wrapper {
    flex: 1;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 50px;
    padding: 4px 4px 4px 20px;
    display: flex;
    align-items: center;
    border: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
}

.input-wrapper:focus-within {
    background: rgba(255, 255, 255, 0.9);
    border-color: rgba(235, 121, 3, 0.3);
    box-shadow: 0 0 0 4px rgba(235, 121, 3, 0.1);
}

body.dark-mode .input-wrapper {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.05);
}

body.dark-mode .input-wrapper:focus-within {
    background: rgba(30, 41, 59, 0.9);
    border-color: rgba(235, 121, 3, 0.4);
}

.chatbot-input-area input {
    flex: 1;
    background: transparent;
    border: none;
    outline: none;
    font-size: 14px;
    color: var(--secondary);
}

body.dark-mode .chatbot-input-area input {
    color: #FFFFFF;
}

.chatbot-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--primary);
    color: white;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 18px;
    transition: all 0.3s;
    box-shadow: 0 4px 10px rgba(235, 121, 3, 0.3);
}

.chatbot-send-btn:hover {
    transform: scale(1.05);
    background: #d96f00;
}

.chatbot-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 5px;
    width: 100%;
}

.chat-opt {
    background: rgba(255, 255, 255, 0.8);
    border: 1px solid rgba(235, 121, 3, 0.3);
    color: var(--primary);
    padding: 12px 16px;
    border-radius: 14px;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s;
    text-align: left;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-opt::after {
    content: '\EA6E';
    /* Remix icon arrow right */
    font-family: 'remixicon';
    font-size: 16px;
    opacity: 0.5;
    transition: all 0.3s;
}

body.dark-mode .chat-opt {
    background: rgba(30, 41, 59, 0.6);
    border-color: rgba(235, 121, 3, 0.4);
}

.chat-opt:hover {
    background: var(--primary);
    color: white;
    border-color: var(--primary);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(235, 121, 3, 0.2);
}

.chat-opt:hover::after {
    opacity: 1;
    transform: translateX(3px);
}

@media (max-width: 480px) {
    .chatbot-window {
        position: fixed;
        bottom: 90px;
        left: 50%;
        right: auto;
        width: 92vw;
        height: 65vh;
        max-height: 600px;
        transform: translate(-50%, 20px) scale(0.9);
        transform-origin: bottom center;
    }
    .chatbot-window.active {
        transform: translate(-50%, 0) scale(1);
    }
}

.typing-indicator {
    display: flex;
    gap: 4px;
    padding: 16px 20px;
    align-items: center;
    width: fit-content;
}

.typing-indicator span {
    width: 6px;
    height: 6px;
    background-color: var(--primary);
    border-radius: 50%;
    animation: typing 1s infinite;
    opacity: 0.7;
}

.typing-indicator span:nth-child(2) {
    animation-delay: 0.2s;
}

.typing-indicator span:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes typing {
    0%, 100% { transform: translateY(0); opacity: 0.5; }
    50% { transform: translateY(-4px); opacity: 1; }
}

/* Custom Overrides for Mobile Nav and Chatbot */
.mobile-only-link {
    display: none !important;
}

@media (max-width: 768px) {
    .mobile-only-link {
        display: flex !important;
    }
    .nav-links li {
        min-width: 0 !important;
    }
    .nav-links li a {
        font-weight: 400 !important;
        font-size: 9px !important;
        padding: 4px 2px !important;
        margin: 0 !important;
    }
    .nav-links li a i {
        font-size: 18px !important;
        margin-bottom: 2px !important;
    }
    .chatbot-container {
        bottom: 100px !important;
        right: 15px !important;
    }
    .chatbot-button {
        width: 55px !important;
        height: 55px !important;
        font-size: 24px !important;
    }
}

@media (max-height: 600px) and (orientation: landscape) {
    .mobile-only-link {
        display: flex !important;
    }
    .nav-links li {
        min-width: 0 !important;
    }
    .nav-links li a {
        font-weight: 400 !important;
        font-size: 9px !important;
        padding: 4px 2px !important;
        margin: 0 !important;
    }
    .nav-links li a i {
        font-size: 18px !important;
        margin-bottom: 2px !important;
    }
    .chatbot-container {
        bottom: 85px !important;
        right: 15px !important;
    }
}

/* =========================================
   ANIMACIONES DE ICONOS Y LIBRO RECLAMACIONES
   ========================================= */

/* Animacion general para todos los iconos al pasar el mouse */
.val-card:hover .f-icon i,
.stat-card:hover .stat-icon i,
.service-card:hover .s-icon-wrap i,
.fc-icon:hover i,
.contact-item:hover .contact-icon i,
.footer-social a:hover i,
.nav-links a:hover i,
.btn:hover i {
    animation: iconPopReal 0.6s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes iconPopReal {
    0% { transform: scale(1) translateY(0); }
    30% { transform: scale(1.3) translateY(-6px) rotate(-10deg); }
    60% { transform: scale(1.1) translateY(2px) rotate(5deg); }
    100% { transform: scale(1) translateY(0) rotate(0); }
}

/* Animacion constante y vibrante para el libro de reclamaciones */
.reclamaciones-link svg {
    animation: bounceBook 2s infinite ease-in-out;
}

.reclamaciones-link:hover svg {
    animation: wiggleBook 0.5s infinite ease-in-out;
}

@keyframes bounceBook {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-4px) rotate(-3deg); }
}

@keyframes wiggleBook {
    0%, 100% { transform: rotate(0deg) scale(1.1); }
    25% { transform: rotate(-10deg) scale(1.1); }
    75% { transform: rotate(10deg) scale(1.1); }
}

/* =========================================
   CURSOR PERSONALIZADO NARANJA (3D GLOW)
   ========================================= */

body, html {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 32 32"><defs><linearGradient id="g1" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23ffc873"/><stop offset="100%" stop-color="%23d66600"/></linearGradient><filter id="f1" x="-20%" y="-20%" width="140%" height="140%"><feDropShadow dx="1" dy="2" stdDeviation="1.5" flood-color="%23eb7903" flood-opacity="0.8"/></filter></defs><polygon filter="url(%23f1)" fill="url(%23g1)" stroke="%23ffffff" stroke-width="1.5" stroke-linejoin="round" points="4,4 13,24 16,16 24,13" /></svg>') 4 4, auto !important;
}

a, button, .btn, .nav-links a, .service-link, .fc-icon, .stat-icon {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 32 32"><defs><linearGradient id="g2" x1="0%" y1="0%" x2="100%" y2="100%"><stop offset="0%" stop-color="%23ffc873"/><stop offset="100%" stop-color="%23d66600"/></linearGradient><filter id="f2" x="-20%" y="-20%" width="140%" height="140%"><feDropShadow dx="0" dy="2" stdDeviation="1.5" flood-color="%23eb7903" flood-opacity="0.7"/></filter></defs><path filter="url(%23f2)" fill="url(%23g2)" stroke="%23ffffff" stroke-width="1.2" stroke-linejoin="round" d="M12,2 c-1.4,0-2.5,1.1-2.5,2.5 v8 L8,11.6 c-1.2-0.5-2.6-0.1-3.2,1.1 L3.2,16 L9.5,23 c0.9,1,2.2,1.6,3.6,1.6 h4.5 c2.3,0,4.2-1.9,4.2-4.2 V10.5 c0-1.4-1.1-2.5-2.5-2.5 c-0.1,0-0.3,0-0.4,0.1 V6.8 c0-1.4-1.1-2.5-2.5-2.5 c-0.3,0-0.5,0.1-0.8,0.2 V4.5 c0-1.4-1.1-2.5-2.5-2.5 H12 z"/></svg>') 12 2, pointer !important;
}

input, textarea, select {
    cursor: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="36" height="36" viewBox="0 0 32 32"><defs><filter id="f3"><feDropShadow dx="0" dy="0" stdDeviation="1.5" flood-color="%23eb7903" flood-opacity="0.9"/></filter></defs><path filter="url(%23f3)" fill="%23eb7903" stroke="%23ffffff" stroke-width="0.8" d="M12,4 h8 v2 h-3 v14 h3 v2 h-8 v-2 h3 v-14 h-3 z" /></svg>') 16 16, text !important;
}



/* =========================================
   PORTFOLIO MODAL LIGHTBOX
   ========================================= */
.portfolio-modal {
    visibility: hidden;
    opacity: 0;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(10, 25, 47, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    transition: visibility 0s 0.3s, opacity 0.3s ease;
}

.portfolio-modal.active {
    visibility: visible;
    opacity: 1;
    transition: visibility 0s 0s, opacity 0.3s ease;
}

.portfolio-modal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 90%;
    transform: scale(0.9) translateY(20px);
    transition: transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.portfolio-modal.active .portfolio-modal-wrapper {
    transform: scale(1) translateY(0);
}

.portfolio-modal-content {
    max-width: 100%;
    max-height: 65vh;
    border-radius: 12px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.4);
    object-fit: contain;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

#portfolioCaption {
    margin: 20px auto 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 28px;
    font-weight: 700;
}

.close-portfolio {
    position: absolute;
    top: 30px;
    right: 40px;
    color: #f1f1f1;
    font-size: 44px;
    font-weight: 300;
    cursor: pointer;
    transition: all 0.3s;
    z-index: 10000;
    line-height: 1;
}

.close-portfolio:hover {
    color: var(--primary);
    transform: scale(1.1) rotate(90deg);
}

@media only screen and (max-width: 768px){
    .portfolio-modal-content {
        width: 100%;
        max-height: 50vh;
    }
    .close-portfolio {
        top: 15px;
        right: 25px;
        font-size: 40px;
    }
    #portfolioCaption {
        font-size: 22px;
    }
}



/* =========================================
   SUB-PAGES SHARED STYLES (Policies, Objectives, etc)
   ========================================= */
.page-header {
    padding: 160px 5% 40px;
    text-align: center;
    background: transparent;
}

.document-container {
    max-width: 900px; 
    margin: 0 auto; 
    background: var(--white); 
    padding: 80px; 
    border-radius: 4px; 
    box-shadow: 0 20px 50px rgba(0,0,0,0.06); 
    border: 1px solid rgba(0,0,0,0.05); 
    position: relative;
    transition: background 0.3s, border 0.3s;
}

body.dark-mode .document-container {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 50px rgba(0,0,0,0.3);
}

.doc-body {
    color: var(--text-main); 
    line-height: 1.8; 
    font-size: 16px;
}

.doc-point-alpha {
    display: flex;
    align-items: flex-start;
    gap: 25px;
    margin-bottom: 25px;
    background: var(--bg-light);
    padding: 25px;
    border-radius: 12px;
    border-left: 4px solid var(--primary);
    transition: all 0.3s ease;
}

.doc-point-alpha:hover {
    transform: translateX(5px);
}

.alpha-badge {
    font-size: 20px;
    color: var(--white);
    background: var(--primary);
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(235, 121, 3, 0.3);
}

/* Objectives Grid */
.obj-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 5% 100px;
}

.obj-card {
    background: var(--white);
    padding: 50px 40px;
    border-radius: 20px;
    border: 1px solid rgba(0,0,0,0.03);
    text-align: center;
    transition: all 0.4s ease;
    box-shadow: 0 10px 30px rgba(0,0,0,0.02);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

body.dark-mode .obj-card {
    background: rgba(255, 255, 255, 0.03);
    border-color: rgba(255, 255, 255, 0.08);
}

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

/* Reclamaciones Specifics */
.lr-box {
    background: var(--white);
    padding: 50px;
    border-radius: 40px;
    box-shadow: 0 30px 60px rgba(0,0,0,0.05);
    border: 1px solid rgba(0,0,0,0.05);
    position: relative;
    transition: all 0.3s ease;
}

body.dark-mode .lr-box {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    border-color: rgba(255, 255, 255, 0.1);
}

.lr-company-info {
    background: var(--bg-light);
    padding: 20px 25px;
    border-radius: 10px;
    margin-bottom: 40px;
    font-size: 14px;
    color: var(--text-light);
    line-height: 1.6;
    border-left: 4px solid var(--primary);
}

.lr-input, .lr-select, .lr-textarea {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-light);
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 16px;
    color: var(--secondary);
    transition: all 0.3s;
}

body.dark-mode .lr-input, 
body.dark-mode .lr-select, 
body.dark-mode .lr-textarea {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    color: #fff;
}

.lr-input:focus, .lr-select:focus, .lr-textarea:focus {
    border-color: var(--primary);
    background: var(--white);
}

body.dark-mode .lr-input:focus, 
body.dark-mode .lr-select:focus, 
body.dark-mode .lr-textarea:focus {
    background: rgba(255, 255, 255, 0.08);
}

@media (max-width: 768px) {
    .document-container, .lr-box {
        padding: 40px 20px;
    }
}



/* =========================================
   RECLAMACIONES EXTENDED STYLES
   ========================================= */
.lr-header {
    padding: 160px 5% 40px;
    text-align: center;
}

.lr-header h1 {
    font-size: clamp(32px, 5vw, 42px);
    color: var(--secondary);
    margin-bottom: 15px;
    font-weight: 800;
}

.lr-header p {
    color: var(--text-light);
    font-size: 17px;
}

.lr-container {
    max-width: 900px;
    margin: 0 auto 100px;
    padding: 0 5%;
}

.lr-hoja-number {
    position: absolute;
    top: -25px;
    right: 40px;
    background: var(--primary);
    color: white;
    padding: 12px 25px;
    border-radius: 12px;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 10px 20px rgba(235, 121, 3, 0.3);
}

.lr-section-title {
    font-weight: 700;
    font-size: 19px;
    color: var(--secondary);
    margin: 45px 0 25px;
    padding-bottom: 12px;
    border-bottom: 2px solid rgba(0,0,0,0.05);
    display: flex;
    align-items: center;
    gap: 12px;
}

body.dark-mode .lr-section-title {
    border-color: rgba(255,255,255,0.1);
}

.lr-row {
    display: flex;
    gap: 25px;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

.lr-col {
    flex: 1;
    min-width: 280px;
    display: flex;
    flex-direction: column;
}

.lr-label {
    margin-bottom: 10px;
    font-weight: 600;
    font-size: 14px;
    color: var(--text-main);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.lr-radio-container {
    display: flex;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.lr-radio {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 15px;
    color: var(--text-main);
}

.lr-disclaimer {
    font-size: 13px;
    color: var(--text-light);
    background: rgba(235, 121, 3, 0.05);
    padding: 20px;
    border-radius: 12px;
    margin-top: 40px;
    border: 1px dashed rgba(235, 121, 3, 0.2);
    line-height: 1.6;
}

.lr-submit {
    background: var(--secondary);
    color: #FFF;
    padding: 20px 30px;
    border: none;
    border-radius: 14px;
    font-weight: 700;
    font-size: 17px;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    margin-top: 40px;
}

.lr-submit:hover {
    background: var(--primary);
    box-shadow: 0 10px 25px rgba(235, 121, 3, 0.3);
    transform: translateY(-3px);
}

@media (max-width: 768px) {
    .lr-box { padding: 40px 25px; }
    .lr-hoja-number { 
        position: relative; 
        top: 0; 
        right: 0; 
        margin-bottom: 30px; 
        display: inline-block;
        font-size: 15px;
    }
    .lr-row { gap: 15px; }
}

/* Custom Select Styling */
select.form-control {
    appearance: none !important;
    -webkit-appearance: none !important;
    -moz-appearance: none !important;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='24' height='24' viewBox='0 0 24 24' fill='none' stroke='%23eb7903' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 20px center !important;
    background-size: 18px !important;
    padding-right: 50px !important;
    cursor: pointer;
}

body.dark-mode select.form-control option {
    background: #0F172A;
    color: #FFFFFF;
}

/* ==========================================
   MOBILE COMPREHENSIVE OPTIMIZATION (Liquid Glass 2026)
   ========================================== */
@media (max-width: 768px) {
    /* Navigation - Floating Bottom Tab Bar for Mobile */
    nav {
        height: 70px !important;
        padding: 0 20px !important;
        background: rgba(255, 255, 255, 0.9) !important;
        backdrop-filter: blur(20px) saturate(180%);
        position: fixed;
        top: 0;
        width: 100%;
        z-index: 1001;
    }

    body.dark-mode nav {
        background: rgba(10, 10, 12, 0.9) !important;
    }

    .logo-container {
        height: 40px;
        flex: none;
    }

    .nav-links {
        position: fixed !important;
        bottom: 25px !important;
        left: 50% !important;
        transform: translateX(-50%) !important;
        width: 92% !important;
        max-width: 450px !important;
        height: 75px !important;
        background: rgba(255, 255, 255, 0.8) !important;
        backdrop-filter: blur(25px) saturate(200%) !important;
        -webkit-backdrop-filter: blur(25px) saturate(200%) !important;
        border-radius: 100px !important;
        border: 1px solid rgba(255, 255, 255, 0.4) !important;
        display: flex !important;
        justify-content: space-around !important;
        align-items: center !important;
        padding: 0 10px !important;
        margin: 0 !important;
        z-index: 1000 !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15) !important;
    }

    body.dark-mode .nav-links {
        background: rgba(15, 23, 42, 0.9) !important;
        border-color: rgba(255, 255, 255, 0.1) !important;
        box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5) !important;
    }

    .nav-links li {
        min-width: 0;
        flex: 1;
    }

    .nav-links li a {
        flex-direction: column;
        gap: 4px;
        padding: 5px;
        font-size: 10px;
        text-transform: uppercase;
        letter-spacing: 0.5px;
        color: var(--secondary) !important;
    }

    .nav-links li a i {
        display: block;
        font-size: 20px;
        color: var(--primary);
    }

    .nav-links li a .nav-text {
        display: block;
        color: var(--secondary);
    }

    .nav-links li a::after {
        display: none;
    }

    /* Add space inside the footer instead of body to avoid white gaps */
    footer {
        padding-bottom: 100px !important;
    }

    .nav-actions {
        gap: 15px;
    }

    .theme-toggle {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }

    .lang-toggle {
        font-size: 12px;
        margin-right: 0 !important;
    }

    /* Sections Padding */
    section {
        padding-top: 60px !important;
        padding-bottom: 60px !important;
    }

    /* Hero Refinement */
    .hero {
        height: auto;
        min-height: 100vh;
        padding-top: 100px !important;
        padding-bottom: 80px !important;
    }

    .hero h1 {
        font-size: 32px;
        margin-bottom: 15px;
    }

    .hero p {
        font-size: 15px;
        padding: 0 10px;
    }

    .hero-carousel-container {
        height: 250px;
        border-radius: 20px;
        margin-top: 20px;
    }

    /* Stats Grid */
    .stats-grid {
        grid-template-columns: 1fr 1fr;
        gap: 15px;
        padding: 0 15px;
    }

    .stat-card {
        padding: 20px 15px;
        border-radius: 20px;
    }

    .stat-number {
        font-size: 28px;
    }

    .stat-label {
        font-size: 11px;
    }

    /* Service / About / Values */
    .service-grid, .valores-container > div, .portfolio-grid {
        grid-template-columns: 1fr !important;
        gap: 20px;
        padding: 0 15px;
    }

    .val-card, .service-card, .portfolio-card {
        padding: 30px 20px !important;
        border-radius: 24px !important;
    }

    .section-title {
        font-size: 28px !important;
    }

    /* Contact Section */
    .contact-container {
        grid-template-columns: 1fr;
        gap: 40px;
        padding: 0 20px;
    }

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

    .contact-info .section-title {
        font-size: 32px !important;
    }

    .c-item {
        justify-content: center;
        text-align: left;
    }

    .contact-form {
        padding: 30px 20px;
        border-radius: 30px;
    }

    /* Footer */
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 30px;
    }

    .social-links {
        justify-content: center;
    }

    .reclamaciones-link {
        margin: 30px auto 0 !important;
    }

    .company-profile-banner {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .company-profile-banner a {
        width: 100%;
        justify-content: center;
    }
}

/* Hero Carousel Liquid Glass */
.hero-carousel-container {
    margin-top: 30px;
    width: 100%;
    max-width: 900px;
    height: 350px;
    position: relative;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 32px;
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.25),
        inset 0 1px 1px rgba(255, 255, 255, 0.2);
    opacity: 0;
    animation: fadeIn 1.5s ease-out forwards 0.6s;
}

.hero-carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.hero-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-slide.active {
    opacity: 1;
    z-index: 2;
}

.hero-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85) contrast(1.05);
}

.slide-caption {
    position: absolute;
    bottom: 30px;
    left: 30px;
    right: 30px;
    padding: 24px 32px;
    background: rgba(10, 25, 47, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: white;
    text-align: left;
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.8s cubic-bezier(0.16, 1, 0.3, 1) 0.3s;
}

.hero-slide.active .slide-caption {
    transform: translateY(0);
    opacity: 1;
}

.slide-caption h4 {
    font-size: 22px;
    margin-bottom: 5px;
    color: var(--primary);
}

.slide-caption p {
    font-size: 15px !important;
    margin-bottom: 0 !important;
    color: rgba(255, 255, 255, 0.8) !important;
    opacity: 1 !important;
    transform: none !important;
    animation: none !important;
}

.carousel-dots {
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    gap: 10px;
    z-index: 10;
}

.carousel-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.carousel-dot.active {
    background: var(--primary);
    transform: scale(1.2);
    box-shadow: 0 0 15px var(--primary);
}

@media (max-width: 768px) {
    .hero-carousel-container {
        height: 300px;
    }
    .slide-caption {
        bottom: 20px;
        left: 20px;
        right: 20px;
        padding: 15px 20px;
    }
    .slide-caption h4 {
        font-size: 18px;
    }
    .slide-caption p {
        font-size: 13px !important;
    }
}

