/* ========================================
   BZ INGENIERÍA - STYLES
   ======================================== */

/* ========================================
   CSS VARIABLES
   ======================================== */
:root {
    /* Colors */
    --primary-color: #0066cc;
    --primary-dark: #004d99;
    --primary-light: #3385d6;
    --secondary-color: #1a1a1a;
    --accent-color: #ff6600;
    --whatsapp-color: #25D366;
    --phone-color: #0066cc;
    
    /* Grays */
    --gray-50: #f8f9fa;
    --gray-100: #f1f3f5;
    --gray-200: #e9ecef;
    --gray-300: #dee2e6;
    --gray-400: #ced4da;
    --gray-500: #adb5bd;
    --gray-600: #6c757d;
    --gray-700: #495057;
    --gray-800: #343a40;
    --gray-900: #212529;
    
    /* Text */
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-light: #ffffff;
    
    /* Background */
    --bg-light: #ffffff;
    --bg-gray: #f8f9fa;
    --bg-dark: #1a1a1a;
    
    /* Spacing */
    --container-width: 1400px;
    --section-padding: 100px;
    --section-padding-mobile: 60px;
    
    /* Typography */
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    --font-size-base: 16px;
    --line-height-base: 1.6;
    
    /* Transitions */
    --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-base: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.05);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.15);
    --shadow-xl: 0 20px 40px rgba(0, 0, 0, 0.2);
    
    /* Border Radius */
    --radius-sm: 6px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
    --radius-full: 9999px;
    
    /* Z-index */
    --z-dropdown: 100;
    --z-sticky: 200;
    --z-fixed: 300;
    --z-modal-backdrop: 400;
    --z-modal: 500;
    --z-popover: 600;
    --z-tooltip: 700;
}

/* ========================================
   RESET & BASE STYLES
   ======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: var(--font-size-base);
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: var(--font-family);
    line-height: var(--line-height-base);
    color: var(--text-primary);
    background-color: var(--bg-light);
    overflow-x: hidden;
    touch-action: manipulation;
}

body.no-scroll {
    overflow: hidden;
}

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

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

button {
    font-family: inherit;
    border: none;
    background: none;
    cursor: pointer;
    touch-action: manipulation;
}

input,
textarea,
select {
    font-family: inherit;
    font-size: inherit;
}

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

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

.section-title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 16px;
    line-height: 1.2;
}

.section-subtitle {
    font-size: clamp(16px, 2.5vw, 20px);
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

.highlight {
    color: var(--primary-color);
    position: relative;
}

/* ========================================
   BUTTONS
   ======================================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 32px;
    font-size: 16px;
    font-weight: 600;
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    cursor: pointer;
    border: 2px solid transparent;
    min-height: 48px;
    text-align: center;
    white-space: nowrap;
}

.btn--primary {
    background: var(--primary-color);
    color: var(--text-light);
    border-color: var(--primary-color);
}

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

.btn--secondary {
    background: transparent;
    color: var(--primary-color);
    border-color: var(--primary-color);
}

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

.btn--small {
    padding: 10px 24px;
    font-size: 14px;
    min-height: 40px;
}

.btn--large {
    padding: 18px 40px;
    font-size: 18px;
    min-height: 56px;
}

.btn--block {
    width: 100%;
}

/* ========================================
   HEADER / NAVIGATION
   ======================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: var(--z-sticky);
    transition: transform var(--transition-base), box-shadow var(--transition-base);
}

.header.hide {
    transform: translateY(-100%);
}

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

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

.nav__logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
}

.nav__logo i {
    font-size: 28px;
}

.nav__menu {
    display: flex;
    align-items: center;
    gap: 8px;
    list-style: none;
}

.nav__link {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    font-size: 15px;
    font-weight: 500;
    color: var(--text-primary);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    min-height: 48px;
}

.nav__link i {
    font-size: 18px;
    opacity: 0.7;
}

.nav__link:hover,
.nav__link.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.nav__link:hover i,
.nav__link.active i {
    opacity: 1;
}

.nav__toggle {
    display: none;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    font-size: 24px;
    color: var(--primary-color);
    border-radius: var(--radius-sm);
    transition: background var(--transition-base);
    z-index: calc(var(--z-sticky) + 2);
}

.nav__toggle:hover {
    background: var(--gray-100);
}

.nav__backdrop {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
    z-index: calc(var(--z-sticky) + 1);
    opacity: 0;
    transition: opacity var(--transition-base);
}

.nav__backdrop.active {
    opacity: 1;
}

/* ========================================
   HERO SECTION
   ======================================== */
