/**
 * TALLERES BRELL - Garage Profesional
 * Diseño automotriz auténtico - Sin dependencias externas
 */

/* ========================================
   Variables y Reset
   ======================================== */

:root {
    --primary: #1a3a5c;
    --secondary: #2d4a6f;
    --accent: #e63946;
    --dark: #1a1a1d;
    --gray: #4a4a4e;
    --light: #f5f5f5;
    --white: #ffffff;
    --black: #000000;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Barlow', system-ui, -apple-system, sans-serif;
    background-color: var(--light);
    color: var(--dark);
    line-height: 1.6;
    overflow-x: hidden;
}

::selection {
    background: var(--accent);
    color: var(--white);
}

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

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

/* ========================================
   Utility Classes
   ======================================== */

/* Flexbox */
.flex { display: flex; }
.flex-col { flex-direction: column; }
.items-center { align-items: center; }
.items-start { align-items: flex-start; }
.justify-center { justify-content: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-3 { gap: 0.75rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.gap-8 { gap: 2rem; }
.gap-12 { gap: 3rem; }
.gap-16 { gap: 4rem; }

/* Grid */
.grid { display: grid; }
.grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
.grid-cols-3 { grid-template-columns: repeat(3, 1fr); }

/* Spacing */
.py-2 { padding-top: 0.5rem; padding-bottom: 0.5rem; }
.py-3 { padding-top: 0.75rem; padding-bottom: 0.75rem; }
.py-4 { padding-top: 1rem; padding-bottom: 1rem; }
.py-12 { padding-top: 3rem; padding-bottom: 3rem; }
.py-20 { padding-top: 5rem; padding-bottom: 5rem; }
.px-4 { padding-left: 1rem; padding-right: 1rem; }
.px-6 { padding-left: 1.5rem; padding-right: 1.5rem; }
.px-8 { padding-left: 2rem; padding-right: 2rem; }
.p-6 { padding: 1.5rem; }
.p-8 { padding: 2rem; }
.pt-8 { padding-top: 2rem; }
.pb-4 { padding-bottom: 1rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 0.75rem; }
.mb-4 { margin-bottom: 1rem; }
.mb-6 { margin-bottom: 1.5rem; }
.mb-8 { margin-bottom: 2rem; }
.mb-16 { margin-bottom: 4rem; }
.mt-8 { margin-top: 2rem; }
.mt-10 { margin-top: 2.5rem; }
.-mr-6 { margin-right: -1.5rem; }

/* Width/Height */
.w-4 { width: 1rem; }
.w-5 { width: 1.25rem; }
.w-6 { width: 1.5rem; }
.w-10 { width: 2.5rem; }
.w-12 { width: 3rem; }
.w-16 { width: 4rem; }
.w-20 { width: 5rem; }
.h-4 { height: 1rem; }
.h-5 { height: 1.25rem; }
.h-6 { height: 1.5rem; }
.h-10 { height: 2.5rem; }
.h-12 { height: 3rem; }
.h-16 { height: 4rem; }
.h-20 { height: 5rem; }
.h-48 { height: 12rem; }
.h-full { height: 100%; }
.h-auto { height: auto; }
.min-h-screen { min-height: 100vh; }

/* Max Width */
.max-w-xl { max-width: 36rem; }
.max-w-2xl { max-width: 42rem; }
.max-w-7xl { max-width: 80rem; }
.mx-auto { margin-left: auto; margin-right: auto; }

/* Text */
.text-xs { font-size: 0.75rem; }
.text-sm { font-size: 0.875rem; }
.text-lg { font-size: 1.125rem; }
.text-xl { font-size: 1.25rem; }
.text-2xl { font-size: 1.5rem; }
.text-3xl { font-size: 1.875rem; }
.text-4xl { font-size: 2.25rem; }
.text-5xl { font-size: 3rem; }
.text-6xl { font-size: 3.75rem; }
.text-7xl { font-size: 4.5rem; }

.font-medium { font-weight: 500; }
.font-semibold { font-weight: 600; }
.font-bold { font-weight: 700; }
.font-black { font-weight: 900; }

.tracking-tight { letter-spacing: -0.025em; }
.tracking-tighter { letter-spacing: -0.05em; }
.tracking-wider { letter-spacing: 0.05em; }

.text-center { text-align: center; }
.leading-tight { line-height: 1.25; }
.leading-relaxed { line-height: 1.625; }

.uppercase { text-transform: uppercase; }

/* Colors */
.text-white { color: var(--white); }
.text-dark { color: var(--dark); }
.text-gray { color: var(--gray); }
.text-gray-300 { color: #d1d5db; }
.text-gray-400 { color: #9ca3af; }
.text-primary { color: var(--primary); }
.text-accent { color: var(--accent); }

.bg-white { background-color: var(--white); }
.bg-dark { background-color: var(--dark); }
.bg-light { background-color: var(--light); }
.bg-primary { background-color: var(--primary); }
.bg-accent { background-color: var(--accent); }
.bg-gray-200 { background-color: #e5e7eb; }

/* Border */
.border { border-width: 1px; }
.border-2 { border-width: 2px; }
.border-4 { border-width: 4px; }
.border-t { border-top-width: 1px; }
.border-l-4 { border-left-width: 4px; }
.border-primary { border-color: var(--primary); }
.border-accent { border-color: var(--accent); }
.border-white { border-color: var(--white); }
.border-white/10 { border-color: rgba(255, 255, 255, 0.1); }
.border-white/20 { border-color: rgba(255, 255, 255, 0.2); }
.border-gray-200 { border-color: #e5e7eb; }

/* Rounded */
.rounded { border-radius: 0.375rem; }
.rounded-lg { border-radius: 0.5rem; }
.rounded-full { border-radius: 9999px; }

/* Shadow */
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }
.shadow-2xl { box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25); }
.shadow-md { box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1); }

/* Position */
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.inset-0 { top: 0; right: 0; bottom: 0; left: 0; }
.top-0 { top: 0; }
.bottom-0 { bottom: 0; }
.left-0 { left: 0; }
.right-0 { right: 0; }
.z-0 { z-index: 0; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }

/* Overflow */
.overflow-hidden { overflow: hidden; }

/* Transform */
.transform { transform: translateX(var(--tw-translate-x, 0)) translateY(var(--tw-translate-y, 0)); }
.translate-x-full { --tw-translate-x: 100%; transform: translateX(100%); }

/* Transition */
.transition-all { transition: all 0.3s ease; }
.transition-colors { transition: color 0.3s ease, background-color 0.3s ease, border-color 0.3s ease; }
.transition-transform { transition: transform 0.3s ease; }
.transition-opacity { transition: opacity 0.3s ease; }
.duration-300 { transition-duration: 300ms; }
.duration-500 { transition-duration: 500ms; }
.duration-700 { transition-duration: 700ms; }

/* Opacity */
.opacity-0 { opacity: 0; }
.opacity-25 { opacity: 0.25; }
.opacity-75 { opacity: 0.75; }

/* Cursor */
.cursor-pointer { cursor: pointer; }

/* Aspect Ratio */
.aspect-square { aspect-ratio: 1 / 1; }

/* Object Fit */
.object-cover { object-fit: cover; }

/* Flex Shrink */
.flex-shrink-0 { flex-shrink: 0; }

/* Space Y */
.space-y-2 > * + * { margin-top: 0.5rem; }
.space-y-6 > * + * { margin-top: 1.5rem; }

/* ========================================
   Top Bar
   ======================================== */

.top-bar {
    background-color: var(--primary);
    color: var(--white);
    padding-top: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.top-bar a {
    transition: color 0.3s ease;
}

.top-bar a:hover {
    color: var(--accent);
}

/* ========================================
   Navigation
   ======================================== */

.main-nav {
    background-color: var(--white);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    position: sticky;
    top: 0;
    z-index: 50;
    transition: all 0.3s ease;
}

.main-nav.scrolled {
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
}

.logo:hover .logo-icon {
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.nav-link {
    position: relative;
    padding: 0.5rem 0;
    font-weight: 600;
    color: var(--dark);
    transition: color 0.3s ease;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--accent);
    transition: width 0.3s ease;
}

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

/* Mobile Menu Button */
.menu-btn {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-btn span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--dark);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -6px);
}

/* Mobile Menu */
.mobile-menu {
    background: rgba(26, 26, 29, 0.98);
    transition: transform 0.3s ease;
}

.mobile-link {
    font-weight: 700;
    color: var(--white);
    transition: color 0.3s ease;
}

.mobile-link:hover {
    color: var(--accent);
}

/* ========================================
   Buttons
   ======================================== */

.btn-primary,
.btn-contact {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-primary:hover,
.btn-contact:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.4);
}

.btn-secondary {
    display: inline-block;
    text-decoration: none;
    transition: all 0.3s ease;
    background: transparent;
    border: 2px solid var(--white);
    color: var(--white);
}

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

/* ========================================
   Hero Section
   ======================================== */

.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    overflow: visible;
    padding-bottom: 80px;
}

