/* =====================================================
   RCE S.R.L. - Modern Industrial Corporate Website
   ===================================================== */

/* CSS Variables */
:root {
    /* Primary Colors - Industrial Yellow & Black */
    --yellow-primary: #FFCD00;
    --yellow-dark: #E5B800;
    --yellow-light: #FFE066;
    --black-primary: #0D0D0D;
    --black-soft: #1A1A1A;
    --black-card: #242424;
    
    /* Neutral Colors */
    --gray-100: #F5F5F5;
    --gray-200: #E5E5E5;
    --gray-300: #D4D4D4;
    --gray-400: #A3A3A3;
    --gray-500: #737373;
    --gray-600: #525252;
    --gray-700: #404040;
    --gray-800: #262626;
    
    /* Functional Colors */
    --white: #FFFFFF;
    --success: #22C55E;
    --whatsapp: #25D366;
    
    /* Typography */
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Barlow Condensed', sans-serif;
    --font-body: 'Barlow', sans-serif;
    
    /* Spacing */
    --section-padding: 120px;
    --container-width: 1280px;
    
    /* Transitions */
    --transition-fast: 0.2s ease;
    --transition-base: 0.3s ease;
    --transition-slow: 0.5s ease;
    
    /* Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.15);
    --shadow-lg: 0 8px 40px rgba(0,0,0,0.2);
    --shadow-xl: 0 20px 60px rgba(0,0,0,0.3);
}

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

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

body {
    font-family: var(--font-body);
    font-weight: 400;
    line-height: 1.6;
    color: var(--gray-600);
    background-color: var(--white);
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.2;
    color: var(--black-primary);
}

.text-accent {
    color: var(--yellow-primary);
}

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

/* Section Label */
.section-label {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-family: var(--font-body);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow-primary);
    margin-bottom: 16px;
}

.section-label-light {
    color: var(--yellow-primary);
}

.label-line {
    width: 40px;
    height: 2px;
    background: var(--yellow-primary);
}

/* Section Title */
.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 24px;
}

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

.section-subtitle {
    font-size: 1.125rem;
    color: var(--gray-500);
    max-width: 600px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-base);
}

.btn-primary {
    background: var(--yellow-primary);
    color: var(--black-primary);
    border-color: var(--yellow-primary);
}

.btn-primary:hover {
    background: transparent;
    color: var(--yellow-primary);
}

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

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

.btn-outline {
    background: transparent;
    color: var(--white);
    border-color: rgba(255,255,255,0.3);
}

.btn-outline:hover {
    background: var(--white);
    color: var(--black-primary);
    border-color: var(--white);
}

.btn-lg {
    padding: 18px 36px;
    font-size: 1rem;
}

/* =====================================================
   HEADER
   ===================================================== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    transition: all var(--transition-base);
}

.header.scrolled {
    background: rgba(255,255,255,0.98);
    box-shadow: var(--shadow-md);
}

.header.scrolled .nav-link {
    color: var(--black-primary);
}

.header.scrolled .nav-logo img {
    filter: none; /* Logo original en header blanco */
}

/* Logo blanco en header oscuro */
.header:not(.scrolled) .nav-logo img {
    filter: brightness(0) invert(1);
}

.navbar {
    height: 80px;
}

.nav-container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-logo img {
    height: 50px;
    transition: var(--transition-base);
}

.header.scrolled .nav-logo img {
    height: 45px;
    filter: none;
}

.header:not(.scrolled) .nav-logo img {
    filter: brightness(0) invert(1);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 40px;
}

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

.nav-link {
    position: relative;
    font-family: var(--font-body);
    font-size: 0.9375rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    color: var(--white);
    transition: color var(--transition-base);
}

.header.scrolled .nav-link {
    color: var(--black-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--yellow-primary);
    transition: width var(--transition-base);
}

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

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

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--yellow-primary);
    color: var(--black-primary);
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all var(--transition-base);
}