.hero {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 120px 20px 80px;
    background: linear-gradient(135deg, #0066cc 0%, #004d99 100%);
    color: var(--text-light);
    text-align: center;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    z-index: 1;
}

.hero__content {
    position: relative;
    z-index: 2;
    max-width: 900px;
    animation: fadeInUp 1s ease-out;
}

.hero__title {
    font-size: clamp(36px, 7vw, 72px);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 24px;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.hero__subtitle {
    font-size: clamp(20px, 3vw, 28px);
    font-weight: 600;
    margin-bottom: 16px;
    opacity: 0.95;
}

.hero__description {
    font-size: clamp(16px, 2vw, 18px);
    margin-bottom: 40px;
    opacity: 0.85;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.hero__scroll {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-down {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.5);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 20px;
    animation: bounce 2s infinite;
    transition: all var(--transition-base);
}

.scroll-down:hover {
    border-color: var(--text-light);
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   ABOUT SECTION
   ======================================== */
.about {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.about__content {
    display: grid;
    gap: 40px;
}

.about__text {
    display: grid;
    gap: 30px;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.about__card {
    padding: 40px;
    background: var(--bg-gray);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.about__card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
}

.about__icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-size: 28px;
    margin-bottom: 20px;
}

.about__card h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.about__card p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* ========================================
   SERVICES SECTION
   ======================================== */
.services {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.services__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.service__card {
    padding: 40px 32px;
    background: var(--bg-light);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.service__card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-color) 0%, var(--primary-light) 100%);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition-base);
}

.service__card:hover {
    transform: translateY(-12px);
    box-shadow: var(--shadow-xl);
}

.service__card:hover::before {
    transform: scaleX(1);
}

.service__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-light) 100%);
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-size: 36px;
    margin-bottom: 24px;
    transition: all var(--transition-base);
}

.service__card:hover .service__icon {
    transform: scale(1.1) rotate(5deg);
}

.service__title {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.service__description {
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 20px;
}

.service__features {
    list-style: none;
}

.service__features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-secondary);
    font-size: 15px;
}

.service__features i {
    color: var(--primary-color);
    font-size: 14px;
}

/* ========================================
   GALLERY SECTION
   ======================================== */
.gallery {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.gallery__filters {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 50px;
    flex-wrap: wrap;
    padding: 0 20px;
}

.filter-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border: 2px solid var(--primary-color);
    background: transparent;
    color: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-base);
    min-height: 48px;
    white-space: nowrap;
}

.filter-btn:hover {
    background: var(--primary-light);
    border-color: var(--primary-light);
    color: var(--text-light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.filter-btn.active {
    background: var(--primary-color);
    color: var(--text-light);
}

.filter-btn i {
    font-size: 18px;
}

.filter-count {
    opacity: 0.8;
    font-size: 14px;
}

.gallery__grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    max-width: var(--container-width);
    margin: 0 auto;
}

.gallery__item {
    position: relative;
    overflow: hidden;
    border-radius: var(--radius-md);
    cursor: pointer;
    aspect-ratio: 4/3;
    background: var(--gray-200);
    transition: all var(--transition-base);
    opacity: 1;
    transform: scale(1);
}

.gallery__item.hide {
    opacity: 0;
    transform: scale(0.8);
    position: absolute;
    pointer-events: none;
}

.gallery__item:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-xl);
}

.gallery__item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

.gallery__item:hover img {
    transform: scale(1.1);
}

.gallery__overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 0.4) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    text-align: center;
    color: var(--text-light);
}

.gallery__item:hover .gallery__overlay {
    opacity: 1;
}

.gallery__badge {
    position: absolute;
    top: 16px;
    right: 16px;
    padding: 6px 16px;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery__title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    transform: translateY(20px);
    transition: transform var(--transition-base);
}

.gallery__subtitle {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 20px;
    transform: translateY(20px);
    transition: transform var(--transition-base) 0.1s;
}

.gallery__icon {
    font-size: 48px;
    opacity: 0.9;
    transform: translateY(20px);
    transition: transform var(--transition-base) 0.2s;
}

