/*
 * LETEX Theme - Pure CSS Clone of code.html
 * Clon exacto del diseño original
 * Author: somarimapps (somarimapps@gmail.com)
 * Version: 1.0.0
 */

/* ============================================
   CSS Variables - Colores exactos de Tailwind
   ============================================ */
:root {
    /* Primary - Exacto del original */
    --primary: #1061D8;
    --primary-hover: #0c4db0;
    
    /* Blue shades - Tailwind */
    --blue-50: #eff6ff;
    --blue-100: #dbeafe;
    --blue-400: #60a5fa;
    --blue-500: #3b82f6;
    --blue-900-20: rgba(30, 58, 138, 0.2);
    --blue-900-30: rgba(30, 58, 138, 0.3);
    --blue-900-10: rgba(30, 58, 138, 0.1);
    
    /* Backgrounds - Exactos del original */
    --background-light: #FFFFFF;
    --background-dark: #0F172A;
    --surface-light: #F8FAFC;
    --surface-dark: #1E293B;
    --footer-bg: #0b1120;
    --why-us-dark: #020617;
    
    /* Text colors - Exactos del original */
    --text-main-light: #1E293B;
    --text-main-dark: #F8FAFC;
    --text-muted-light: #64748B;
    --text-muted-dark: #94A3B8;
    
    /* Gray shades - Tailwind */
    --gray-100: #f1f5f9;
    --gray-200: #e2e8f0;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Shadows - Tailwind */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);
    --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);
    
    /* Spacing */
    --container-max: 1280px;
    --nav-height: 72px;
    --white: #ffffff;
    --blue-600: #2563eb;
    
    /* Transitions */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-colors: color 0.3s, background-color 0.3s, border-color 0.3s;
    --transition-transform: transform 0.5s ease;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background-light);
    color: var(--text-main-light);
    line-height: 1.5;
    transition: var(--transition-colors);
}

body.dark {
    background-color: var(--background-dark);
    color: var(--text-main-dark);
}

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

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

button, input, textarea {
    font-family: inherit;
}

/* Scrollbar - Exacto del original */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #f1f1f1;
}
::-webkit-scrollbar-thumb {
    background: #888;
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: #555;
}
.dark ::-webkit-scrollbar-track {
    background: #1e293b;
}
.dark ::-webkit-scrollbar-thumb {
    background: #475569;
}

/* Skip link for accessibility */
.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: var(--primary);
    color: white;
    padding: 8px;
    z-index: 100;
}
.skip-link:focus {
    top: 0;
}
.screen-reader-text {
    clip: rect(1px, 1px, 1px, 1px);
    position: absolute !important;
    height: 1px;
    width: 1px;
    overflow: hidden;
}

/* ============================================
   Container
   ============================================ */
.container {
    width: 100%;
    max-width: var(--container-max);
    margin: 0 auto;
    padding: 0 24px;
}

@media (min-width: 768px) {
    .container {
        padding: 0 48px;
    }
}

/* ============================================
   Navigation - Exacto del original
   ============================================ */
.navbar {
    position: sticky;
    top: 0;
    z-index: 50;
    height: var(--nav-height);
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--gray-200);
    transition: var(--transition);
}

.dark .navbar {
    background: rgba(15, 23, 42, 0.9);
    border-bottom-color: var(--gray-800);
}

.navbar.scrolled {
    box-shadow: var(--shadow-md);
}

.navbar-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    padding: 16px 24px;
}

.navbar-side {
    display: flex;
    align-items: center;
    gap: 12px;
}

.navbar-side.left {
    justify-content: flex-start;
    flex: 1 1 0;
}

.navbar-side.right {
    justify-content: flex-end;
    flex: 1 1 auto;
}

/* Navbar Brand - Logo centrado exacto */
.navbar-brand {
    flex: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.navbar-brand:hover .logo-text {
    color: var(--primary);
}

.logo-box {
    width: 32px;
    height: 32px;
    background: var(--primary);
    border-radius: 6px;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 20px;
}

.logo-text {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.025em;
    color: var(--gray-900);
    transition: var(--transition-colors);
}

.dark .logo-text {
    color: white;
}

.logo-img {
    height: 40px;
    width: auto;
}

/* Nav Menu - Hidden by default, for future use */
.nav-menu {
    display: none;
    list-style: none;
    gap: 32px;
}

.nav-menu a {
    font-size: 14px;
    font-weight: 500;
    color: var(--text-muted-light);
}

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

.dark .nav-menu a {
    color: var(--text-muted-dark);
}

/* Theme Toggle */
.theme-toggle {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: transparent;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted-light);
    transition: var(--transition);
}