.nav-cta:hover {
    background: var(--yellow-dark);
    transform: translateY(-2px);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 8px;
    background: none;
    border: none;
    cursor: pointer;
}

.nav-toggle span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--white);
    transition: all var(--transition-base);
}

.header.scrolled .nav-toggle span {
    background: var(--black-primary);
}

/* =====================================================
   HERO SECTION
   ===================================================== */
.hero {
    position: relative;
    width: 100%;
    height: 100vh;
    min-height: 700px;
    overflow: hidden;
}

.hero-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(90deg, rgba(255,205,0,0.03) 1px, transparent 1px),
        linear-gradient(rgba(255,205,0,0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: 2;
    pointer-events: none;
}

.hero .swiper-slide {
    position: relative;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transform: scale(1.1);
    transition: transform 8s ease;
}

.swiper-slide-active .hero-bg {
    transform: scale(1);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(13,13,13,0.9) 0%, rgba(13,13,13,0.6) 50%, rgba(13,13,13,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 3;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 24px;
    padding-top: 160px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255,205,0,0.1);
    border: 1px solid rgba(255,205,0,0.3);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--yellow-primary);
    margin-bottom: 24px;
}

.tag-dot {
    width: 6px;
    height: 6px;
    background: var(--yellow-primary);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.hero-title {
    margin-bottom: 24px;
}

.title-line {
    display: block;
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 6rem);
    font-weight: 400;
    line-height: 0.95;
    letter-spacing: 0.02em;
    color: var(--white);
    text-transform: uppercase;
}

.title-accent {
    color: var(--yellow-primary);
}

.hero-description {
    font-size: 1.125rem;
    color: var(--gray-300);
    max-width: 540px;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.hero-stats {
    position: absolute;
    bottom: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 40px;
    padding: 32px 48px;
    background: rgba(13,13,13,0.8);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.1);
}

.stat-item {
    text-align: center;
}

.stat-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3rem;
    color: var(--yellow-primary);
    line-height: 1;
}

.stat-suffix {
    font-family: var(--font-display);
    font-size: 2rem;
    color: var(--yellow-primary);
}

.stat-label {
    display: block;
    font-size: 0.8125rem;
    color: var(--gray-400);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-top: 8px;
}

.stat-divider {
    width: 1px;
    height: 50px;
    background: rgba(255,255,255,0.2);
}

.hero-navigation {
    position: absolute;
    bottom: 200px;
    right: 48px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 24px;
}

.hero .swiper-pagination {
    position: static;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.hero .swiper-pagination-bullet {
    width: 3px;
    height: 24px;
    background: rgba(255,255,255,0.3);
    border-radius: 2px;
    opacity: 1;
    transition: all var(--transition-base);
}

.hero .swiper-pagination-bullet-active {
    height: 48px;
    background: var(--yellow-primary);
}

.hero-arrows {
    display: flex;
    gap: 8px;
}

.hero-arrow {
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.3);
    color: var(--white);
    cursor: pointer;
    transition: all var(--transition-base);
}

.hero-arrow:hover {
    background: var(--yellow-primary);
    border-color: var(--yellow-primary);
    color: var(--black-primary);
}

.scroll-indicator {
    position: absolute;
    bottom: 40px;
    left: 48px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.scroll-text {
    font-size: 0.6875rem;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    color: var(--gray-400);
    writing-mode: vertical-rl;
}

.scroll-line {
    width: 1px;
    height: 60px;
    background: linear-gradient(to bottom, var(--yellow-primary), transparent);
    animation: scrollLine 2s infinite;
}

@keyframes scrollLine {
    0% { transform: scaleY(0); transform-origin: top; }
    50% { transform: scaleY(1); transform-origin: top; }
    50.1% { transform: scaleY(1); transform-origin: bottom; }
    100% { transform: scaleY(0); transform-origin: bottom; }
}

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

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 80px;
    align-items: center;
}

