:root {
    --color-primary: #0e4f7a;
    --color-secondary: #5c6a7c;
    --color-accent: #ffffff;
    --color-text: #2c3e50;
    --color-bg: #f8f9fa;
    --color-card: #ffffff;
    --color-light-blue: rgba(14, 79, 122, 0.1);
    --color-dark-blue: #0a3d5f;
    
    /* Tipografías Premium */
    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --font-size-h1: 3.8rem;
    --font-size-h2: 2.8rem;
    --font-size-h3: 2rem;
    --font-size-body: 1.1rem;
    --font-weight-bold: 700;
    --font-weight-medium: 500;
    --font-weight-normal: 400;
    
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    --spacing-xxl: 4rem;
    
    --shadow-sm: 0 2px 8px rgba(14, 79, 122, 0.1);
    --shadow-md: 0 8px 24px rgba(14, 79, 122, 0.15);
    --shadow-lg: 0 16px 40px rgba(14, 79, 122, 0.2);
    
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 20px;
    --radius-xl: 30px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, var(--color-bg) 0%, #e8f2f8 100%);
    color: var(--color-text);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

/* Header */
.header {
    background: linear-gradient(135deg, var(--color-bg) 0%, var(--color-card) 100%);
    padding: var(--spacing-sm) 0;
    position: fixed; 
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 var(--spacing-lg);
}

.logo {
    width: 200px;
    object-fit: cover;
}

.nav-menu {
    display: flex;
    gap: var(--spacing-lg);
    list-style: none;
    transition: all 0.3s ease;
}

.nav-menu a {
    color: var(--color-text);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    transition: all 0.3s ease;
    position: relative;
}

.nav-menu a:hover {
    color: var(--color-primary);
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--color-primary);
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
    z-index: 1001;
    background: none;
    border: none;
    position: relative;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--color-text);
    margin: 3px 0;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* Mobile Menu Overlay */
.mobile-menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(14, 79, 122, 0.95);
    backdrop-filter: blur(10px);
    z-index: 999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-menu {
    list-style: none;
    text-align: center;
    padding: 0;
}

.mobile-nav-menu li {
    margin: 2rem 0;
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.3s ease;
}

.mobile-menu-overlay.active .mobile-nav-menu li {
    opacity: 1;
    transform: translateY(0);
}

.mobile-nav-menu li:nth-child(1) { transition-delay: 0.1s; }
.mobile-nav-menu li:nth-child(2) { transition-delay: 0.2s; }
.mobile-nav-menu li:nth-child(3) { transition-delay: 0.3s; }

.mobile-nav-menu a {
    color: white;
    text-decoration: none;
    font-size: 2rem;
    font-weight: var(--font-weight-medium);
    font-family: var(--font-heading);
    display: block;
    padding: 1rem;
    transition: all 0.3s ease;
    position: relative;
}

.mobile-nav-menu a:hover {
    color: #fcbf33;
    transform: scale(1.1);
}

.mobile-nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: #fcbf33;
    transition: width 0.3s ease;
}

.mobile-nav-menu a:hover::after {
    width: 80%;
}

/* Close button for mobile menu */
.mobile-menu-close {
    position: absolute;
    top: 2rem;
    right: 2rem;
    background: none;
    border: none;
    color: white;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
}

.mobile-menu-close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

section {
    scroll-margin-top: 70px;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-blue) 100%);
    color: white;
    padding: calc(80px + var(--spacing-xxl)) 0 var(--spacing-xxl);
    text-align: center;
    position: relative;
    overflow: hidden;
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(252, 191, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 50% 0%, rgba(14, 79, 122, 0.3) 0%, transparent 70%);
    animation: heroGlow 8s ease-in-out infinite alternate;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(45deg, transparent 48%, rgba(255,255,255,0.02) 49%, rgba(255,255,255,0.02) 51%, transparent 52%),
        linear-gradient(-45deg, transparent 48%, rgba(255,255,255,0.02) 49%, rgba(255,255,255,0.02) 51%, transparent 52%),
        repeating-linear-gradient(90deg, transparent, transparent 2px, rgba(255,255,255,0.03) 2px, rgba(255,255,255,0.03) 4px);
    background-size: 60px 60px, 60px 60px, 200px 200px;
    animation: heroPattern 20s linear infinite;
}