.theme-toggle:hover {
    background: var(--gray-100);
    color: var(--primary);
}

.dark .theme-toggle {
    color: var(--text-muted-dark);
}

.dark .theme-toggle:hover {
    background: var(--gray-800);
}

/* Mobile Menu Toggle */
.mobile-menu-toggle {
    display: flex;
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: transparent;
    border: none;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    color: var(--text-main-light);
}

.dark .mobile-menu-toggle {
    color: var(--text-main-dark);
}

@media (min-width: 1024px) {
    .mobile-menu-toggle {
        display: none;
    }
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--background-light);
    padding: 24px;
    z-index: 40;
}

.mobile-menu.open {
    display: block;
}

.dark .mobile-menu {
    background: var(--background-dark);
}

.mobile-nav-menu {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.mobile-nav-menu a {
    display: block;
    padding: 12px 16px;
    font-size: 16px;
    font-weight: 500;
    border-radius: 8px;
}

.mobile-nav-menu a:hover {
    background: var(--surface-light);
}

.dark .mobile-nav-menu a:hover {
    background: var(--surface-dark);
}

.mobile-cta {
    margin-top: 24px;
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   Buttons - Exacto del original
   ============================================ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    text-decoration: none;
    padding: 12px 24px;
}

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

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

.btn-nav {
    padding: 10px 20px;
    font-size: 14px;
}

.btn-lg {
    padding: 12px 32px;
    font-size: 18px;
    font-weight: 600;
    box-shadow: var(--shadow-lg);
}

.btn-lg:hover {
    box-shadow: var(--shadow-xl);
}

.btn-full {
    width: 100%;
    padding: 14px;
    font-weight: 700;
    margin-top: 8px;
}

.btn-full:hover {
    transform: translateY(-2px);
}

/* Hidden on mobile */
.hidden-mobile {
    display: none;
}

@media (min-width: 1024px) {
    .hidden-mobile {
        display: flex;
    }
}

/* ============================================
   Hero Section - Exacto del original
   ============================================ */
.hero {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: 0;
}

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

.hero-overlay {
    position: absolute;
    inset: 0;
    background: rgba(17, 24, 39, 0.6);
    mix-blend-mode: multiply;
}

.dark .hero-overlay {
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 10;
    text-align: center;
    padding: 0 24px;
    max-width: 896px;
    margin: 0 auto;
}

.hero-title {
    font-size: 2.25rem;
    font-weight: 700;
    color: white;
    margin-bottom: 24px;
    line-height: 1.1;
    filter: drop-shadow(0 1px 1px rgb(0 0 0 / 0.05));
}

@media (min-width: 768px) {
    .hero-title {
        font-size: 3rem;
    }
}

@media (min-width: 1024px) {
    .hero-title {
        font-size: 3.75rem;
    }
}

.hero-title .highlight {
    color: var(--blue-400);
}

.hero-subtitle {
    font-size: 1.125rem;
    color: var(--gray-200);
    margin-bottom: 32px;
    max-width: 672px;
    margin-left: auto;
    margin-right: auto;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 16px;
    justify-content: center;
    align-items: center;
}

@media (min-width: 640px) {
    .hero-actions {
        flex-direction: row;
    }
}

.hero .swiper-button-next,
.hero .swiper-button-prev,
.hero .swiper-nav,
.hero .owl-nav {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
}

/* ============================================
   Section Styles
   ============================================ */
.section {
    padding: 80px 0;
}

.section-white {
    background: var(--background-light);
}

.section-surface {
    background: var(--surface-light);
}

.dark .section-white {
    background: var(--background-dark);
}

.dark .section-surface {
    background: var(--surface-dark);
}

.section-header {
    text-align: center;
    margin-bottom: 64px;
}

.section-title {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main-light);
    margin-bottom: 16px;
}