.about-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: 16px;
    line-height: 1.8;
}

.about-features {
    margin-top: 40px;
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.feature-item {
    display: flex;
    gap: 16px;
}

.feature-icon {
    flex-shrink: 0;
    width: 24px;
    height: 24px;
    color: var(--yellow-primary);
    font-size: 1.25rem;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.feature-text p {
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.about-visual {
    position: relative;
}

.visual-frame {
    position: relative;
}

.frame-accent {
    position: absolute;
    top: -20px;
    right: -20px;
    width: 200px;
    height: 200px;
    border: 3px solid var(--yellow-primary);
    z-index: 0;
}

.visual-image {
    position: relative;
    width: 100%;
    height: 500px;
    background-size: cover;
    background-position: center;
    background-color: var(--gray-200);
    z-index: 1;
}

.visual-badge {
    position: absolute;
    bottom: -30px;
    left: -30px;
    padding: 24px 32px;
    background: var(--yellow-primary);
    z-index: 2;
    text-align: center;
}

.badge-number {
    display: block;
    font-family: var(--font-display);
    font-size: 3.5rem;
    color: var(--black-primary);
    line-height: 1;
}

.badge-text {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--black-primary);
    text-transform: uppercase;
    line-height: 1.3;
}

/* =====================================================
   VALUES SECTION
   ===================================================== */
.values {
    position: relative;
    padding: var(--section-padding) 0;
    background: var(--black-primary);
    overflow: hidden;
}

.values-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255,205,0,0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255,205,0,0.03) 0%, transparent 50%);
}

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

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

.value-card {
    position: relative;
    padding: 48px 32px;
    background: var(--black-soft);
    border: 1px solid var(--gray-800);
    transition: all var(--transition-base);
}

.value-card:hover {
    border-color: var(--yellow-primary);
    transform: translateY(-8px);
}

.value-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255,205,0,0.1);
    font-size: 1.75rem;
    color: var(--yellow-primary);
    margin-bottom: 24px;
}

.value-number {
    position: absolute;
    top: 24px;
    right: 24px;
    font-family: var(--font-display);
    font-size: 4rem;
    color: rgba(255,255,255,0.03);
    line-height: 1;
}

.value-title {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 16px;
    text-transform: uppercase;
}

.value-description {
    font-size: 0.9375rem;
    color: var(--gray-400);
    line-height: 1.7;
}

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

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

.services-header .section-subtitle {
    margin: 0 auto;
}

.services-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    margin-bottom: 80px;
}

.service-card {
    position: relative;
    padding: 40px 32px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.service-card:hover {
    border-color: var(--yellow-primary);
    box-shadow: var(--shadow-lg);
    transform: translateY(-8px);
}

.service-featured {
    background: var(--black-primary);
    border-color: var(--black-primary);
}

.service-featured:hover {
    border-color: var(--yellow-primary);
}

.service-featured .service-title,
.service-featured .service-description,
.service-featured .service-list li {
    color: var(--white);
}

.service-featured .service-list li i {
    color: var(--yellow-primary);
}

.service-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 24px;
}

.service-icon {
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow-primary);
    font-size: 1.5rem;
    color: var(--black-primary);
}

.service-number {
    font-family: var(--font-display);
    font-size: 2.5rem;
    color: var(--gray-200);
    line-height: 1;
}

.service-featured .service-number {
    color: var(--gray-800);
}

.service-title {
    font-size: 1.375rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.service-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 24px;
    line-height: 1.6;
}

.service-list {
    list-style: none;
    margin-bottom: 32px;
}

.service-list li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.875rem;
    color: var(--gray-600);
    margin-bottom: 10px;
}

.service-list li i {
    color: var(--yellow-primary);
    margin-top: 4px;
}

.service-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--yellow-primary);
    text-decoration: none;
    transition: gap var(--transition-base);
}

.service-link:hover {
    gap: 12px;
}

