/* ====================================
   PRODUCTOR STYLES - PREMIUM APICULTURE
   Ultra-refined, luxury beekeeping design
   ==================================== */

:root {
    /* Premium Color Palette */
    --gold-primary: #C9A961;
    --gold-light: #E8D4A2;
    --gold-dark: #9C7D3B;
    --honey-accent: #D4A663;
    --cream-base: #FAF8F5;
    --cream-dark: #F0EBE3;
    --charcoal: #1F1D1A;
    --charcoal-soft: #3D3935;
    --text-primary: #2A2724;
    --text-secondary: #6B6662;
    --text-tertiary: #9B9591;
    --white-pure: #FFFFFF;
    --divider: rgba(201, 169, 97, 0.15);
    
    /* Premium Gradients */
    --gradient-hero: linear-gradient(160deg, #C9A961 0%, #9C7D3B 100%);
    --gradient-gold: linear-gradient(135deg, #E8D4A2 0%, #C9A961 50%, #9C7D3B 100%);
    --gradient-overlay: linear-gradient(180deg, rgba(250, 248, 245, 0) 0%, rgba(250, 248, 245, 0.8) 100%);
    
    /* Typography Scale */
    --font-primary: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Playfair Display', 'Georgia', serif;
    
    /* Professional Shadows */
    --shadow-subtle: 0 1px 3px rgba(31, 29, 26, 0.04), 0 1px 2px rgba(31, 29, 26, 0.02);
    --shadow-soft: 0 4px 12px rgba(31, 29, 26, 0.06), 0 2px 4px rgba(31, 29, 26, 0.03);
    --shadow-medium: 0 8px 24px rgba(31, 29, 26, 0.08), 0 4px 8px rgba(31, 29, 26, 0.04);
    --shadow-strong: 0 16px 48px rgba(31, 29, 26, 0.12), 0 8px 16px rgba(31, 29, 26, 0.06);
    --shadow-dramatic: 0 24px 64px rgba(31, 29, 26, 0.16), 0 12px 24px rgba(31, 29, 26, 0.08);
    
    /* Spacing System */
    --space-xs: 0.5rem;
    --space-sm: 1rem;
    --space-md: 1.5rem;
    --space-lg: 2.5rem;
    --space-xl: 4rem;
    
    /* Border Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-xl: 32px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-primary);
    color: var(--text-primary);
    background: var(--cream-base);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    font-feature-settings: "liga", "kern";
}

/* ====================================
   PREMIUM HERO SECTION
   ==================================== */

.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    overflow: hidden;
    padding: 6rem 2rem;
}

/* Sophisticated honeycomb pattern */
.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 50%, rgba(255, 255, 255, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.03) 0%, transparent 50%);
    opacity: 1;
}

/* Elegant floating gradient orbs */
.hero::after {
    content: '';
    position: absolute;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(232, 212, 162, 0.15) 0%, transparent 70%);
    top: -300px;
    right: -300px;
    border-radius: 50%;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-50px, 50px) scale(1.1); }
}

.hero-vcard-content {
    position: relative;
    z-index: 10;
    text-align: center;
    max-width: 720px;
    padding: var(--space-xl) var(--space-lg);
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(30px) saturate(180%);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-dramatic);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.hero-logo-wrapper {
    position: relative;
    display: inline-block;
    margin-bottom: var(--space-lg);
}

.producer-avatar {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    object-fit: cover;
    border: 5px solid var(--white-pure);
    box-shadow: var(--shadow-strong);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.producer-avatar::after {
    content: '';
    position: absolute;
    inset: -8px;
    border-radius: 50%;
    background: var(--gradient-gold);
    z-index: -1;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.producer-avatar:hover::after {
    opacity: 0.3;
}

.producer-avatar:hover {
    transform: scale(1.03) translateY(-2px);
}

.hero-qr-code {
    position: absolute;
    bottom: 8px;
    right: 8px;
    width: 48px;
    height: 48px;
    background: var(--charcoal);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold-light);
    font-size: 1.25rem;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 3px solid white;
}

.hero-qr-code:hover {
    transform: scale(1.15) rotate(5deg);
    background: var(--gold-primary);
    color: white;
}

.hero-vcard-content h1 {
    font-family: var(--font-display);
    font-size: 3rem;
    font-weight: 700;
    color: var(--charcoal);
    margin-bottom: var(--space-xs);
    letter-spacing: -1px;
    line-height: 1.1;
}

.hero-vcard-content .lead {
    color: var(--text-secondary) !important;
    font-size: 1.125rem !important;
    font-weight: 400 !important;
    letter-spacing: -0.01em;
    margin-bottom: var(--space-md) !important;
}

.btn-vcf {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: 1rem 2.5rem;
    background: var(--charcoal);
    color: white;
    font-weight: 600;
    font-size: 1rem;
    border-radius: var(--radius-md);
    text-decoration: none;
    margin: var(--space-md) 0;
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-vcf::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-vcf:hover::before {
    opacity: 1;
}

.btn-vcf:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    text-decoration: none;
    color: white;
}

.btn-vcf i,
.btn-vcf span {
    position: relative;
    z-index: 1;
}

/* ====================================
   PREMIUM CTA GRID
   ==================================== */

.hero-cta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
    gap: var(--space-sm);
    margin-top: var(--space-lg);
}