@media (min-width: 768px) {
    .section-title {
        font-size: 2.25rem;
    }
}

.dark .section-title {
    color: var(--text-main-dark);
}

.section-subtitle {
    color: var(--text-muted-light);
    max-width: 672px;
    margin: 0 auto;
}

.dark .section-subtitle {
    color: var(--text-muted-dark);
}

/* ============================================
   About Section - Exacto del original
   ============================================ */
.about-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: 1fr 1fr;
    }
}

/* Video Container - Exacto del original */
.video-container {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--gray-900);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-bg {
    position: absolute;
    inset: 0;
    opacity: 0.4;
    transition: var(--transition);
}

.video-container:hover .video-bg {
    opacity: 0.5;
}

.video-bg img,
.video-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Play Button - Exacto del original */
.video-play-btn {
    position: relative;
    z-index: 10;
    width: 80px;
    height: 80px;
    border: 4px solid white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}

.video-container:hover .video-play-btn {
    transform: scale(1.1);
}

.video-play-btn .material-icons-outlined {
    color: white;
    font-size: 48px;
    margin-left: 4px;
}

.about-content {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.about-content h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--text-main-light);
}

@media (min-width: 768px) {
    .about-content h2 {
        font-size: 2.25rem;
    }
}

.dark .about-content h2 {
    color: var(--text-main-dark);
}

.about-content p {
    color: var(--text-muted-light);
    line-height: 1.75;
}

.dark .about-content p {
    color: var(--text-muted-dark);
}

.about-content p.large {
    font-size: 1.125rem;
}

/* ============================================
   Services Section - Exacto del original
   ============================================ */
.services-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
}

@media (min-width: 768px) {
    .services-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.service-card {
    background: white;
    padding: 32px;
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    border: 1px solid var(--gray-100);
    transition: var(--transition);
    text-align: center;
}

.dark .service-card {
    background: var(--background-dark);
    border-color: var(--gray-800);
}

.service-card:hover {
    box-shadow: var(--shadow-xl);
}

.service-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-50);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px auto;
    color: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.dark .service-icon {
    background: var(--blue-900-20);
}

.service-icon .material-icons-outlined {
    font-size: 30px;
}

.service-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main-light);
}

.dark .service-card h3 {
    color: var(--text-main-dark);
}

.service-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    font-size: 14px;
    color: var(--text-muted-light);
}

.dark .service-list li {
    color: var(--text-muted-dark);
}

.service-list .material-icons-outlined {
    color: var(--primary);
    font-size: 16px;
    margin-top: 2px;
    flex-shrink: 0;
}

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

/* ============================================
   Why Us Section - Exacto del original
   ============================================ */
.why-us {
    background: #0f172a;
    color: white;
    overflow: hidden;
    padding: 20px 0;
}

.dark .why-us {
    background: #020617;
}

.why-us-grid {
    display: grid;
    grid-template-columns: 1fr;
}