.hero > div.z-0 img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.4);
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    margin-bottom: 1.5rem;
    animation: fadeInDown 0.8s ease forwards;
    opacity: 0;
    transform: translateY(-20px);
}

.hero-title {
    font-size: 3rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    color: var(--white);
    text-shadow: 3px 3px 6px rgba(0, 0, 0, 0.8);
    animation: fadeInLeft 0.8s ease 0.2s forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.hero-title .text-accent {
    display: block;
    color: var(--accent);
}

.hero-text {
    font-size: 1.125rem;
    color: #ffffff;
    margin-bottom: 2rem;
    max-width: 36rem;
    line-height: 1.625;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    animation: fadeInLeft 0.8s ease 0.3s forwards;
    opacity: 0;
    transform: translateX(-30px);
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    animation: fadeInUp 0.8s ease 0.4s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-features {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    margin-top: 2.5rem;
    animation: fadeInUp 0.8s ease 0.5s forwards;
    opacity: 0;
    transform: translateY(30px);
}

.hero-visual {
    animation: fadeInRight 1s ease 0.6s forwards;
    opacity: 0;
    transform: translateX(50px);
}

@keyframes fadeInDown {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Hero Image Grid */
.hero-image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    perspective: 1000px;
}

.hero-image-grid > div:first-child {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.hero-image-grid > div:last-child {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
}

.hero-img-1,
.hero-img-4 {
    animation: floatImage1 6s ease-in-out infinite;
}

.hero-img-2,
.hero-img-3 {
    animation: floatImage2 6s ease-in-out infinite;
    animation-delay: -3s;
}

@keyframes floatImage1 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes floatImage2 {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(-1deg);
    }
}

/* Wave Divider */
.wave-divider {
    margin-top: -80px;
    position: relative;
    z-index: 10;
}

.wave-divider svg {
    display: block;
    width: 100%;
    height: 80px;
}

/* Feature Item */
.feature-item {
    text-align: left;
}

.feature-item .text-3xl {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--accent);
}

.feature-item .text-sm {
    font-size: 0.875rem;
    color: #9ca3af;
    font-weight: 500;
}

/* ========================================
   Sections
   ======================================== */

.section {
    position: relative;
}

#servicios {
    padding-top: 3rem;
    padding-bottom: 5rem;
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-badge {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--primary);
    color: var(--white);
    font-weight: 700;
    font-size: 0.875rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(26, 58, 92, 0.3);
}