/* Geometric shapes background */
.hero-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 1;
}

.hero-shape {
    position: absolute;
    opacity: 0.1;
    animation: shapeFloat 15s ease-in-out infinite;
}

.hero-shape.circle {
    width: 150px;
    height: 150px;
    border: 2px solid rgba(252, 191, 51, 0.3);
    border-radius: 50%;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.hero-shape.triangle {
    width: 0;
    height: 0;
    border-left: 60px solid transparent;
    border-right: 60px solid transparent;
    border-bottom: 100px solid rgba(255, 255, 255, 0.1);
    top: 60%;
    right: 15%;
    animation-delay: 3s;
}

.hero-shape.rectangle {
    width: 120px;
    height: 80px;
    background: rgba(14, 79, 122, 0.2);
    border-radius: 10px;
    top: 40%;
    left: 80%;
    animation-delay: 6s;
    transform: rotate(25deg);
}

.hero-shape.hexagon {
    width: 100px;
    height: 100px;
    background: rgba(252, 191, 51, 0.15);
    clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%);
    bottom: 30%;
    left: 20%;
    animation-delay: 9s;
}

.hero-shape.diamond {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.08);
    transform: rotate(45deg);
    top: 15%;
    right: 25%;
    animation-delay: 12s;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
}

.hero h1 {
    font-family: var(--font-heading);
    font-size: var(--font-size-h1);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    animation: slideInUp 1s ease-out;
    letter-spacing: -0.02em;
    line-height: 0.8em;
}

.hero-subtitle {
    font-size: var(--font-size-body);
    opacity: 0.9;
    animation: slideInUp 1s ease-out 0.2s both;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    padding: var(--spacing-sm) var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
    border-radius: var(--radius-xl);
    font-weight: var(--font-weight-medium);
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: slideInUp 1s ease-out 0.4s both;
}

.cta-hero {
    background: linear-gradient(45deg, #fcbf33, #f39c12);
    color: var(--color-text);
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: var(--font-size-body);
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    margin-top: var(--spacing-lg);
    animation: slideInUp 1s ease-out 0.6s both;
}

.cta-hero:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.4);
}

/* Características Section */
.features-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, #e8f2f8 100%);
    position: relative;
    overflow: hidden;
}

.features-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 60"><defs><pattern id="grid" width="60" height="60" patternUnits="userSpaceOnUse"><path d="M 60 0 L 0 0 0 60" fill="none" stroke="rgba(14,79,122,0.05)" stroke-width="1"/></pattern></defs><rect width="100%" height="100%" fill="url(%23grid)"/></svg>');
    animation: gridMove 30s linear infinite;
}

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xxl);
    position: relative;
    z-index: 2;
}

.section-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-md);
    position: relative;
    letter-spacing: -0.02em;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background: linear-gradient(45deg, #fcbf33, #f39c12);
    border-radius: 2px;
}

.section-subtitle {
    font-size: var(--font-size-body);
    color: var(--color-secondary);
    max-width: 600px;
    margin: 0 auto;
}

/* Feature Cards - Layout mejorado */
.feature-item {
    margin-bottom: var(--spacing-xxl);
    position: relative;
    z-index: 2;
    animation: fadeInUp 0.6s ease-out both;
}

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }

.feature-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    align-items: center;
    background: var(--color-card);
    border-radius: var(--radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
}

/* Alternar orden en cada feature */
.feature-item:nth-child(even) .feature-grid {
    direction: rtl;
}

.feature-item:nth-child(even) .feature-content {
    direction: ltr;
}

.feature-image-container {
    height: 500px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-real-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: all 0.3s ease;
}

.feature-content {
    padding: var(--spacing-xl);
}

.feature-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h3);
    font-weight: 600;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.01em;
}