@media (min-width: 1024px) {
    .why-us-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.why-us-content {
    padding: 60px 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    order: 2;
}

@media (min-width: 1024px) {
    .why-us-content {
        padding: 80px;
        order: 1;
    }
}

.why-us-title {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 32px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@media (min-width: 1024px) {
    .why-us-title {
        font-size: 2.25rem;
    }
}

.why-us-title .highlight {
    color: var(--blue-500);
}

.why-item {
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    gap: 20px;
    margin-bottom: 24px;
    padding: 0;
}

.why-list {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.why-icon {
    width: 32px;
    height: 32px;
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.why-icon span {
    color: var(--primary);
    font-size: 32px;
}

.why-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.why-item p {
    font-size: 14px;
    color: var(--gray-400);
}

.why-us-image {
    position: relative;
    min-height: 256px;
    order: 1;
}

@media (min-width: 1024px) {
    .why-us-image {
        order: 2;
        min-height: auto;
    }
}

.why-us-image img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.why-us-image-overlay {
    position: absolute;
    inset: 0;
    background: rgba(30, 58, 138, 0.1);
    mix-blend-mode: overlay;
}

/* ============================================
   Gallery Section - Exacto del original
   ============================================ */
/* ============================================
   Recent Production Gallery (Swiper - "Foto 2" Style)
   ============================================ */
/* Custom Gallery Styles from Demo */
.gallery-top .swiper-slide {
    height: fit-content;
    margin-right: 0px;
    opacity: 0.5;
    transform: scale(0.85);
    transition: all 0.5s ease;
}

.gallery-top .swiper-slide-active {
    transform: scale(1.1) !important;
    opacity: 1 !important;
    z-index: 10;
}

.swiper-button-prev:after, 
.swiper-button-next:after {
    content: '' !important;
}

.swiper-button-next svg, 
.swiper-button-prev svg {
    width: 20px;
    height: 20px;
}

.swiper-button-next, 
.swiper-button-prev {
    background-color: white !important;
    border: 2px solid #ff00ff !important;
    border-radius: 50% !important;
    width: 44px !important;
    height: 44px !important;
    color: #ff00ff !important;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1) !important;
    transition: all 0.3s ease !important;
}

.swiper-button-next:hover, 
.swiper-button-prev:hover {
    background-color: #ff00ff !important;
    color: white !important;
    transform: scale(1.1);
}

.gallery-top .swiper-slide .swiper-box {
    display: none !important;
}

.recent-production-slider {
    padding: 120px 0 !important;
}

/* ============================================
   Contact Section - Exacto del original
   ============================================ */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 48px;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

@media (min-width: 1024px) {
    .contact-grid {
        grid-template-columns: 1fr 1fr;
        gap: 80px;
    }
}

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

.contact-info h2 {
    font-size: 1.875rem;
    font-weight: 700;
    margin-bottom: 24px;
    color: var(--text-main-light);
}

@media (min-width: 768px) {
    .contact-info h2 {
        font-size: 2.25rem;
    }
}

.dark .contact-info h2 {
    color: var(--text-main-dark);
}

.contact-info > p {
    color: var(--text-muted-light);
    font-size: 1.125rem;
    margin-bottom: 40px;
    line-height: 1.75;
}

.dark .contact-info > p {
    color: var(--text-muted-dark);
}

.contact-features {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.contact-feature {
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

/* Ícono circular exacto del original */
.contact-feature-icon {
    width: 48px;
    height: 48px;
    background: var(--blue-100);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.dark .contact-feature-icon {
    background: var(--blue-900-30);
}

.contact-feature h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
    color: var(--text-main-light);
}

.dark .contact-feature h4 {
    color: var(--text-main-dark);
}

.contact-feature p {
    font-size: 14px;
    color: var(--text-muted-light);
    margin-top: 4px;
}

.dark .contact-feature p {
    color: var(--text-muted-dark);
}

/* Form Card - Exacto del original */
.form-card {
    background: var(--surface-light);
    padding: 32px;
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    border: 1px solid var(--gray-100);
    width: 100%;
}

@media (min-width: 768px) {
    .form-card {
        padding: 40px;
    }
}

.dark .form-card {
    background: var(--background-dark);
    border-color: var(--gray-800);
}

.form-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-main-light);
    display: block;
}

@media (min-width: 1024px) {
    .form-card h3 {
        display: none;
    }
}

.dark .form-card h3 {
    color: var(--text-main-dark);
}

.form-card form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

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

/* Labels en mayúscula exacto del original */
.form-group label {
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted-light);
}

.dark .form-group label {
    color: var(--text-muted-dark);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    font-size: 16px;
    background: white;
    color: var(--text-main-light);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

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

.dark .form-group input,
.dark .form-group textarea {
    background: var(--surface-dark);
    border-color: var(--gray-700);
    color: var(--text-main-dark);
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--gray-400);
}

/* ============================================
   Features Section - Exacto del original
   ============================================ */
.features-section {
    border-top: 1px solid var(--gray-100);
    padding: 64px 0;
}

.dark .features-section {
    border-top-color: var(--gray-800);
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 32px;
    text-align: center;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 40px;
}

@media (min-width: 768px) {
    .feature-item {
        margin-bottom: 0;
    }
}

/* Ícono circular grande exacto del original */
.feature-icon {
    width: 64px;
    height: 64px;
    background: var(--blue-50);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
}

.dark .feature-icon {
    background: var(--blue-900-20);
}

.feature-icon .material-icons-outlined {
    font-size: 30px;
    color: var(--primary);
}

.feature-item h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main-light);
}

.dark .feature-item h3 {
    color: var(--text-main-dark);
}

.feature-item p {
    font-size: 14px;
    color: var(--text-muted-light);
    max-width: 320px;
}

.dark .feature-item p {
    color: var(--text-muted-dark);
}

/* ============================================
   Footer - Exacto del original
   ============================================ */
.footer {
    background: #0b1120;
    color: white;
    padding: 80px 0 40px;
}

.dark .footer {
    background: black;
}

.footer-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 896px;
    margin: 0 auto;
}