.section-title {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    text-transform: uppercase;
}

.section-divider {
    width: 6rem;
    height: 0.25rem;
    background: var(--accent);
    margin: 1.5rem auto;
}

.section-text {
    color: #555555;
    max-width: 42rem;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.75;
}

/* ========================================
   Service Cards
   ======================================== */

.service-card {
    background: var(--white) !important;
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid #e5e7eb;
    opacity: 1 !important;
}

.service-icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.5s ease;
    background: linear-gradient(to bottom right, var(--primary), var(--secondary));
}

.service-icon-wrapper svg {
    transition: all 0.3s ease;
    width: 6rem;
    height: 6rem;
}

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

.service-card:hover .service-icon-wrapper svg {
    opacity: 1;
}

.service-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.service-card.group .service-image img {
    transition: transform 0.5s ease;
}

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

.service-image {
    position: relative;
    overflow: hidden;
    height: 12rem;
}

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

.service-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

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

.service-content {
    padding: 1.5rem;
    background: var(--white);
}

.service-content h3 {
    font-size: 1.25rem;
    font-weight: 900;
    color: #1a1a1d !important;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.service-content p {
    color: #555555 !important;
    margin-bottom: 1rem;
    line-height: 1.625;
    font-size: 0.95rem;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    transition: color 0.3s ease, gap 0.3s ease;
}

