/* Variables de Color */
:root {
    --background: #ffffff;
    --foreground: #000000;
    --card: #ffffff;
    --card-foreground: #000000;
    --primary: #000000;
    --primary-foreground: #ffffff;
    --secondary: #f5f5f5;
    --secondary-foreground: #000000;
    --muted: #999999;
    --muted-foreground: #666666;
    --accent: #000000;
    --accent-foreground: #ffffff;
    --border: #e0e0e0;
    --radius: 0.5rem;
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

/* Container */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 50;
    border-bottom: 1px solid var(--border);
}

.header-container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 32px;
}

.logo {
    font-size: 18px;
    font-weight: 600;
    letter-spacing: -0.5px;
    text-decoration: none;
    color: var(--foreground);
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--foreground);
}

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

.nav-desktop a {
    font-size: 14px;
    text-decoration: none;
    color: var(--foreground);
    transition: color 0.3s ease;
}

.nav-desktop a:hover {
    color: var(--muted-foreground);
}

.nav-mobile {
    display: none;
    flex-direction: column;
    padding: 16px 20px;
    border-top: 1px solid var(--border);
}

.nav-mobile.active {
    display: flex;
}

.nav-mobile a {
    padding: 12px 0;
    text-decoration: none;
    color: var(--foreground);
    font-size: 14px;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

.icon-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    color: var(--foreground);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
}

.icon-btn:hover {
    opacity: 0.7;
}

.hidden-mobile {
    display: none;
}

/* Hero Section */
.hero {
    position: relative;
    height: 100vh;
    margin-top: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

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

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

.carousel-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
}

.carousel-slide.active {
    opacity: 1;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, rgba(0, 0, 0, 0.5) 100%);
    z-index: 1;
}

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

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background-color: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 24px;
    font-size: 14px;
    margin-bottom: 32px;
    animation: fadeInUp 0.8s ease-out;
}

.hero-title {
    font-size: 48px;
    font-weight: 300;
    line-height: 1.2;
    margin-bottom: 24px;
    animation: fadeInUp 0.8s ease-out 0.2s both;
}

.hero-description {
    font-size: 18px;
    margin-bottom: 32px;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease-out 0.4s both;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease-out 0.6s both;
}

/* Buttons */
.btn {
    padding: 12px 32px;
    border: none;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

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

.btn-primary:hover {
    background-color: #333333;
    transform: translateY(-2px);
}

.btn-outline {
    background-color: transparent;
    color: white;
    border: 1px solid white;
}

.btn-outline:hover {
    background-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
}

/* Sections */
.section {
    padding: 96px 20px;
}

.section-alt {
    background-color: var(--secondary);
}

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

.section-header h2 {
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 12px;
    letter-spacing: -0.5px;
}

.section-header p {
    font-size: 16px;
    color: var(--muted-foreground);
}

/* Product Grid */
.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.product-card {
    cursor: pointer;
    transition: all 0.3s ease;
}

.product-card:hover {
    transform: translateY(-4px);
}

.product-image {
    aspect-ratio: 3 / 4;
    overflow: hidden;
    margin-bottom: 16px;
    background-color: var(--secondary);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

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

.product-card h3 {
    font-size: 14px;
    font-weight: 400;
    margin-bottom: 8px;
}

.product-card .price {
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground);
}

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

/* About Section */
.about-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
    margin-bottom: 96px;
}

.about-content h2 {
    font-size: 40px;
    font-weight: 300;
    margin-bottom: 24px;
    line-height: 1.2;
}

.about-content p {
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-image {
    aspect-ratio: 1;
    overflow: hidden;
    border-radius: var(--radius);
}

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

/* Misión, Visión y Valores */
.mvv-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 32px;
    margin-bottom: 96px;
}