.gallery__item:hover .gallery__title,
.gallery__item:hover .gallery__subtitle,
.gallery__item:hover .gallery__icon {
    transform: translateY(0);
}

/* ========================================
   LIGHTBOX
   ======================================== */
.lightbox {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.95);
    z-index: var(--z-modal);
    display: none;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity var(--transition-base);
    padding: 20px;
}

.lightbox.active {
    display: flex;
    opacity: 1;
}

.lightbox__close {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: calc(var(--z-modal) + 2);
}

.lightbox__close:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: rotate(90deg);
}

.lightbox__nav {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 24px;
    cursor: pointer;
    transition: all var(--transition-base);
    z-index: calc(var(--z-modal) + 1);
}

.lightbox__nav:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.lightbox__nav:active {
    transform: translateY(-50%) scale(0.95);
}

.lightbox__prev {
    left: 20px;
}

.lightbox__next {
    right: 20px;
}

.lightbox__content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: zoomIn 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.lightbox__image {
    max-width: 100%;
    max-height: 75vh;
    object-fit: contain;
    border-radius: var(--radius-md);
    transition: transform var(--transition-base);
    cursor: zoom-in;
    user-select: none;
    -webkit-user-drag: none;
}

.lightbox__image.zoomed {
    transform: scale(2);
    cursor: grab;
}

.lightbox__image.zoomed:active {
    cursor: grabbing;
}

.lightbox__info {
    margin-top: 30px;
    padding: 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-md);
    color: var(--text-light);
    max-width: 600px;
    text-align: center;
    animation: fadeInUp 0.4s ease-out 0.2s both;
}

.lightbox__counter {
    font-size: 14px;
    font-weight: 600;
    opacity: 0.7;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.lightbox__title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.lightbox__description {
    font-size: 16px;
    opacity: 0.9;
    margin-bottom: 16px;
    line-height: 1.6;
}

.lightbox__category {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 20px;
    background: var(--primary-color);
    border-radius: var(--radius-full);
    font-size: 14px;
    font-weight: 600;
}

.lightbox__zoom {
    position: absolute;
    bottom: -70px;
    left: 50%;
    transform: translateX(-50%);
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-base);
}

.lightbox__zoom:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateX(-50%) scale(1.1);
}

.lightbox__instructions {
    position: fixed;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 14px;
    opacity: 0.7;
    white-space: nowrap;
}

/* ========================================
   BRANDS SECTION
   ======================================== */
.brands {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.brands__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 30px;
}

.brand__item {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: var(--bg-gray);
    border-radius: var(--radius-md);
    transition: all var(--transition-base);
    min-height: 120px;
}

.brand__item:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    background: var(--bg-light);
}

.brand__logo {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    letter-spacing: 1px;
}

/* ========================================
   STATS SECTION
   ======================================== */
.stats {
    padding: var(--section-padding) 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--primary-dark) 100%);
    color: var(--text-light);
}

.stats__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 40px;
}

.stat__item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 30px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
}

.stat__item:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-8px);
}

.stat__icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-full);
    font-size: 36px;
    margin-bottom: 20px;
}

.stat__number {
    font-size: 48px;
    font-weight: 900;
    line-height: 1;
    margin-bottom: 8px;
}

.stat__label {
    font-size: 16px;
    font-weight: 500;
    opacity: 0.9;
}

/* ========================================
   CTA SECTION
   ======================================== */
.cta {
    padding: var(--section-padding) 0;
    background: var(--bg-gray);
}

.cta__content {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.cta__title {
    font-size: clamp(32px, 5vw, 48px);
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.cta__subtitle {
    font-size: clamp(18px, 2.5vw, 22px);
    color: var(--text-secondary);
    margin-bottom: 40px;
}

.cta__buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* ========================================
   CONTACT SECTION
   ======================================== */
.contact {
    padding: var(--section-padding) 0;
    background: var(--bg-light);
}

.contact__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 60px;
}

.contact__info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.contact__item {
    display: flex;
    gap: 20px;
}

.contact__icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--radius-md);
    font-size: 24px;
    flex-shrink: 0;
}

.contact__details h3 {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.contact__details p,
.contact__details a {
    color: var(--text-secondary);
    line-height: 1.6;
}

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

.contact__form {
    display: grid;
    gap: 24px;
}

.form__group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.form__group--full {
    grid-column: 1 / -1;
}

.form__label {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-primary);
}