/* Vitivinícola Section */
.services-vitivinicola {
    padding: 48px;
    background: var(--white);
    border: 1px solid var(--gray-200);
}

.vitivinicola-content {
    margin-bottom: 32px;
}

.vitivinicola-title {
    font-size: 1.75rem;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.vitivinicola-text {
    font-size: 1rem;
    color: var(--gray-500);
}

.vitivinicola-items {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.vitivinicola-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--gray-700);
    transition: all var(--transition-base);
}

.vitivinicola-item:hover {
    background: var(--yellow-primary);
    border-color: var(--yellow-primary);
    color: var(--black-primary);
}

.vitivinicola-item i {
    font-size: 1.25rem;
    color: var(--yellow-primary);
    transition: color var(--transition-base);
}

.vitivinicola-item:hover i {
    color: var(--black-primary);
}

/* =====================================================
   CLIENTS SECTION
   ===================================================== */
.clients {
    padding: var(--section-padding) 0;
    background: var(--white);
}

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

.clients-header .section-subtitle {
    margin: 0 auto;
}

.clients-carousel {
    margin-bottom: 64px;
    padding: 20px 0;
}

.clients-carousel .swiper-wrapper {
    align-items: center;
}

.client-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100px;
    padding: 16px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.client-logo:hover {
    border-color: var(--yellow-primary);
    box-shadow: var(--shadow-md);
}

.client-logo img {
    max-width: 130px;
    max-height: 60px;
    object-fit: contain;
    filter: grayscale(100%);
    opacity: 0.7;
    transition: all var(--transition-base);
}

.client-logo:hover img {
    filter: grayscale(0%);
    opacity: 1;
}

.clients-list {
    padding: 40px;
    background: var(--gray-100);
    border: 1px solid var(--gray-200);
}

.clients-list-title {
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--gray-500);
    margin-bottom: 24px;
    text-align: center;
}

.clients-grid-full {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 16px;
}

.clients-grid-full span {
    font-size: 0.875rem;
    color: var(--gray-600);
    padding: 6px 12px;
    background: var(--white);
    border: 1px solid var(--gray-200);
    transition: all var(--transition-base);
}

.clients-grid-full span:hover {
    background: var(--yellow-primary);
    border-color: var(--yellow-primary);
    color: var(--black-primary);
}

/* =====================================================
   CTA SECTION
   ===================================================== */
.cta-section {
    position: relative;
    padding: 100px 0;
    background: var(--black-primary);
    overflow: hidden;
}

.cta-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(135deg, rgba(255,205,0,0.1) 0%, transparent 50%),
        url('images/cta-bg.jpg') center/cover;
    opacity: 0.3;
}

.cta-content {
    position: relative;
    z-index: 1;
    text-align: center;
    max-width: 700px;
    margin: 0 auto;
}

.cta-title {
    font-family: var(--font-display);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--white);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.cta-text {
    font-size: 1.125rem;
    color: var(--gray-400);
    margin-bottom: 40px;
}

.cta-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 16px;
}

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

.contact-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: start;
}

.contact-text {
    font-size: 1.0625rem;
    color: var(--gray-600);
    margin-bottom: 40px;
    line-height: 1.7;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.contact-item {
    display: flex;
    gap: 20px;
}

.contact-icon {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--yellow-primary);
    font-size: 1.25rem;
    color: var(--black-primary);
}

.contact-item-content h4 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 4px;
}

.contact-item-content p,
.contact-item-content a {
    font-size: 0.9375rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: color var(--transition-base);
}

.contact-item-content a:hover {
    color: var(--yellow-primary);
}

.contact-map {
    margin-top: 32px;
}

.map-wrapper {
    height: 220px;
    background: var(--gray-200);
    border: 1px solid var(--gray-300);
}

.map-wrapper iframe {
    width: 100%;
    height: 100%;
    border: 0;
}