/* Footer Logo */
.footer-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 24px;
}

.footer-logo-img {
    height: 50px;
    width: auto;
}

.footer-logo-box {
    width: 40px;
    height: 40px;
    background: white;
    color: #0b1120;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 24px;
}

.footer-logo-text {
    font-size: 1.875rem;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.footer-tagline {
    color: var(--gray-400);
    max-width: 448px;
    line-height: 1.75;
    font-size: 1.125rem;
    margin-bottom: 48px;
}

/* Footer Contact Grid - Exacto del original */
.footer-contact-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    width: 100%;
    margin-bottom: 64px;
    border-top: 1px solid var(--gray-800);
    border-bottom: 1px solid var(--gray-800);
    padding: 48px 0;
}

@media (min-width: 768px) {
    .footer-contact-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 32px;
    }
}

.footer-contact-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Ícono circular con fondo gris exacto del original */
.footer-contact-icon {
    width: 48px;
    height: 48px;
    background: rgba(31, 41, 55, 0.5);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 16px;
    color: var(--primary);
}

.footer-contact-icon .material-icons-outlined {
    font-size: 24px;
}

.footer-contact-item h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 4px;
}

.footer-contact-item p,
.footer-contact-item a {
    font-size: 14px;
    color: var(--gray-400);
}

.footer-contact-item a:hover {
    color: white;
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
}

/* Social Links - Exacto del original */
.social-links {
    display: flex;
    gap: 16px;
}