.feature-description {
    color: var(--color-secondary);
    line-height: 1.6;
    margin-bottom: var(--spacing-lg);
    font-size: 1.05rem;
}

.feature-specs {
    list-style: none;
    padding: 0;
}

.feature-specs li {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    margin-bottom: var(--spacing-sm);
    color: var(--color-text);
    font-weight: var(--font-weight-medium);
    font-size: 0.95rem;
}

.feature-specs li i {
    color: #27ae60;
    font-size: 1.1rem;
}

/* Styles Section */

.styles-grid {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: var(--spacing-lg) 0;
    position: relative;
    z-index: 2;
}

.styles-grid img {
    height: 80vh;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-md);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* CTA Section - Formulario Mejorado */
.cta-section {
    background: linear-gradient(135deg, var(--color-primary) 0%, var(--color-dark-blue) 100%);
    color: white;
    padding: var(--spacing-xxl) 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.cta-section .container {
    padding: 0 var(--spacing-lg);
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" patternUnits="userSpaceOnUse" width="20" height="20"><circle cx="10" cy="10" r="1" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    animation: float 15s ease-in-out infinite reverse;
}

.cta-content {
    position: relative;
    z-index: 2;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: var(--font-size-h2);
    font-weight: 700;
    margin-bottom: var(--spacing-md);
    letter-spacing: -0.02em;
}

.cta-subtitle {
    font-size: var(--font-size-body);
    margin-bottom: var(--spacing-xl);
    opacity: 0.9;
}

/* Formulario Mejorado */
.contact-form-container {
    max-width: 700px;
    margin: var(--spacing-xl) auto 0;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: var(--shadow-lg);
    width: 100%;
    box-sizing: border-box;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-xl);
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    font-weight: var(--font-weight-medium);
    color: rgba(255, 255, 255, 0.9);
    font-size: 1rem;
    text-align: left;
    margin: 0;
}

.form-input {
    background: rgba(255, 255, 255, 0.15);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 50px;
}

.form-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-input:focus {
    outline: none;
    border-color: #fcbf33;
    background: rgba(255, 255, 255, 0.2);
    box-shadow: 0 0 0 4px rgba(252, 191, 51, 0.2);
    transform: translateY(-2px);
}

.form-textarea {
    min-height: 140px;
    resize: vertical;
    font-family: inherit;
    line-height: 1.5;
}

.btn-submit {
    background: linear-gradient(45deg, #fcbf33, #f39c12);
    color: var(--color-text);
    border: none;
    padding: var(--spacing-lg) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: var(--shadow-lg);
    width: 100%;
    margin-top: var(--spacing-md);
    position: relative;
    overflow: hidden;
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-sm);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(243, 156, 18, 0.4);
}

.btn-submit:active {
    transform: translateY(-1px);
}

.btn-submit.loading {
    color: transparent;
}

.btn-submit.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border: 2px solid var(--color-text);
    border-top: 2px solid transparent;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: var(--radius-lg);
    padding: var(--spacing-xxl);
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.8) translateY(50px);
    transition: all 0.3s ease;
    text-align: center;
}

.modal-overlay.show .modal-content {
    transform: scale(1) translateY(0);
}

.modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: var(--color-secondary);
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
    color: var(--color-text);
    transform: rotate(90deg);
}

.modal-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto var(--spacing-lg);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    animation: modalIconBounce 0.6s ease-out 0.2s both;
}

.modal-icon.success {
    background: linear-gradient(135deg, #2ecc71, #27ae60);
    color: white;
}

.modal-icon.error {
    background: linear-gradient(135deg, #e74c3c, #c0392b);
    color: white;
}

.modal-title {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--color-text);
    margin-bottom: var(--spacing-md);
    animation: slideInUp 0.6s ease-out 0.3s both;
}

.modal-message {
    color: var(--color-secondary);
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: var(--spacing-xl);
    animation: slideInUp 0.6s ease-out 0.4s both;
}

.modal-button {
    background: linear-gradient(45deg, var(--color-primary), var(--color-dark-blue));
    color: white;
    border: none;
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: 1rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    animation: slideInUp 0.6s ease-out 0.5s both;
}

.modal-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(14, 79, 122, 0.4);
}