.map-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    background: var(--black-primary);
    color: var(--white);
    font-size: 0.875rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all var(--transition-base);
}

.map-link:hover {
    background: var(--yellow-primary);
    color: var(--black-primary);
}

/* =====================================================
   CONTACT FORM STYLES
   ===================================================== */
.contact-form-wrapper {
    background: var(--white);
    padding: 48px;
    border: 1px solid var(--gray-200);
}

.contact-form {
    margin-top: 32px;
}

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

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 14px 16px;
    font-family: var(--font-body);
    font-size: 1rem;
    color: var(--gray-800);
    background: var(--gray-100);
    border: 2px solid var(--gray-200);
    transition: all var(--transition-base);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--yellow-primary);
    background: var(--white);
}

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

.form-group select {
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23737373' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 16px center;
}

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

.form-actions {
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

.form-note {
    font-size: 0.8125rem;
    color: var(--gray-500);
}

.contact-alternative {
    margin-top: 32px;
    padding-top: 32px;
    border-top: 1px solid var(--gray-200);
    text-align: center;
}

.contact-alternative p {
    font-size: 0.9375rem;
    color: var(--gray-500);
    margin-bottom: 16px;
}

.btn-whatsapp {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 16px 32px;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: all var(--transition-base);
}

.btn-whatsapp:hover {
    background: #1DA851;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.3);
}

.btn-whatsapp i {
    font-size: 1.25rem;
}

.contact-info-title {
    font-size: 1.5rem;
    text-transform: uppercase;
    margin-bottom: 32px;
}

/* =====================================================
   FOOTER
   ===================================================== */
.footer {
    background: var(--black-primary);
}

.footer-top {
    padding: 80px 0 60px;
    border-bottom: 1px solid var(--gray-800);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: 48px;
}

.footer-logo {
    height: 50px;
    margin-bottom: 16px;
}

.footer-tagline {
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--yellow-primary);
    text-transform: uppercase;
    margin-bottom: 16px;
}

.footer-description {
    font-size: 0.9375rem;
    color: var(--gray-500);
    line-height: 1.7;
}

.footer-links h4,
.footer-services h4,
.footer-contact h4 {
    font-size: 1rem;
    font-weight: 600;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 24px;
}

.footer-links ul,
.footer-services ul,
.footer-contact ul {
    list-style: none;
}

.footer-links li,
.footer-services li {
    margin-bottom: 12px;
}

.footer-links a,
.footer-services a {
    font-size: 0.9375rem;
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-links a:hover,
.footer-services a:hover {
    color: var(--yellow-primary);
}

.footer-contact li {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.9375rem;
    color: var(--gray-500);
}

.footer-contact li i {
    color: var(--yellow-primary);
    margin-top: 4px;
}

.footer-contact a {
    color: var(--gray-500);
    text-decoration: none;
    transition: color var(--transition-base);
}

.footer-contact a:hover {
    color: var(--yellow-primary);
}

.footer-bottom {
    padding: 24px 0;
}

.footer-bottom-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.copyright {
    font-size: 0.875rem;
    color: var(--gray-600);
}

.social-links {
    display: flex;
    gap: 16px;
}

.social-links a {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gray-800);
    color: var(--gray-500);
    text-decoration: none;
    transition: all var(--transition-base);
}

.social-links a:hover {
    background: var(--yellow-primary);
    color: var(--black-primary);
}

/* =====================================================
   WHATSAPP FAB
   ===================================================== */
.whatsapp-fab {
    position: fixed;
    bottom: 32px;
    right: 32px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--whatsapp);
    color: var(--white);
    font-size: 1.75rem;
    text-decoration: none;
    border-radius: 50%;
    box-shadow: var(--shadow-lg);
    z-index: 999;
    transition: all var(--transition-base);
}

.whatsapp-fab:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 30px rgba(37, 211, 102, 0.4);
}