.service-card:hover .service-link {
    color: var(--accent);
    gap: 0.75rem;
}

.service-link svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   About Section
   ======================================== */

.about-images {
    position: relative;
}

.about-main-image {
    border-radius: 0.5rem;
    overflow: hidden;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

.about-badge {
    position: absolute;
    bottom: -1.5rem;
    right: -1.5rem;
    background: var(--accent);
    color: var(--white);
    padding: 1.5rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 40px rgba(230, 57, 70, 0.4);
    animation: pulse 3s ease-in-out infinite;
    text-align: center;
}

.about-badge .text-4xl {
    font-size: 2.25rem;
    font-weight: 900;
    display: block;
}

.about-badge .text-sm {
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 10px 40px rgba(230, 57, 70, 0.4);
    }
    50% {
        box-shadow: 0 10px 60px rgba(230, 57, 70, 0.6);
    }
}

.about-content h2 {
    font-size: 2.25rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.about-content p {
    color: var(--gray);
    font-size: 1.125rem;
    margin-bottom: 1.5rem;
    line-height: 1.625;
}

.about-content p strong {
    font-weight: 700;
}

.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.about-features .feature {
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    transition: transform 0.3s ease;
}

.about-features .feature:hover {
    transform: translateX(10px);
}

.about-features .feature > div:first-child {
    width: 1.5rem;
    height: 1.5rem;
    border-radius: 9999px;
    background: var(--accent);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.about-features .feature svg {
    width: 1rem;
    height: 1rem;
    color: var(--white);
}

.about-features .feature .font-bold {
    font-weight: 700;
    color: var(--dark);
}

.about-features .feature .text-sm {
    font-size: 0.875rem;
    color: var(--gray);
}

/* ========================================
   Gallery Section
   ======================================== */

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1 / 1;
    border-radius: 0.5rem;
    overflow: hidden;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

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

.gallery-item::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(26, 26, 29, 0.5);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.gallery-item:hover::before {
    opacity: 1;
}

.gallery-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(26, 26, 29, 0.9) 0%, rgba(26, 26, 29, 0.5) 50%, transparent 100%);
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 2;
    display: flex;
    align-items: flex-end;
    padding: 1.5rem;
}

.gallery-item:hover .gallery-overlay {
    opacity: 1;
}

.gallery-overlay h4 {
    font-size: 1.125rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 0.25rem;
}

.gallery-overlay p {
    font-size: 0.875rem;
    color: #9ca3af;
}

/* ========================================
   Contact Section
   ======================================== */

.contact-info {
    /* Container styles */
}

.info-card {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    margin-bottom: 0;
}

.info-card h3 {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--dark);
    margin-bottom: 1.5rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateX(10px);
}