.hero-cta-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-xs);
    padding: 1.25rem 0.75rem;
    background: var(--cream-dark);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.875rem;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-subtle);
    border: 1px solid var(--divider);
    position: relative;
    overflow: hidden;
}

.hero-cta-button::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.hero-cta-button:hover::before {
    opacity: 0.1;
}

.hero-cta-button:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-primary);
    color: var(--charcoal);
    text-decoration: none;
}

.hero-cta-button i,
.hero-cta-button span {
    position: relative;
    z-index: 1;
}

.hero-cta-button i {
    font-size: 1.75rem;
    transition: transform 0.4s ease;
}

.hero-cta-button:hover i {
    transform: scale(1.1);
}

.hero-cta-button.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: white;
    border-color: transparent;
}

.hero-cta-button.whatsapp::before {
    background: linear-gradient(135deg, #1da851 0%, #128c42 100%);
    opacity: 0;
}

.hero-cta-button.whatsapp:hover::before {
    opacity: 1;
}

.hero-cta-button.whatsapp:hover {
    color: white;
}

/* ====================================
   REFINED MAIN SECTIONS
   ==================================== */

.main-content {
    background: var(--cream-base);
    padding: var(--space-xl) 0;
}

.section-wrapper {
    background: var(--white-pure);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    margin-bottom: var(--space-lg);
    box-shadow: var(--shadow-soft);
    position: relative;
    opacity: 0;
    transform: translateY(24px);
    transition: all 0.7s cubic-bezier(0.165, 0.84, 0.44, 1);
    border: 1px solid rgba(201, 169, 97, 0.08);
}

.section-wrapper.in-view {
    opacity: 1;
    transform: translateY(0);
}

.section-title {
    font-family: var(--font-display);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--charcoal);
    text-align: center;
    margin-bottom: var(--space-xs);
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.section-title::after {
    content: '';
    display: block;
    width: 64px;
    height: 4px;
    background: var(--gradient-gold);
    margin: var(--space-md) auto;
    border-radius: 2px;
}

.section-subtitle {
    text-align: center;
    font-size: 1.125rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-xl);
    font-weight: 400;
    letter-spacing: -0.01em;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ====================================
   ELEGANT HISTORIA
   ==================================== */

.historia-content {
    max-width: 800px;
    margin: 0 auto;
    font-size: 1.125rem;
    line-height: 1.9;
    color: var(--text-secondary);
    padding: var(--space-lg);
    background: linear-gradient(135deg, rgba(232, 212, 162, 0.08) 0%, rgba(250, 248, 245, 0.5) 100%);
    border-radius: var(--radius-md);
    border-left: 4px solid var(--gold-primary);
    box-shadow: inset 0 1px 3px rgba(201, 169, 97, 0.05);
}

/* ====================================
   PREMIUM PRODUCTOS
   ==================================== */

.productos-section {
    background: linear-gradient(135deg, rgba(250, 248, 245, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
}

.productos-grid .row {
    margin: 0 -12px;
}

.product-item {
    padding: 12px;
    opacity: 0;
    transform: scale(0.96);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.product-item.in-view {
    opacity: 1;
    transform: scale(1);
}

.product-gallery-img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid rgba(201, 169, 97, 0.12);
}

.product-gallery-img:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-primary);
}

.product-name {
    text-align: center;
    font-weight: 600;
    color: var(--text-primary);
    margin-top: var(--space-sm);
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

.btn-catalog {
    background: var(--charcoal);
    color: white;
    padding: 1rem 2.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    box-shadow: var(--shadow-medium);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    font-size: 1rem;
    letter-spacing: 0.02em;
    position: relative;
    overflow: hidden;
}

.btn-catalog::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-gold);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.btn-catalog:hover::before {
    opacity: 1;
}

.btn-catalog:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    color: white;
    text-decoration: none;
}