.fab-tooltip {
    position: absolute;
    right: 70px;
    padding: 8px 16px;
    background: var(--black-primary);
    color: var(--white);
    font-size: 0.8125rem;
    font-weight: 500;
    white-space: nowrap;
    opacity: 0;
    visibility: hidden;
    transform: translateX(10px);
    transition: all var(--transition-base);
}

.fab-tooltip::after {
    content: '';
    position: absolute;
    right: -6px;
    top: 50%;
    transform: translateY(-50%);
    border: 6px solid transparent;
    border-left-color: var(--black-primary);
}

.whatsapp-fab:hover .fab-tooltip {
    opacity: 1;
    visibility: visible;
    transform: translateX(0);
}

/* =====================================================
   RESPONSIVE DESIGN
   ===================================================== */

/* Tablet */
@media (max-width: 1024px) {
    :root {
        --section-padding: 80px;
    }
    
    .about-grid {
        grid-template-columns: 1fr;
        gap: 48px;
    }
    
    .about-visual {
        order: -1;
    }
    
    .values-grid {
        grid-template-columns: 1fr;
    }
    
    .services-grid {
        grid-template-columns: 1fr;
    }
    
    .vitivinicola-items {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .hero-stats {
        bottom: 40px;
        padding: 24px 32px;
        gap: 24px;
    }
    
    .hero-navigation {
        display: none;
    }
    
    .scroll-indicator {
        display: none;
    }
}

/* Mobile */
@media (max-width: 768px) {
    :root {
        --section-padding: 60px;
    }
    
    .nav-logo img {
        height: 38px;
    }
    
    .header.scrolled .nav-logo img {
        height: 35px;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 100%;
        height: 100vh;
        background: var(--black-primary);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 32px;
        transition: right var(--transition-slow);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-list {
        flex-direction: column;
        gap: 24px;
    }
    
    .nav-link {
        font-size: 1.5rem;
        color: var(--white);
    }
    
    .nav-cta {
        margin-top: 16px;
    }
    
    .nav-toggle {
        display: flex;
        z-index: 1001;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -5px);
    }
    
    .hero-content {
        padding-top: 140px;
    }
    
    .hero-stats {
        position: relative;
        bottom: auto;
        left: auto;
        transform: none;
        margin: 48px 24px 0;
        flex-direction: column;
        gap: 24px;
        padding: 32px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .visual-image {
        height: 350px;
    }
    
    .frame-accent {
        display: none;
    }
    
    .visual-badge {
        bottom: -20px;
        left: 20px;
        padding: 16px 24px;
    }
    
    .badge-number {
        font-size: 2.5rem;
    }
    
    .vitivinicola-items {
        grid-template-columns: 1fr;
    }
    
    .services-vitivinicola {
        padding: 32px 24px;
    }
    
    .cta-actions {
        flex-direction: column;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .contact-form-wrapper {
        padding: 32px 24px;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
        align-items: stretch;
    }
    
    .form-note {
        text-align: center;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    
    .footer-bottom-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .whatsapp-fab {
        bottom: 20px;
        right: 20px;
        width: 56px;
        height: 56px;
    }
    
    .fab-tooltip {
        display: none;
    }
}

/* Small Mobile */
@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }
    
    .title-line {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
    
    .service-card {
        padding: 32px 24px;
    }
    
    .clients-list {
        padding: 24px 16px;
    }
    
    .clients-grid-full span {
        font-size: 0.8125rem;
        padding: 4px 8px;
    }
}

/* Animations */
@media (prefers-reduced-motion: no-preference) {
    .service-card,
    .value-card,
    .feature-item,
    .contact-item {
        opacity: 0;
        transform: translateY(30px);
        transition: opacity 0.6s ease, transform 0.6s ease;
    }
    
    .service-card.visible,
    .value-card.visible,
    .feature-item.visible,
    .contact-item.visible {
        opacity: 1;
        transform: translateY(0);
    }
}