.form__input,
.form__textarea {
    padding: 14px 20px;
    font-size: 16px;
    border: 2px solid var(--gray-300);
    border-radius: var(--radius-md);
    background: var(--bg-light);
    color: var(--text-primary);
    transition: all var(--transition-base);
    min-height: 50px;
}

.form__input:focus,
.form__textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(0, 102, 204, 0.1);
}

.form__input.error {
    border-color: #dc3545;
}

.form__error {
    font-size: 13px;
    color: #dc3545;
    display: none;
}

.form__error.show {
    display: block;
}

.form__textarea {
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
}

/* ========================================
   FOOTER
   ======================================== */
.footer {
    padding: 80px 0 30px;
    background: var(--bg-dark);
    color: var(--text-light);
}

.footer__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer__title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 16px;
    color: var(--primary-light);
}

.footer__text {
    color: var(--gray-400);
    line-height: 1.8;
    margin-bottom: 24px;
}

.footer__social {
    display: flex;
    gap: 12px;
}

.footer__social a {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 18px;
    transition: all var(--transition-base);
}

.footer__social a:hover {
    background: var(--primary-color);
    transform: translateY(-4px);
}

.footer__subtitle {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
}

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

.footer__links a,
.footer__contact a {
    color: var(--gray-400);
    transition: color var(--transition-base);
}

.footer__links a:hover {
    color: var(--primary-light);
    padding-left: 8px;
}

.footer__contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    color: var(--gray-400);
}

.footer__contact i {
    color: var(--primary-light);
    margin-top: 4px;
    flex-shrink: 0;
}

.footer__bottom {
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: var(--gray-500);
    font-size: 14px;
}

.footer__bottom p {
    margin: 8px 0;
}

/* ========================================
   FLOATING BUTTONS
   ======================================== */
.floating-buttons {
    position: fixed;
    bottom: 30px;
    right: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: var(--z-fixed);
}

.floating-btn {
    position: relative;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: var(--radius-full);
    color: var(--text-light);
    font-size: 24px;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    cursor: pointer;
}

.floating-btn:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-xl);
}

.floating-btn--whatsapp {
    background: var(--whatsapp-color);
    animation: pulse 2s infinite;
}

.floating-btn--phone {
    width: 56px;
    height: 56px;
    background: var(--phone-color);
    font-size: 22px;
}

.floating-btn--scroll {
    width: 56px;
    height: 56px;
    background: var(--secondary-color);
    font-size: 22px;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
}

.floating-btn--scroll.show {
    opacity: 1;
    visibility: visible;
}

.floating-btn__tooltip {
    position: absolute;
    right: calc(100% + 15px);
    background: var(--bg-dark);
    color: var(--text-light);
    padding: 8px 16px;
    border-radius: var(--radius-md);
    font-size: 14px;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transition: all var(--transition-base);
    pointer-events: none;
}

.floating-btn__tooltip::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--bg-dark);
}

.floating-btn:hover .floating-btn__tooltip {
    opacity: 1;
    visibility: visible;
}

/* ========================================
   NOTIFICATION TOAST
   ======================================== */
.notification {
    position: fixed;
    top: 100px;
    right: 30px;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 24px;
    background: var(--bg-light);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-xl);
    z-index: var(--z-popover);
    transform: translateX(calc(100% + 30px));
    transition: transform var(--transition-base);
    max-width: 400px;
}

.notification.show {
    transform: translateX(0);
}

.notification__icon {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #28a745;
    color: var(--text-light);
    border-radius: var(--radius-full);
    font-size: 20px;
    flex-shrink: 0;
}

.notification__content {
    flex: 1;
}

.notification__message {
    color: var(--text-primary);
    font-size: 15px;
    line-height: 1.5;
}

.notification__close {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gray-600);
    border-radius: var(--radius-full);
    transition: all var(--transition-base);
    flex-shrink: 0;
}

.notification__close:hover {
    background: var(--gray-100);
    color: var(--text-primary);
}

/* ========================================
   ANIMATIONS
   ======================================== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes zoomIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(37, 211, 102, 0.7);
    }
    50% {
        box-shadow: 0 0 0 15px rgba(37, 211, 102, 0);
    }
}

@keyframes slideInRight {
    from {
        transform: translateX(100%);
    }
    to {
        transform: translateX(0);
    }
}

/* ========================================
   RESPONSIVE - TABLET
   ======================================== */