/* Footer */
.footer {
    background: var(--color-text);
    color: white;
    padding: var(--spacing-xl) 0;
    text-align: center;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.footer-section h3 {
    color: #fcbf33;
    margin-bottom: var(--spacing-md);
    font-family: var(--font-heading);
}

.footer-section p, .footer-section a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #fcbf33;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: var(--spacing-lg);
    color: rgba(255, 255, 255, 0.6);
}

.footer-credits {
    margin-top: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    opacity: 0.75;
    transition: opacity 0.3s ease;
}

.footer-credits:hover {
    opacity: 1;
}

.footer-credits svg {
    flex-shrink: 0;
    opacity: 0.7;
    transition: all 0.3s ease;
}

.footer-credits:hover svg {
    opacity: 1;
    transform: scale(1.1);
}

.footer-dev-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-weight: var(--font-weight-medium);
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    position: relative;
}

.footer-dev-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: var(--spacing-sm);
    right: var(--spacing-sm);
    height: 1px;
    background: #fcbf33;
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.footer-dev-link:hover {
    color: #fcbf33;
    transform: translateY(-2px);
}

.footer-dev-link:hover::after {
    transform: scaleX(1);
}

.footer-dev-link svg {
    transition: all 0.3s ease;
}

.footer-dev-link:hover svg {
    transform: scale(1.2) rotate(5deg);
}

/* Animations */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

@keyframes heroGlow {
    0% {
        opacity: 0.7;
        transform: scale(1);
    }
    100% {
        opacity: 1;
        transform: scale(1.05);
    }
}

@keyframes heroPattern {
    0% {
        background-position: 0 0, 0 0, 0 0;
    }
    100% {
        background-position: 60px 60px, -60px -60px, 200px 200px;
    }
}