.btn-catalog i,
.btn-catalog span {
    position: relative;
    z-index: 1;
}

/* ====================================
   LUXURY EXPERIENCIAS
   ==================================== */

.experiencias-section {
    background: linear-gradient(135deg, rgba(250, 248, 245, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
}

.experiencia-card {
    border: 1px solid var(--divider);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-subtle);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    background: var(--white-pure);
    overflow: hidden;
}

.experiencia-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-primary);
}

.experiencia-card .card-body {
    padding: var(--space-lg);
}

.experiencia-card .card-title {
    font-family: var(--font-display);
    font-weight: 600;
    color: var(--charcoal);
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    letter-spacing: -0.02em;
}

.experiencia-card .card-title i {
    color: var(--gold-primary);
}

.experiencia-card .card-subtitle {
    color: var(--text-secondary);
    font-weight: 500;
    margin-bottom: var(--space-sm);
    font-size: 0.9375rem;
}

.experiencia-card .card-text {
    color: var(--text-tertiary);
    line-height: 1.7;
    font-size: 0.9375rem;
}

.btn-experience {
    background: var(--gold-primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 0.9375rem;
    letter-spacing: 0.01em;
}

.btn-experience:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--gold-dark);
    color: white;
}

/* ====================================
   PREMIUM CERTIFICACIONES
   ==================================== */

.certificaciones-section {
    background: linear-gradient(145deg, var(--charcoal) 0%, var(--charcoal-soft) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
    color: white;
    position: relative;
    overflow: hidden;
}

.certificaciones-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(201, 169, 97, 0.08) 0%, transparent 70%);
    border-radius: 50%;
}

.certificaciones-section .section-title {
    color: white;
}

.certificaciones-section .section-title::after {
    background: var(--gold-light);
}

.certificaciones-section .section-subtitle {
    color: rgba(255, 255, 255, 0.8);
}

.cert-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.cert-card {
    text-align: center;
    opacity: 0;
    transform: translateY(16px);
    transition: all 0.5s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.cert-card.in-view {
    opacity: 1;
    transform: translateY(0);
}

.cert-card a {
    text-decoration: none;
    color: inherit;
    display: block;
}

.cert-preview {
    width: 140px;
    height: 140px;
    margin: 0 auto var(--space-sm);
    background: white;
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-medium);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    overflow: hidden;
    border: 3px solid var(--gold-light);
}

.cert-preview:hover {
    transform: translateY(-6px) scale(1.05);
    box-shadow: var(--shadow-strong);
}

.cert-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cert-preview i {
    font-size: 3.5rem;
    color: var(--gold-primary);
}

.cert-name {
    color: rgba(255, 255, 255, 0.95);
    font-weight: 600;
    font-size: 0.9375rem;
    letter-spacing: -0.01em;
}

/* ====================================
   REFINED CONTACTO
   ==================================== */

.contact-section {
    background: linear-gradient(135deg, rgba(250, 248, 245, 0.5) 0%, rgba(255, 255, 255, 0.8) 100%);
    border-radius: var(--radius-lg);
    padding: var(--space-xl) var(--space-lg);
}

.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
    gap: var(--space-md);
    margin-top: var(--space-lg);
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: 1.5rem 1.75rem;
    background: white;
    color: var(--text-primary);
    text-decoration: none;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    box-shadow: var(--shadow-subtle);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 1px solid var(--divider);
}

.contact-btn:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-primary);
    text-decoration: none;
}

.contact-btn .icon {
    font-size: 1.75rem;
}