@media (max-width: 1023px) {
    :root {
        --section-padding: 80px;
    }
    
    .gallery__grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .lightbox__nav {
        width: 48px;
        height: 48px;
        font-size: 20px;
    }
    
    .lightbox__prev {
        left: 10px;
    }
    
    .lightbox__next {
        right: 10px;
    }
}

/* ========================================
   RESPONSIVE - MOBILE
   ======================================== */
@media (max-width: 767px) {
    :root {
        --section-padding: 60px;
    }
    
    /* Navigation */
    .nav__menu {
        position: fixed;
        top: 0;
        right: 0;
        width: 280px;
        height: 100vh;
        background: var(--bg-light);
        flex-direction: column;
        align-items: stretch;
        gap: 0;
        padding: 100px 20px 20px;
        transform: translateX(100%);
        transition: transform var(--transition-base);
        box-shadow: var(--shadow-xl);
        z-index: calc(var(--z-sticky) + 1);
        overflow-y: auto;
    }
    
    .nav__menu.active {
        transform: translateX(0);
    }
    
    .nav__item {
        width: 100%;
    }
    
    .nav__link {
        width: 100%;
        padding: 16px 20px;
        border-radius: var(--radius-md);
        justify-content: flex-start;
        min-height: 56px;
    }
    
    .nav__toggle {
        display: flex;
    }
    
    .nav__backdrop {
        display: block;
    }
    
    .nav__backdrop.active {
        display: block;
    }
    
    /* Hero */
    .hero {
        min-height: 70vh;
        padding: 100px 20px 60px;
    }
    
    .hero__buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .hero__buttons .btn {
        width: 100%;
    }
    
    /* Gallery */
    .gallery__filters {
        overflow-x: auto;
        justify-content: flex-start;
        padding: 0 20px;
        margin-bottom: 40px;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
    }
    
    .gallery__filters::-webkit-scrollbar {
        display: none;
    }
    
    .filter-btn {
        flex-shrink: 0;
        padding: 10px 20px;
        font-size: 14px;
    }
    
    .gallery__grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    /* Lightbox */
    .lightbox {
        padding: 10px;
    }
    
    .lightbox__close {
        top: 10px;
        right: 10px;
        width: 44px;
        height: 44px;
        font-size: 20px;
    }
    
    .lightbox__nav {
        width: 44px;
        height: 44px;
        font-size: 18px;
    }
    
    .lightbox__prev {
        left: 10px;
    }
    
    .lightbox__next {
        right: 10px;
    }
    
    .lightbox__content {
        max-width: 100%;
    }
    
    .lightbox__image {
        max-height: 60vh;
    }
    
    .lightbox__info {
        margin-top: 20px;
        padding: 20px;
    }
    
    .lightbox__title {
        font-size: 20px;
    }
    
    .lightbox__description {
        font-size: 14px;
    }
    
    .lightbox__instructions {
        display: none;
    }
    
    /* Floating Buttons */
    .floating-buttons {
        bottom: 20px;
        right: 20px;
        gap: 12px;
    }
    
    .floating-btn {
        width: 56px;
        height: 56px;
        font-size: 22px;
    }
    
    .floating-btn--whatsapp {
        width: 60px;
        height: 60px;
    }
    
    .floating-btn--phone,
    .floating-btn--scroll {
        width: 50px;
        height: 50px;
        font-size: 20px;
    }
    
    .floating-btn__tooltip {
        display: none;
    }
    
    /* Notification */
    .notification {
        top: 90px;
        right: 20px;
        left: 20px;
        max-width: none;
    }
    
    /* Contact Form */
    .contact__grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    
    /* Footer */
    .footer__grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
}

/* ========================================
   PRINT STYLES
   ======================================== */
@media print {
    .header,
    .floating-buttons,
    .notification,
    .lightbox {
        display: none !important;
    }
}

/* ========================================
   ACCESSIBILITY
   ======================================== */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus visible for keyboard navigation */
:focus-visible {
    outline: 3px solid var(--primary-color);
    outline-offset: 2px;
}

/* Screen reader only */
.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border-width: 0;
}