@keyframes shapeFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.1;
    }
    33% {
        transform: translateY(-20px) rotate(120deg);
        opacity: 0.2;
    }
    66% {
        transform: translateY(10px) rotate(240deg);
        opacity: 0.15;
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes gridMove {
    0% {
        background-position: 0 0;
    }
    100% {
        background-position: 60px 60px;
    }
}

@keyframes spin {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes modalIconBounce {
    0% {
        transform: scale(0) rotate(180deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 1;
    }
    100% {
        transform: scale(1) rotate(0deg);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .hamburger {
        display: flex;
    }
    
    .hero {
        padding: calc(70px + var(--spacing-xl)) var(--spacing-md) var(--spacing-xl);
    }
    
    .hero-content {
        padding: 0 var(--spacing-md);
    }
    
    .hero h1 {
        font-size: 2.8rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-subtitle {
        font-size: 1.05rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .cta-hero {
        width: 100%;
        max-width: 350px;
        padding: var(--spacing-md) var(--spacing-lg);
    }

    .section-title {
        font-size: 2.2rem;
    }

    .feature-title {
        font-size: 1.6rem;
    }

    .cta-title {
        font-size: 2.2rem;
    }

    /* Feature grid responsive - MEJORADO */
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 0;
        border-radius: var(--radius-md);
    }

    .feature-item:nth-child(even) .feature-grid {
        direction: ltr;
    }

    .feature-image-container {
        height: auto;
        order: -1;
        padding: var(--spacing-md);
        width: 100%;
        box-sizing: border-box;
    }

    .feature-real-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: var(--radius-md);
        display: block;
    }

    .feature-content {
        padding: var(--spacing-lg);
        width: 100%;
        box-sizing: border-box;
    }

    /* Formulario responsivo */
    .contact-form-container {
        margin: var(--spacing-lg) 0 0 0;
        padding: var(--spacing-lg);
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .form-grid {
        grid-template-columns: 1fr;
        gap: var(--spacing-lg);
    }

    .form-input {
        padding: var(--spacing-md);
        font-size: 1rem;
        width: 100%;
        box-sizing: border-box;
    }

    .btn-submit {
        padding: var(--spacing-lg);
        font-size: 1rem;
        width: 100%;
    }

    /* Modal responsive */
    .modal-content {
        padding: var(--spacing-lg);
        margin: var(--spacing-md);
        width: calc(100% - 2rem);
        max-width: none;
    }

    .modal-icon {
        width: 60px;
        height: 60px;
        font-size: 2rem;
    }

    .modal-title {
        font-size: 1.5rem;
    }

    .modal-message {
        font-size: 1rem;
    }
}

/* Pantallas muy pequeñas (menos de 480px) */
@media (max-width: 480px) {
    .container {
        padding: 0 var(--spacing-sm);
    }
    
    .nav-container {
        padding: 0 var(--spacing-sm);
    }

    .cta-section .container {
        padding: 0 var(--spacing-xs);
    }
    
    .hero {
        height: 100vh;
        padding: calc(60px + var(--spacing-lg)) var(--spacing-sm) var(--spacing-lg);
    }
    
    .hero-content {
        padding: 0 var(--spacing-sm);
        max-width: 100%;
    }
    
    .hero h1 {
        font-size: 2.2rem;
        line-height: 1.1;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: var(--spacing-lg);
    }
    
    .hero-badge {
        font-size: 0.9rem;
        padding: var(--spacing-sm) var(--spacing-lg);
        margin-bottom: var(--spacing-lg);
    }
    
    .cta-hero {
        padding: var(--spacing-md) var(--spacing-lg);
        font-size: 1rem;
        width: 100%;
        max-width: 300px;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .cta-title {
        font-size: 1.8rem;
    }

    /* Feature cards para pantallas muy pequeñas - MEJORADO */
    .feature-grid {
        margin: 0 var(--spacing-xs);
        border-radius: var(--radius-sm);
    }

    .feature-image-container {
        height: auto;
        padding: var(--spacing-sm);
        margin: 0;
        width: 100%;
    }

    .feature-real-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: var(--radius-sm);
        display: block;
    }

    .feature-content {
        padding: var(--spacing-md);
        width: 100%;
    }

    .feature-title {
        font-size: 1.4rem;
        margin-bottom: var(--spacing-sm);
    }

    .feature-description {
        font-size: 1rem;
        margin-bottom: var(--spacing-md);
    }

    .feature-specs li {
        font-size: 0.9rem;
        margin-bottom: var(--spacing-xs);
    }

    /* Formulario para pantallas muy pequeñas */
    .contact-form-container {
        margin: var(--spacing-md) 0 0 0;
        padding: var(--spacing-sm);
        border-radius: var(--radius-sm);
        width: 100%;
        max-width: 100%;
    }

    .form-input {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.95rem;
        min-height: 45px;
    }
    
    .form-textarea {
        min-height: 120px;
    }

    .btn-submit {
        padding: var(--spacing-md);
        font-size: 0.95rem;
        min-height: 50px;
    }
    
    .logo {
        width: 150px;
    }

    /* Modal para pantallas pequeñas */
    .modal-content {
        padding: var(--spacing-md);
        margin: var(--spacing-sm);
        width: calc(100% - 1rem);
    }

    .modal-close {
        top: var(--spacing-sm);
        right: var(--spacing-sm);
        width: 35px;
        height: 35px;
        font-size: 1.2rem;
    }

    .modal-icon {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        margin-bottom: var(--spacing-md);
    }

    .modal-title {
        font-size: 1.3rem;
        margin-bottom: var(--spacing-sm);
    }

    .modal-message {
        font-size: 0.95rem;
        margin-bottom: var(--spacing-lg);
    }

    .modal-button {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.9rem;
        width: 100%;
    }
}

/* Pantallas extra pequeñas (menos de 360px) */
@media (max-width: 360px) {
    .feature-grid {
        margin: 0;
        border-radius: var(--radius-sm);
    }

    .feature-image-container {
        height: auto;
        padding: var(--spacing-xs);
    }

    .feature-real-image {
        width: 100%;
        height: auto;
        object-fit: contain;
        border-radius: var(--radius-sm);
        display: block;
    }

    .feature-content {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .contact-form-container {
        margin: var(--spacing-sm) var(--spacing-xs) 0;
        padding: var(--spacing-sm) var(--spacing-md);
        width: calc(100vw - 0.5rem);
        max-width: calc(100vw - 0.5rem);
    }

    .modal-content {
        margin: var(--spacing-xs);
        width: calc(100% - 0.5rem);
        padding: var(--spacing-sm) var(--spacing-md);
    }
}

/* Scroll animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: #25d366;
    color: white;
    border-radius: 50px;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
    z-index: 1000;
    transition: all 0.3s ease;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    animation: pulse 2s infinite;
}

.whatsapp-float:hover {
    background: #128c7e;
    transform: scale(1.1);
    box-shadow: 0 12px 35px rgba(37, 211, 102, 0.5);
    color: white;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(37, 211, 102, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0);
    }
}

/* WhatsApp tooltip */
.whatsapp-float::before {
    content: "¡Consultanos por WhatsApp!";
    position: absolute;
    right: 70px;
    top: 50%;
    transform: translateY(-50%);
    background: #333;
    color: white;
    padding: var(--spacing-xs) var(--spacing-sm);
    border-radius: var(--radius-sm);
    font-size: 14px;
    font-family: var(--font-body);
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    font-weight: 500;
}

.whatsapp-float::after {
    content: "";
    position: absolute;
    right: 60px;
    top: 50%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-left-color: #333;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.whatsapp-float:hover::before,
.whatsapp-float:hover::after {
    opacity: 1;
    visibility: visible;
}

/* Styles Section - Carrusel */

.door-carousel {
    width: 400px;
    margin: 0 auto;
    margin-bottom: var(--spacing-xxl);
    margin-top: var(--spacing-xxl);
    position: relative;
    z-index: 2;
}

.carousel-container {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    background: var(--color-card);
}

.carousel-track {
    display: flex;
    transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.carousel-slide {
    flex: 0 0 100%;
    position: relative;
}

.door-image-container {
    position: relative;
    height: 600px;
    width: 400px;
    overflow: hidden;
}

.door-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.carousel-slide:hover .door-image {
    transform: scale(1.05);
}

.door-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0,0,0,0.8));
    color: white;
    padding: var(--spacing-xl);
    transform: translateY(20px);
    opacity: 0;
    transition: all 0.4s ease;
}

.carousel-slide.active .door-overlay {
    transform: translateY(0);
    opacity: 1;
}

.door-name {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: var(--spacing-sm);
    color: #fcbf33;
}

.door-description {
    font-size: 1.1rem;
    opacity: 0.9;
}

/* Botones de navegación del carrusel */
.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    color: var(--color-text);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-md);
}

.carousel-prev {
    left: var(--spacing-md);
}

.carousel-next {
    right: var(--spacing-md);
}

.carousel-btn:hover {
    background: rgba(252, 191, 51, 0.9);
    color: white;
    transform: translateY(-50%) scale(1.1);
}

.carousel-btn:active {
    transform: translateY(-50%) scale(0.95);
}

/* Indicadores del carrusel */
.carousel-indicators {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    margin: var(--spacing-lg) 0;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: none;
    background: rgba(14, 79, 122, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: var(--color-primary);
    transform: scale(1.2);
}

.indicator:hover:not(.active) {
    background: rgba(14, 79, 122, 0.6);
    transform: scale(1.1);
}

/* Botones de acción */
.carousel-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.btn-want-this,
.btn-catalog {
    padding: var(--spacing-md) var(--spacing-xl);
    border-radius: var(--radius-lg);
    font-size: 1.1rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
    position: relative;
    overflow: hidden;
}

.btn-want-this {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-want-this:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(231, 76, 60, 0.4);
}

.btn-catalog {
    background: linear-gradient(45deg, var(--color-primary), var(--color-dark-blue));
    color: white;
    box-shadow: var(--shadow-md);
}

.btn-catalog:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(14, 79, 122, 0.4);
}

/* Modal del Catálogo */
.catalog-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s ease;
    padding: var(--spacing-lg);
    box-sizing: border-box;
}

.catalog-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.catalog-modal-content {
    background: white;
    border-radius: var(--radius-lg);
    max-width: 1000px;
    max-height: 90vh;
    width: 100%;
    overflow-y: auto;
    position: relative;
    transform: scale(0.8) translateY(50px);
    transition: all 0.4s ease;
}

.catalog-modal-overlay.show .catalog-modal-content {
    transform: scale(1) translateY(0);
}

.catalog-modal-close {
    position: absolute;
    top: var(--spacing-lg);
    right: var(--spacing-lg);
    background: rgba(0, 0, 0, 0.1);
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    color: var(--color-text);
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.catalog-modal-close:hover {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    transform: rotate(90deg);
}

.catalog-header {
    padding: var(--spacing-xl) var(--spacing-xl) var(--spacing-lg);
    text-align: center;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.catalog-header h3 {
    font-family: var(--font-heading);
    font-size: 2rem;
    font-weight: 700;
    color: var(--color-primary);
    margin-bottom: var(--spacing-sm);
}

.catalog-header p {
    color: var(--color-secondary);
    font-size: 1.1rem;
}

.catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: var(--spacing-lg);
    padding: var(--spacing-xl);
}

.catalog-item {
    background: var(--color-bg);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: var(--shadow-sm);
}

.catalog-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.catalog-item img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.catalog-item:hover img {
    transform: scale(1.1);
}

.catalog-item h4 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--color-text);
    padding: var(--spacing-md) var(--spacing-md) var(--spacing-sm);
    margin: 0;
}

.btn-copy {
    background: linear-gradient(45deg, var(--color-primary), var(--color-dark-blue));
    color: white;
    border: none;
    padding: var(--spacing-sm) var(--spacing-md);
    margin: 0 var(--spacing-md) var(--spacing-md);
    border-radius: var(--radius-md);
    font-size: 0.9rem;
    font-weight: var(--font-weight-bold);
    cursor: pointer;
    transition: all 0.3s ease;
    width: calc(100% - 2 * var(--spacing-md));
}

.btn-copy:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(14, 79, 122, 0.4);
}