.mvv-card {
    text-align: center;
    padding: 32px;
    background-color: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

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

.mvv-icon {
    font-size: 40px;
    margin-bottom: 16px;
}

.mvv-card h3 {
    font-size: 18px;
    font-weight: 500;
    margin-bottom: 16px;
}

.mvv-card p {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.8;
}

/* Values Section */
.values-section {
    background-color: var(--secondary);
    padding: 48px;
    border-radius: var(--radius);
    margin-bottom: 96px;
}

.values-section h3 {
    font-size: 28px;
    font-weight: 300;
    text-align: center;
    margin-bottom: 48px;
}

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

.value-item {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.value-icon {
    font-size: 32px;
    margin-bottom: 16px;
}

.value-item h4 {
    font-size: 16px;
    font-weight: 500;
    margin-bottom: 12px;
}

.value-item p {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.8;
}

/* Commitment */
.commitment {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.commitment h3 {
    font-size: 28px;
    font-weight: 300;
    margin-bottom: 24px;
}

.commitment p {
    font-size: 16px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
    line-height: 1.8;
}

/* Footer */
.footer {
    background-color: var(--secondary);
    border-top: 1px solid var(--border);
    padding: 48px 20px 24px;
}

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

.footer-col h3,
.footer-col h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 16px;
}

.footer-col p {
    font-size: 13px;
    color: var(--muted-foreground);
    line-height: 1.8;
}

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

.footer-col ul li {
    margin-bottom: 8px;
}

.footer-col a {
    font-size: 13px;
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-col a:hover {
    color: var(--foreground);
}

.footer-bottom {
    text-align: center;
    padding-top: 24px;
    border-top: 1px solid var(--border);
    font-size: 13px;
    color: var(--muted-foreground);
}

/* Animaciones */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }

    .nav-desktop {
        display: none;
    }

    .hidden-mobile {
        display: none !important;
    }

    .hero {
        height: 80vh;
        margin-top: 64px;
    }

    .hero-title {
        font-size: 32px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }

    .section {
        padding: 64px 20px;
    }

    .section-header h2 {
        font-size: 28px;
    }

    .product-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 16px;
    }

    .about-hero {
        grid-template-columns: 1fr;
        gap: 32px;
    }

    .about-content h2 {
        font-size: 28px;
    }

    .mvv-grid {
        grid-template-columns: 1fr;
    }

    .values-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .header-container {
        height: 56px;
    }

    .logo {
        font-size: 14px;
    }

    .hero-title {
        font-size: 24px;
    }

    .hero-description {
        font-size: 14px;
    }

    .section {
        padding: 48px 16px;
    }

    .section-header h2 {
        font-size: 24px;
    }

    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .product-card h3 {
        font-size: 12px;
    }

    .product-card .price {
        font-size: 12px;
    }
}


/* Contact Form */
/* Contact Container */
.contact-container {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 60px;
    align-items: start;
}

/* Contact Info Cards */
.contact-info {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.info-card {
    display: flex;
    gap: 20px;
    padding: 24px;
    background: linear-gradient(135deg, #f5f5f5 0%, #ffffff 100%);
    border-radius: 12px;
    border: 1px solid var(--border);
    transition: all 0.3s ease;
}

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

.info-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #000000 0%, #333333 100%);
    color: white;
    border-radius: 12px;
    font-size: 24px;
    flex-shrink: 0;
}

.info-content h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 12px;
    color: var(--foreground);
}

.info-content p {
    font-size: 14px;
    color: var(--muted-foreground);
    line-height: 1.8;
}

.info-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s ease;
}

.info-content a:hover {
    color: #333333;
    text-decoration: underline;
}

/* Contact Form Wrapper */
.contact-form-wrapper {
    background: linear-gradient(135deg, #ffffff 0%, #f9f9f9 100%);
    padding: 40px;
    border-radius: 12px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

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

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

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

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--foreground);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group label i {
    color: var(--primary);
    font-size: 16px;
}

.form-group input,
.form-group select,
.form-group textarea {
    padding: 14px 16px;
    border: 2px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    font-family: inherit;
    transition: all 0.3s ease;
    background-color: var(--background);
    color: var(--foreground);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(0, 0, 0, 0.08);
    background-color: #fafafa;
}

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

.form-group textarea {
    resize: vertical;
    min-height: 140px;
    font-family: inherit;
}

.checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-size: 13px;
    cursor: pointer;
    margin-bottom: 0;
    color: var(--muted-foreground);
}

.checkbox-label input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    margin: 2px 0 0 0;
    accent-color: var(--primary);
}

.btn.full-width {
    width: 100%;
    padding: 14px 24px;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    margin-top: 10px;
}

.btn.full-width:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.15);
}

.form-message {
    text-align: center;
    padding: 16px;
    border-radius: 8px;
    font-size: 14px;
    display: none;
    margin-top: 10px;
    font-weight: 500;
}

.form-message.success {
    display: block;
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.form-message.error {
    display: block;
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

@media (max-width: 768px) {
    .contact-form {
        gap: 16px;
    }

    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 10px 12px;
        font-size: 16px;
    }
}