.social-link {
    width: 40px;
    height: 40px;
    background: var(--gray-800);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-link:hover {
    background: var(--primary);
    transform: translateY(-4px);
}

.social-link .material-icons-outlined {
    font-size: 14px;
}

.copyright {
    font-size: 12px;
    color: var(--gray-500);
}

/* ============================================
   Scroll Animations
   ============================================ */
.animate-ready {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* ============================================
   Notification Toast
   ============================================ */
.letex-notification {
    position: fixed;
    bottom: 24px;
    right: 24px;
    background: var(--gray-800);
    color: white;
    padding: 16px 24px;
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 1000;
    opacity: 0;
    transform: translateY(20px);
    transition: var(--transition);
}

.letex-notification.show {
    opacity: 1;
    transform: translateY(0);
}

.letex-notification.success {
    background: #059669;
}

.letex-notification.error {
    background: #dc2626;
}

/* ============================================
   Success Modal
   ============================================ */
.letex-modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.letex-modal-overlay.show {
    opacity: 1;
    pointer-events: auto;
}

.letex-modal {
    background: var(--background-light);
    width: 90%;
    max-width: 500px;
    border-radius: 24px;
    padding: 40px;
    box-shadow: var(--shadow-2xl);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dark .letex-modal {
    background: var(--surface-dark);
}

.letex-modal-overlay.show .letex-modal {
    transform: scale(1);
}

.letex-modal-content {
    text-align: center;
}

.success-icon-wrapper {
    width: 80px;
    height: 80px;
    background: var(--blue-50);
    color: var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
}

.dark .success-icon-wrapper {
    background: var(--blue-900-30);
}

.success-icon-wrapper span {
    font-size: 48px;
}

.letex-modal-content h2 {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--text-main-light);
}

.dark .letex-modal-content h2 {
    color: var(--text-main-dark);
}

.letex-modal-content p {
    color: var(--text-muted-light);
    line-height: 1.6;
    margin-bottom: 32px;
}

.dark .letex-modal-content p {
    color: var(--text-muted-dark);
}

.modal-close-btn {
    width: 100%;
    padding: 14px;
    font-weight: 600;
}

/* ============================================
   Responsive Utilities
   ============================================ */
@media (max-width: 767px) {
    .section {
        padding: 48px 0;
    }
    
    .section-header {
        margin-bottom: 40px;
    }
    
    .hero {
        height: 500px;
    }
}

/* Print Styles */
@media print {
    .navbar,
    .mobile-menu-toggle,
    .theme-toggle,
    .social-links {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
}

/* ============================================
   Elementor Compatibility Styles
   ============================================ */

/* Elementor Full Width */
.elementor-full-width {
    padding: 0;
}

.elementor-full-width .elementor-section.elementor-section-boxed > .elementor-container {
    max-width: var(--container-max);
}

.elementor-full-width .elementor-section.elementor-section-full_width > .elementor-container {
    max-width: none;
}

/* Elementor Typography Integration */
.elementor-widget-heading .elementor-heading-title {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.elementor-widget-text-editor {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Elementor Button Styles */
.elementor-widget-button .elementor-button {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
}

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

/* Elementor Form Styles */
.elementor-form .elementor-field-group {
    margin-bottom: 20px;
}

.elementor-form .elementor-field-label {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-muted-light);
    margin-bottom: 4px;
}

.elementor-form .elementor-field {
    font-family: 'Inter', sans-serif;
    padding: 12px 16px;
    border: 1px solid var(--gray-300);
    border-radius: 8px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.elementor-form .elementor-field:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 97, 216, 0.1);
    outline: none;
}

.elementor-form .elementor-button {
    background-color: var(--primary);
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 8px;
    transition: var(--transition);
}

.elementor-form .elementor-button:hover {
    background-color: var(--primary-hover);
    transform: translateY(-2px);
}

/* Elementor Icon Styles */
.elementor-widget-icon .elementor-icon {
    transition: var(--transition);
}

.elementor-widget-icon-list .elementor-icon-list-icon {
    color: var(--primary);
}

/* Elementor Image Gallery */
.elementor-widget-image-gallery .gallery-item {
    border-radius: 8px;
    overflow: hidden;
}

.elementor-widget-image-gallery .gallery-item img {
    transition: var(--transition-transform);
}

.elementor-widget-image-gallery .gallery-item:hover img {
    transform: scale(1.1);
}

/* Elementor Video Widget */
.elementor-widget-video .elementor-wrapper {
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-2xl);
}

/* Elementor Section Backgrounds */
.elementor-section[data-settings*="background_overlay"] .elementor-background-overlay {
    mix-blend-mode: multiply;
}

/* Dark Mode for Elementor */
body.dark .elementor-widget-heading .elementor-heading-title {
    color: var(--text-main-dark);
}

body.dark .elementor-widget-text-editor {
    color: var(--text-muted-dark);
}

body.dark .elementor-form .elementor-field {
    background: var(--surface-dark);
    border-color: var(--gray-700);
    color: var(--text-main-dark);
}

body.dark .elementor-form .elementor-field-label {
    color: var(--text-muted-dark);
}

/* Elementor Editor Preview Styles */
.elementor-editor-active .navbar {
    z-index: 100;
}

/* Fix for Elementor Column Gap */
.elementor-column-gap-extended > .elementor-column > .elementor-element-populated {
    padding: 16px;
}

/* Elementor Responsive Fixes */
@media (max-width: 1024px) {
    .elementor-section.elementor-section-boxed > .elementor-container {
        padding-left: 24px;
        padding-right: 24px;
    }
}

@media (max-width: 767px) {
    .elementor-section .elementor-container .elementor-column {
        width: 100%;
    }
    
    .elementor-widget-heading .elementor-heading-title {
        font-size: 24px !important;
    }
}

/* Smooth Scroll for Elementor Anchor Links */
html.elementor-page {
    scroll-behavior: smooth;
}

/* Elementor Popup compatibility */
.elementor-location-popup .elementor-section {
    background: var(--background-light);
}

body.dark .elementor-location-popup .elementor-section {
    background: var(--background-dark);
}

/* ELIMINAR PUNTOS Y LIMPIAR LISTA */
body.data-browser-cel ul {
        text-align: left;
        padding: 0 30px;
}


@media (max-width: 767px) {
    /* Container padding adjustment */
    .container {
        padding: 0 7px;
    }

    /* Navbar Mobile Fix */
    .navbar-inner {
        padding: 0 12px;
        gap: 8px;
    }

    .navbar-side {
        gap: 8px;
    }

    .navbar-side.left {
        display: none; /* Hide left side on mobile to pull logo to the left */
        flex: 0;
    }

    .navbar-side.right {
        flex: 1;
        justify-content: flex-end;
    }

    .navbar-brand {
        flex: 1;
        justify-content: flex-start;
    }

    .logo-img {
        height: 28px; /* Even smaller logo */
    }

    .logo-text {
        font-size: 16px;
    }

    .navbar .btn-primary {
        padding: 6px 10px;
        font-size: 12px;
        white-space: nowrap;
    }

    /* Center section headers */
    .section-header, 
    .section-title, 
    .section-subtitle,
    .gallery-grid-title {
        text-align: center !important;
        margin-left: auto;
        margin-right: auto;
        padding: 0 10px;
    }

    /* About Section */
    .about-content {
        text-align: center;
        padding: 24px 0;
    }
    
    .about-content h2 {
        text-align: center;
        font-size: 1.5rem;
    }

    /* Services Section Fix */
    .services-grid {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 0;
    }

    .service-card {
        flex-direction: column;
        text-align: center;
        align-items: center;
        padding: 32px 24px;
        gap: 20px;
        width: 100%;
    }

    .service-icon {
        margin: 0 auto 16px auto !important;
        width: 48px;
        height: 48px;
        flex-shrink: 0;
        background: var(--blue-50) !important;
        border-radius: 8px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .service-icon span {
        font-size: 32px;
        color: var(--primary);
    }

    /* Why Us Section Fix */
    .why-us-content {
        text-align: center;
        padding: 40px 0;
    }

    .why-us-title {
        text-align: center;
        font-size: 1.5rem;
    }

    .why-list {
        align-items: flex-start;
        gap: 24px;
        width: 100%;
    }

    .why-item {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 20px;
        width: 100%;
        padding: 0 16px; /* Extra padding for mobile */
    }

    .why-icon {
        margin-top: 2px;
    }

    .why-item h4 {
        margin-bottom: 2px;
        line-height: 1.2;
    }

    /* Contact Section Fix */
    .contact-grid {
        gap: 32px;
    }

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

    .contact-features {
        align-items: center;
        gap: 20px;
        margin-top: 24px;
        width: 100%;
    }

    .contact-feature {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 16px;
        width: 100%;
    }

    .contact-feature-icon {
        width: 32px;
        height: 32px;
        margin-bottom: 0;
        background: transparent !important;
        color: var(--primary) !important;
        flex-shrink: 0;
    }

    .contact-feature-icon span {
        font-size: 24px;
    }

    /* Form Card */
    .form-card {
        margin-top: 24px;
        padding: 24px 12px;
        border-radius: 12px;
    }

    /* Gallery Fix */
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 16px;
    }

    /* Features Grid (Garantía Calidad) */
    .features-grid {
        grid-template-columns: 1fr !important;
        gap: 40px;
        text-align: center;
    }

    .feature-item {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 16px;
    }

    .feature-icon {
        width: 40px;
        height: 40px;
        margin-bottom: 0;
        flex-shrink: 0;
        background: transparent !important;
    }

    .feature-icon span {
        font-size: 24px;
    }

    /* Footer Fixes */
    .footer {
        padding: 50px 0 30px;
    }

    .footer-inner {
        padding: 0;
    }

    .footer-logo-img {
        height: 40px;
    }

    .footer-contact-grid {
        padding: 30px 0;
        gap: 32px;
        margin-bottom: 40px;
    }

    .footer-tagline {
        font-size: 1rem;
        margin-bottom: 30px;
    }
}

/* Extra small devices fix */
@media (max-width: 375px) {
    .logo-text {
        font-size: 16px;
    }
    
    .navbar .btn-primary {
        padding: 4px 8px;
        font-size: 11px;
    }
}