.btn-copy:active {
    transform: translateY(0);
}

.btn-copy.copied {
    background: linear-gradient(45deg, #2ecc71, #27ae60);
}

/* FAQ Section */
.faq-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, var(--color-bg) 0%, #e8f2f8 100%);
    position: relative;
}

.faq-container {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-lg);
}

.faq-item {
    background: var(--color-card);
    border-radius: var(--radius-lg);
    margin-bottom: var(--spacing-md);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.faq-question {
    width: 100%;
    background: none;
    border: none;
    padding: var(--spacing-lg) var(--spacing-xl);
    text-align: left;
    font-size: 1.1rem;
    font-weight: var(--font-weight-medium);
    color: var(--color-text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
}

.faq-question:hover {
    color: var(--color-primary);
}

.faq-icon {
    font-size: 1.5rem;
    font-weight: 300;
    color: var(--color-primary);
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 var(--spacing-xl);
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 var(--spacing-xl) var(--spacing-lg) var(--spacing-xl);
}

.faq-answer p {
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
}

.faq-answer p:last-child {
    margin-bottom: 0;
}

.faq-answer ul {
    list-style: none;
    padding: 0;
    margin: var(--spacing-sm) 0 0 0;
}

.faq-answer li {
    color: var(--color-secondary);
    line-height: 1.7;
    margin-bottom: var(--spacing-sm);
    padding-left: var(--spacing-lg);
    position: relative;
}

.faq-answer li::before {
    content: '•';
    color: var(--color-primary);
    font-weight: bold;
    position: absolute;
    left: 0;
    font-size: 1.2rem;
}