.contact-item > div:first-child {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.contact-item:hover > div:first-child {
    transform: scale(1.1);
}

.contact-item svg {
    width: 1.5rem;
    height: 1.5rem;
    color: var(--white);
}

.contact-item .text-sm {
    font-size: 0.875rem;
    color: var(--gray);
    font-weight: 500;
    text-transform: uppercase;
}

.contact-item .font-bold {
    font-weight: 700;
    color: var(--dark);
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e5e7eb;
}

.social-links a {
    width: 3rem;
    height: 3rem;
    border-radius: 0.5rem;
    background: var(--primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--accent);
    transform: translateY(-3px);
}

.social-links svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* Contact Form */
.contact-form-wrapper {
    /* Container */
}

.contact-form {
    background: var(--white);
    padding: 2rem;
    border-radius: 0.5rem;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
}

.contact-form label {
    display: block;
    font-size: 0.875rem;
    font-weight: 700;
    color: var(--dark);
    margin-bottom: 0.5rem;
}

.form-input {
    width: 100%;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    border: 2px solid #e5e7eb;
    font-family: inherit;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(26, 58, 92, 0.1);
    outline: none;
}

.form-input::placeholder {
    color: #9ca3af;
}

select.form-input {
    cursor: pointer;
}

textarea.form-input {
    resize: vertical;
}

.contact-form button[type="submit"] {
    width: 100%;
    padding: 1rem;
    background: var(--accent);
    color: var(--white);
    font-weight: 700;
    font-size: 1.125rem;
    border-radius: 0.5rem;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.contact-form button[type="submit"]:hover {
    background: #c92a37;
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(230, 57, 70, 0.4);
}

.contact-form button[type="submit"] svg {
    width: 1.25rem;
    height: 1.25rem;
}

/* ========================================
   Footer
   ======================================== */

.footer {
    background: var(--dark);
    color: var(--white);
    padding: 3rem 0;
    border-top: 3px solid var(--accent);
}

.footer h4 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer p {
    color: #9ca3af;
    font-size: 0.875rem;
}

.footer ul {
    list-style: none;
}

.footer ul li {
    margin-bottom: 0.5rem;
}

.footer a {
    color: #9ca3af;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

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

.footer .border-t {
    border-top: 1px solid #374151;
    padding-top: 2rem;
    text-align: center;
}

/* ========================================
   GSAP Animation Classes
   ======================================== */

.reveal-up {
    opacity: 0;
    transform: translateY(60px);
}

.reveal-scale {
    opacity: 0;
    transform: scale(0.9);
}

.stagger-delay {
    opacity: 0;
}

/* ========================================
   Responsive Design
   ======================================== */

/* Tablet and up */
@media (min-width: 768px) {
    .md\:flex { display: flex; }
    .md\:hidden { display: none; }
    .md\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .md\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .md\:text-5xl { font-size: 3rem; }
    .md\:text-6xl { font-size: 3.75rem; }
}

/* Desktop */
@media (min-width: 1024px) {
    .lg\:block { display: block; }
    .lg\:flex { display: flex; }
    .lg\:hidden { display: none; }
    .lg\:grid-cols-2 { grid-template-columns: repeat(2, 1fr); }
    .lg\:grid-cols-3 { grid-template-columns: repeat(3, 1fr); }
    .lg\:text-7xl { font-size: 4.5rem; }
}

/* Mobile first responsive fixes */
@media (max-width: 1023px) {
    .lg\:block,
    .lg\:flex,
    .lg\:hidden {
        display: none;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-visual {
        display: none;
    }
}

@media (max-width: 767px) {
    .md\:flex,
    .md\:hidden {
        display: none;
    }

    .menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.75rem;
    }

    .hero-features {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .top-bar {
        display: none;
    }

    .about-features {
        grid-template-columns: 1fr;
    }

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

    .grid.md\:grid-cols-2 {
        grid-template-columns: 1fr;
    }

    .contact-item .text-sm {
        text-transform: none;
    }
}

/* ========================================
   Smooth Scroll
   ======================================== */

section[id] {
    scroll-margin-top: 140px;
}

/* ========================================
   Animaciones Spin (para loading)
   ======================================== */

@keyframes spin {
    to { transform: rotate(360deg); }
}

.animate-spin {
    animation: spin 1s linear infinite;
}