.btn-call {
    background: linear-gradient(135deg, #4CAF50 0%, #388E3C 100%);
    color: white;
    border-color: transparent;
}

.btn-call:hover {
    background: linear-gradient(135deg, #388E3C 0%, #2E7D32 100%);
    color: white;
}

.btn-whatsapp-contact {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: white;
    border-color: transparent;
}

.btn-whatsapp-contact:hover {
    background: linear-gradient(135deg, #1da851 0%, #128c42 100%);
    color: white;
}

.btn-email {
    background: linear-gradient(135deg, #2196F3 0%, #1976D2 100%);
    color: white;
    border-color: transparent;
}

.btn-email:hover {
    background: linear-gradient(135deg, #1976D2 0%, #1565C0 100%);
    color: white;
}

.btn-location {
    background: linear-gradient(135deg, #FF5722 0%, #E64A19 100%);
    color: white;
    border-color: transparent;
}

.btn-location:hover {
    background: linear-gradient(135deg, #E64A19 0%, #D84315 100%);
    color: white;
}

/* ====================================
   PREMIUM FLOATING CTA
   ==================================== */

.floating-cta {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px) saturate(180%);
    box-shadow: 0 -4px 24px rgba(31, 29, 26, 0.08);
    z-index: 1000;
    padding: 1.25rem;
    border-top: 1px solid var(--divider);
}

.floating-cta-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    flex-wrap: wrap;
}

.producer-info-mini {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.producer-info-mini img {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--gold-primary);
    box-shadow: var(--shadow-subtle);
}

.producer-details {
    display: flex;
    flex-direction: column;
}

.producer-name {
    font-weight: 600;
    color: var(--charcoal);
    font-size: 1rem;
    letter-spacing: -0.01em;
}

.producer-tagline {
    font-size: 0.8125rem;
    color: var(--text-tertiary);
}

.cta-buttons {
    display: flex;
    gap: var(--space-xs);
    flex-wrap: wrap;
}

.cta-buttons .btn {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-sm);
    font-weight: 600;
    font-size: 0.9375rem;
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    text-decoration: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: none;
    letter-spacing: 0.01em;
}

.btn-whatsapp-cta {
    background: linear-gradient(135deg, #25D366 0%, #1da851 100%);
    color: white;
    box-shadow: var(--shadow-subtle);
}

.btn-whatsapp-cta:hover {
    background: linear-gradient(135deg, #1da851 0%, #128c42 100%);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    color: white;
}

/* ====================================
   ELEGANT ERROR STATE
   ==================================== */

.error-state {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-hero);
    padding: var(--space-lg);
}

.error-content {
    text-align: center;
    background: white;
    padding: var(--space-xl) var(--space-lg);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-dramatic);
    max-width: 500px;
}

.error-icon {
    font-size: 4.5rem;
    color: var(--gold-primary);
    margin-bottom: var(--space-md);
}

.error-title {
    font-family: var(--font-display);
    font-size: 2.25rem;
    color: var(--charcoal);
    margin-bottom: var(--space-sm);
    letter-spacing: -0.5px;
}

.error-text {
    font-size: 1.0625rem;
    color: var(--text-secondary);
    margin-bottom: var(--space-lg);
    line-height: 1.6;
}

/* ====================================
   SMOOTH ANIMATIONS
   ==================================== */

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(24px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate-in {
    animation: fadeInUp 0.7s cubic-bezier(0.165, 0.84, 0.44, 1) forwards;
}

/* ====================================
   PREMIUM RESPONSIVE DESIGN
   ==================================== */

@media (max-width: 1024px) {
    :root {
        --space-xl: 3rem;
    }
    
    .hero-vcard-content h1 {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2.25rem;
    }
}

@media (max-width: 768px) {
    :root {
        --space-lg: 2rem;
        --space-xl: 2.5rem;
    }
    
    .hero {
        padding: 4rem 1.5rem;
    }
    
    .hero-vcard-content {
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero-vcard-content h1 {
        font-size: 2rem;
    }
    
    .producer-avatar {
        width: 150px;
        height: 150px;
    }
    
    .section-title {
        font-size: 1.875rem;
    }
    
    .section-wrapper {
        padding: var(--space-lg) var(--space-md);
    }
    
    .hero-cta-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .floating-cta-content {
        flex-direction: column;
        align-items: stretch;
        gap: var(--space-sm);
    }
    
    .cta-buttons {
        justify-content: center;
        width: 100%;
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .cert-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: var(--space-md);
    }
    
    .productos-grid .row {
        margin: 0 -8px;
    }
    
    .product-item {
        padding: 8px;
    }
}

@media (max-width: 480px) {
    :root {
        --space-md: 1.25rem;
        --space-lg: 1.75rem;
        --space-xl: 2rem;
    }
    
    .hero-vcard-content h1 {
        font-size: 1.75rem;
    }
    
    .producer-avatar {
        width: 130px;
        height: 130px;
    }
    
    .hero-qr-code {
        width: 42px;
        height: 42px;
        font-size: 1.1rem;
    }
    
    .btn-vcf {
        padding: 0.875rem 2rem;
        font-size: 0.9375rem;
    }
    
    .hero-cta-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 1.625rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
    }
    
    .btn-text {
        display: none;
    }
    
    .cta-buttons .btn {
        padding: 0.75rem 1.25rem;
    }
    
    .contact-btn {
        padding: 1.25rem 1.5rem;
    }
    
    .cert-preview {
        width: 110px;
        height: 110px;
    }
    
    .cert-preview i {
        font-size: 2.5rem;
    }
}

/* ====================================
   ADVANCED MICRO-INTERACTIONS
   ==================================== */

@media (hover: hover) and (pointer: fine) {
    .hero-cta-button,
    .btn-catalog,
    .btn-experience,
    .contact-btn,
    .experiencia-card {
        transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
    
    .product-gallery-img {
        transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    }
}

/* Reduce motion for accessibility */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .hero::after {
        animation: none;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --shadow-subtle: 0 2px 4px rgba(0, 0, 0, 0.2);
        --shadow-soft: 0 4px 8px rgba(0, 0, 0, 0.25);
        --shadow-medium: 0 6px 12px rgba(0, 0, 0, 0.3);
        --shadow-strong: 0 8px 16px rgba(0, 0, 0, 0.35);
    }
    
    .hero-vcard-content,
    .section-wrapper {
        border: 2px solid var(--charcoal);
    }
}

/* Print styles */
@media print {
    .floating-cta,
    .hero-qr-code,
    .btn-vcf,
    .hero-cta-grid,
    .cta-buttons {
        display: none !important;
    }
    
    .section-wrapper {
        box-shadow: none;
        border: 1px solid #ddd;
        page-break-inside: avoid;
    }
    
    body {
        background: white;
    }
}

/* ====================================
   FOCUS STATES FOR ACCESSIBILITY
   ==================================== */

.hero-cta-button:focus,
.btn-vcf:focus,
.btn-catalog:focus,
.btn-experience:focus,
.contact-btn:focus,
.cta-buttons .btn:focus {
    outline: 3px solid var(--gold-primary);
    outline-offset: 2px;
}

/* ====================================
   LOADING STATE UTILITIES
   ==================================== */

.section-wrapper[data-loading="true"] {
    opacity: 0.6;
    pointer-events: none;
}

/* ====================================
   ENHANCED LINK STYLES
   ==================================== */

a:not([class]) {
    color: var(--gold-primary);
    text-decoration: underline;
    text-decoration-color: rgba(201, 169, 97, 0.3);
    text-decoration-thickness: 2px;
    text-underline-offset: 2px;
    transition: all 0.3s ease;
}

a:not([class]):hover {
    color: var(--gold-dark);
    text-decoration-color: var(--gold-dark);
}

/* ====================================
   SELECTION STYLES
   ==================================== */

::selection {
    background: var(--gold-light);
    color: var(--charcoal);
}

::-moz-selection {
    background: var(--gold-light);
    color: var(--charcoal);
}

/* ====================================
   SCROLLBAR STYLING
   ==================================== */

::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--cream-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--gold-primary);
    border-radius: 6px;
    border: 2px solid var(--cream-dark);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold-dark);
}

/* Firefox scrollbar */
* {
    scrollbar-width: thin;
    scrollbar-color: var(--gold-primary) var(--cream-dark);
}

/* ====================================
   PREMIUM TOUCH TARGETS
   ==================================== */

@media (pointer: coarse) {
    .hero-cta-button,
    .contact-btn,
    .cta-buttons .btn {
        min-height: 48px;
        min-width: 48px;
    }
}

/* ====================================
   GLASSMORPHISM ENHANCEMENTS
   ==================================== */

.hero-vcard-content {
    -webkit-backdrop-filter: blur(30px) saturate(180%);
}

.floating-cta {
    -webkit-backdrop-filter: blur(20px) saturate(180%);
}

/* ====================================
   SMOOTH SCROLL BEHAVIOR
   ==================================== */

html {
    scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
    html {
        scroll-behavior: auto;
    }
}