/* =============================================
   ROOT & GLOBAL VARIABLES
   ============================================= */

:root {
    --primary-dark: #1a1a1a;
    --primary-light: #f5f3f0;
    --accent-gold: #d4af37;
    --accent-brown: #4a3728;
    --accent-brass: #cd7f32;
    --accent-leaf: #6b5d4f;
    --accent-green: #2d4a2b;
    --text-light: #e8dcc8;
    --text-dark: #1a1a1a;
    --transition-smooth: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --transition-fast: all 0.2s ease-in-out;
}

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

/* =============================================
   TYPOGRAPHY
   ============================================= */

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Cormorant Garamond', serif;
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 {
    font-size: 3.5rem;
    letter-spacing: -0.02em;
}

h2 {
    font-size: 2.5rem;
}

h3 {
    font-size: 1.75rem;
}

p {
    font-size: 1rem;
    line-height: 1.8;
    color: rgba(232, 220, 200, 0.85);
}

a {
    color: var(--accent-gold);
    text-decoration: none;
    transition: var(--transition-fast);
}

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

/* =============================================
   FLOATING WHATSAPP BUTTON
   ============================================= */

.whatsapp-float {
    position: fixed;
    width: 60px;
    height: 60px;
    bottom: 30px;
    right: 30px;
    background-color: #25d366;
    color: white;
    border-radius: 50%;
    text-align: center;
    font-size: 30px;
    box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition-smooth);
    animation: whatsappPulse 2s infinite;
}

.whatsapp-float:hover {
    background-color: #20ba5f;
    transform: scale(1.1);
    box-shadow: 0 6px 30px rgba(37, 211, 102, 0.6);
}

.whatsapp-float i {
    margin-left: 2px;
}

@keyframes whatsappPulse {
    0%, 100% {
        box-shadow: 0 4px 20px rgba(37, 211, 102, 0.4);
    }
    50% {
        box-shadow: 0 4px 30px rgba(37, 211, 102, 0.8);
    }
}

/* =============================================
   MODAL STYLES
   ============================================= */

.modal-custom {
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.95) 0%, rgba(26, 26, 26, 0.95) 100%);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(20px);
}

.modal-header-custom {
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
    padding: 2rem;
}

.modal-header-custom .modal-title {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem;
    color: var(--accent-gold);
    font-weight: 700;
}

.modal-body-custom {
    padding: 2rem;
}

.form-label {
    color: var(--text-light);
    font-weight: 600;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

.form-control-custom {
    background: rgba(107, 93, 79, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
}

.form-control-custom:focus {
    background: rgba(107, 93, 79, 0.3);
    border-color: var(--accent-gold);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control-custom::placeholder {
    color: rgba(232, 220, 200, 0.5);
}

.form-control-custom option {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

.products-checkbox {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1rem;
    padding: 1rem;
    background: rgba(212, 175, 55, 0.05);
    border-radius: 4px;
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.form-check {
    display: flex;
    align-items: center;
}

.form-check-input {
    accent-color: var(--accent-gold);
    width: 1.25rem;
    height: 1.25rem;
    margin-top: 0;
    margin-right: 0.75rem;
    cursor: pointer;
}

.form-check-label {
    color: var(--text-light);
    cursor: pointer;
    margin-bottom: 0;
}

/* =============================================
   NAVIGATION
   ============================================= */

.navbar-custom {
    background-color: rgba(26, 26, 26, 0.95) !important;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
    padding: 1rem 0;
    transition: var(--transition-smooth);
}

.navbar-custom.scrolled {
    padding: 0.5rem 0;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
}

.brand-logo {
    font-family: 'Cormorant Garamond', serif;
    font-size: 1.75rem;
    font-weight: 700;
    color: var(--accent-gold);
    letter-spacing: 0.15em;
}

.brand-subtitle {
    font-family: 'Montserrat', sans-serif;
    font-size: 0.65rem;
    color: var(--text-light);
    letter-spacing: 0.2em;
    margin-left: 0.5rem;
    opacity: 0.8;
}

.navbar-nav .nav-link {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    color: var(--text-light) !important;
    margin: 0 1rem;
    position: relative;
    transition: color 0.3s ease;
}

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

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

/* =============================================
   HERO SECTION
   ============================================= */

.hero-section {
    position: relative;
    height: 100vh;
    min-height: 700px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-color: var(--primary-dark);
    padding: 80px 20px 60px 20px;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.hero-gradient-bg {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1f1a 30%, #3d2f2a 60%, #1a1a1a 100%);
    z-index: 1;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.3) 0%, rgba(74, 55, 40, 0.1) 100%);
    z-index: 2;
}

.hero-content {
    position: relative;
    z-index: 3;
    text-align: center;
    width: 100%;
}

/* Hero Badge */
.hero-badge {
    display: inline-block;
    padding: 0.6rem 1.3rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    transition: var(--transition-smooth);
    white-space: nowrap;
}

.hero-badge:hover {
    background: rgba(212, 175, 55, 0.2);
    border-color: var(--accent-gold);
    transform: scale(1.05);
}

/* Hero Title */
.hero-title {
    font-size: 4rem;
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
    line-height: 1.1;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    letter-spacing: -0.02em;
    animation: titleReveal 1.2s ease-out;
}

@keyframes titleReveal {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-light);
    margin-bottom: 2rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    opacity: 0.95;
    line-height: 1.8;
    font-weight: 400;
}

/* Hero Buttons */
.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 2rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.08em;
    background-color: var(--accent-gold) !important;
    color: var(--text-dark) !important;
    border: 2px solid var(--accent-gold) !important;
    padding: 0.75rem 2rem;
    font-size: 0.95rem;
    border-radius: 50px;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
    cursor: pointer;
    white-space: nowrap;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background-color: var(--accent-brass);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.cta-button:hover::before {
    width: 300px;
    height: 300px;
}

.cta-button:hover {
    background-color: var(--accent-brass) !important;
    border-color: var(--accent-brass) !important;
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.4);
}

.cta-button i {
    transition: var(--transition-fast);
    font-size: 0.9rem;
}

.cta-button:hover i {
    transform: translateX(3px);
}

/* Outline Button */
.cta-button-outline {
    background-color: transparent !important;
    color: var(--accent-gold) !important;
    border: 2px solid var(--accent-gold) !important;
}

.cta-button-outline:hover {
    background-color: var(--accent-gold) !important;
    color: var(--text-dark) !important;
    box-shadow: 0 15px 40px rgba(212, 175, 55, 0.3);
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
    text-align: center;
    animation: indicatorBounce 2.5s ease-in-out infinite;
}

.scroll-indicator span {
    display: block;
    font-size: 0.85rem;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    letter-spacing: 0.05em;
    font-weight: 600;
}

.scroll-arrow {
    animation: arrowBounce 1.5s infinite;
    color: var(--accent-gold);
}

@keyframes indicatorBounce {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

@keyframes arrowBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(10px);
    }
}

/* =============================================
   SECTIONS - GENERAL
   ============================================= */

section {
    position: relative;
    z-index: 1;
}

.section-title {
    font-size: 2.8rem;
    color: var(--accent-gold);
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--accent-gold) 0%, transparent 100%);
}

.subsection-title {
    font-size: 1.5rem;
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.section-text {
    font-size: 1.05rem;
    line-height: 1.9;
    color: rgba(232, 220, 200, 0.9);
}

/* =============================================
   ABOUT SECTION
   ============================================= */

.about-section {
    background: linear-gradient(135deg, var(--primary-dark) 0%, rgba(74, 55, 40, 0.2) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.about-image {
    position: relative;
    overflow: hidden;
    border-radius: 8px;
    height: 400px;
}

.about-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

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

.about-features {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
    transition: var(--transition-smooth);
}

.feature-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
}

.feature-icon {
    font-size: 2.5rem;
    min-width: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--accent-gold);
}

.feature-content h4 {
    margin-top: 0;
    color: var(--accent-gold);
    font-size: 1.15rem;
}

.feature-content p {
    margin: 0;
    font-size: 0.95rem;
}

/* =============================================
   OPERATIONS SECTION
   ============================================= */

.operations-section {
    background: linear-gradient(180deg, transparent 0%, rgba(74, 55, 40, 0.1) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.operation-card {
    position: relative;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.3) 0%, rgba(107, 93, 79, 0.2) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    transition: var(--transition-smooth);
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.card-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 3rem;
    color: rgba(212, 175, 55, 0.2);
    z-index: 0;
}

.operation-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 175, 55, 0.1) 50%, transparent 100%);
    transition: left 0.6s ease;
    z-index: 0;
}

.operation-card:hover::before {
    left: 100%;
}

.operation-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.15);
}

.card-number {
    font-family: 'Montserrat', sans-serif;
    font-size: 3rem;
    font-weight: 700;
    color: rgba(212, 175, 55, 0.3);
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

.operation-card h3 {
    position: relative;
    z-index: 1;
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.operation-card p {
    position: relative;
    z-index: 1;
    font-size: 0.95rem;
}

.card-accent {
    position: absolute;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(212, 175, 55, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

/* =============================================
   STATISTICS SECTION
   ============================================= */

.statistics-section {
    background: linear-gradient(90deg, rgba(74, 55, 40, 0.3) 0%, rgba(45, 74, 43, 0.2) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.stat-item {
    padding: 2rem;
    border-radius: 8px;
    background: rgba(26, 26, 26, 0.5);
    border: 1px solid rgba(212, 175, 55, 0.15);
    transition: var(--transition-smooth);
}

.stat-item:hover {
    background: rgba(26, 26, 26, 0.8);
    border-color: var(--accent-gold);
    transform: translateY(-5px);
}

.stat-number {
    font-family: 'Cormorant Garamond', serif;
    font-size: 3rem;
    font-weight: 700;
    color: var(--accent-gold);
    margin-bottom: 0.5rem;
    line-height: 1;
}

.stat-item h4 {
    font-family: 'Montserrat', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-light);
    text-transform: uppercase;
}

/* =============================================
   PRODUCTS SECTION
   ============================================= */

.products-section {
    background: linear-gradient(180deg, transparent 0%, rgba(107, 93, 79, 0.1) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.product-card {
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.product-card:hover {
    border-color: var(--accent-gold);
    box-shadow: 0 20px 50px rgba(212, 175, 55, 0.2);
    transform: translateY(-10px);
}

.product-image {
    position: relative;
    height: 280px;
    overflow: hidden;
    background-color: rgba(107, 93, 79, 0.3);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition-smooth);
}

.product-card:hover .product-image img {
    transform: scale(1.1) rotate(2deg);
}

.product-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 26, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-overlay {
    opacity: 1;
}

.grade-badge {
    background-color: var(--accent-gold);
    color: var(--text-dark);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.product-content {
    padding: 2rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-content h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.product-specs {
    list-style: none;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
}

.product-specs li {
    padding: 0.5rem 0;
    font-size: 0.9rem;
    color: rgba(232, 220, 200, 0.75);
    position: relative;
    padding-left: 1.5rem;
}

.product-specs li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-weight: bold;
}

/* =============================================
   GRADING SYSTEM
   ============================================= */

.grading-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.grade-card {
    position: relative;
    padding: 2rem;
    border-radius: 12px;
    overflow: hidden;
    border: 2px solid rgba(212, 175, 55, 0.3);
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.2) 0%, rgba(107, 93, 79, 0.1) 100%);
    transition: var(--transition-smooth);
    cursor: pointer;
    transform-origin: center;
}

.grade-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.1) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.grade-card:hover::before {
    opacity: 1;
}

.grade-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-15px) scale(1.05);
    box-shadow: 0 30px 60px rgba(212, 175, 55, 0.2);
}

.grade-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.grade-letter {
    font-family: 'Montserrat', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--accent-gold);
    min-width: 70px;
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15) 0%, rgba(212, 175, 55, 0.05) 100%);
    border: 2px solid var(--accent-gold);
    border-radius: 50%;
    transition: var(--transition-smooth);
}

.grade-card:hover .grade-letter {
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
}

.grade-name {
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-light);
    margin: 0;
    font-size: 1.3rem;
}

.grade-bar-container {
    width: 100%;
    height: 20px;
    background: rgba(107, 93, 79, 0.3);
    border-radius: 10px;
    overflow: hidden;
    margin: 1.5rem 0;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.3);
}

.grade-bar-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-gold), var(--accent-brass));
    border-radius: 10px;
    width: 0%;
    animation: fillGradeBar 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    position: relative;
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.grade-premium .grade-bar-fill {
    animation-delay: 0s;
    width: 100%;
}

.grade-superior .grade-bar-fill {
    animation-delay: 0.2s;
    width: 90%;
}

.grade-one .grade-bar-fill {
    animation-delay: 0.4s;
    width: 75%;
}

.grade-two .grade-bar-fill {
    animation-delay: 0.6s;
    width: 60%;
}

.grade-bar-fill::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.3) 50%, transparent 100%);
    animation: shimmerGrade 2s infinite;
}

@keyframes fillGradeBar {
    from {
        width: 0%;
        opacity: 0;
    }
    to {
        width: inherit;
        opacity: 1;
    }
}

@keyframes shimmerGrade {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

.grade-percentage {
    font-family: 'Montserrat', sans-serif;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--accent-gold);
    text-align: center;
    margin: 1rem 0;
    position: relative;
    z-index: 1;
}

.grade-features {
    list-style: none;
    position: relative;
    z-index: 1;
}

.grade-features li {
    padding: 0.6rem 0;
    padding-left: 1.8rem;
    position: relative;
    font-size: 0.9rem;
    color: rgba(232, 220, 200, 0.8);
    transition: var(--transition-fast);
}

.grade-features li:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.grade-features i {
    position: absolute;
    left: 0;
    color: var(--accent-gold);
    font-size: 1rem;
}

.grade-premium {
    border-color: rgba(212, 175, 55, 0.5);
}

.grade-premium::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.3), transparent);
    animation: gradeBorderGlow 2s infinite;
    pointer-events: none;
    z-index: 1;
}

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

/* =============================================
   MARKETS SECTION
   ============================================= */

.markets-section {
    background: linear-gradient(135deg, rgba(45, 74, 43, 0.15) 0%, transparent 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.markets-content h3 {
    color: var(--accent-gold);
    margin-bottom: 1.5rem;
}

.markets-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.market-item {
    display: flex;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(212, 175, 55, 0.05);
    border-left: 3px solid var(--accent-gold);
    border-radius: 4px;
    transition: var(--transition-smooth);
    cursor: pointer;
}

.market-item:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: translateX(10px);
    border-left-width: 5px;
}

.market-flag {
    font-size: 2.5rem;
    min-width: 60px;
}

.market-info h4 {
    color: var(--accent-gold);
    margin: 0 0 0.5rem 0;
}

.market-info p {
    margin: 0;
    font-size: 0.9rem;
}

.markets-visualization {
    position: relative;
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.2) 0%, rgba(107, 93, 79, 0.1) 100%);
    border-radius: 8px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.world-map {
    width: 100%;
    height: auto;
}

.map-label {
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 14px;
    fill: rgba(232, 220, 200, 0.6);
    letter-spacing: 0.05em;
}

.market-point {
    fill: var(--accent-gold);
    filter: drop-shadow(0 0 8px var(--accent-gold));
    animation: pulse 2s infinite;
}

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

/* =============================================
   SUSTAINABILITY SECTION
   ============================================= */

.sustainability-section {
    background: linear-gradient(135deg, rgba(45, 74, 43, 0.2) 0%, var(--primary-dark) 100%);
    border-top: 1px solid rgba(45, 74, 43, 0.3);
}

.sustainability-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(45, 74, 43, 0.3) 0%, rgba(74, 55, 40, 0.2) 100%);
    border: 1px solid rgba(45, 74, 43, 0.4);
    border-radius: 8px;
    transition: var(--transition-smooth);
    height: 100%;
    position: relative;
}

.sustainability-card:hover {
    border-color: var(--accent-gold);
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(45, 74, 43, 0.2);
}

.sustain-icon {
    font-size: 3rem;
    color: var(--accent-green);
    margin-bottom: 1rem;
    transition: var(--transition-smooth);
}

.sustainability-card:hover .sustain-icon {
    color: var(--accent-gold);
    transform: scale(1.2) rotate(10deg);
}

.sustainability-card h3 {
    color: var(--accent-gold);
    margin-bottom: 1rem;
}

.sustainability-points {
    list-style: none;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(45, 74, 43, 0.3);
}

.sustainability-points li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    font-size: 0.95rem;
    color: rgba(232, 220, 200, 0.8);
}

.sustainability-points li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
}

/* =============================================
   CONTACT SECTION
   ============================================= */

.contact-section {
    background: linear-gradient(180deg, rgba(74, 55, 40, 0.2) 0%, var(--primary-dark) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-info-card {
    padding: 2rem;
    background: linear-gradient(135deg, rgba(74, 55, 40, 0.3) 0%, rgba(107, 93, 79, 0.2) 100%);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    height: 100%;
}

.contact-info-card h3 {
    color: var(--accent-gold);
    margin-bottom: 2rem;
}

.contact-item {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid rgba(212, 175, 55, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.contact-icon {
    font-size: 1.8rem;
    min-width: 40px;
    color: var(--accent-gold);
    display: flex;
    align-items: center;
}

.contact-item h4 {
    color: var(--accent-gold);
    margin: 0 0 0.25rem 0;
}

.contact-item p {
    margin: 0;
    font-size: 0.95rem;
}

.contact-form {
    padding: 2rem;
    background: rgba(26, 26, 26, 0.6);
    border: 1px solid rgba(212, 175, 55, 0.15);
    border-radius: 8px;
}

.form-control {
    background: rgba(107, 93, 79, 0.2);
    border: 1px solid rgba(212, 175, 55, 0.2);
    color: var(--text-light);
    font-family: 'Inter', sans-serif;
    padding: 0.75rem 1rem;
    transition: var(--transition-fast);
}

.form-control:focus {
    background: rgba(107, 93, 79, 0.3);
    border-color: var(--accent-gold);
    color: var(--text-light);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-control::placeholder {
    color: rgba(232, 220, 200, 0.5);
}

.form-control option {
    background-color: var(--primary-dark);
    color: var(--text-light);
}

/* =============================================
   FOOTER
   ============================================= */

.footer {
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8) 0%, rgba(74, 55, 40, 0.3) 100%);
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    padding: 4rem 0 2rem;
}

.footer h5 {
    color: var(--accent-gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
    font-size: 1rem;
}

.footer p {
    font-size: 0.95rem;
    color: rgba(232, 220, 200, 0.75);
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(232, 220, 200, 0.75);
    transition: var(--transition-fast);
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-gold);
    transform: translateX(5px);
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(212, 175, 55, 0.1);
    color: var(--accent-gold);
    border-radius: 50%;
    transition: var(--transition-smooth);
    font-weight: 600;
    font-size: 1.1rem;
}

.social-link:hover {
    background: rgba(212, 175, 55, 0.3);
    transform: translateY(-3px) scale(1.1);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.1);
    color: rgba(232, 220, 200, 0.6);
    font-size: 0.9rem;
}

/* =============================================
   ANIMATIONS
   ============================================= */

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(400px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideOut {
    from {
        opacity: 1;
        transform: translateX(0);
    }
    to {
        opacity: 0;
        transform: translateX(400px);
    }
}

@keyframes ripple {
    from {
        opacity: 0.6;
        transform: scale(0);
    }
    to {
        opacity: 0;
        transform: scale(4);
    }
}

/* =============================================
   RESPONSIVE DESIGN - TABLET (992px and below)
   ============================================= */

@media (max-width: 992px) {
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    
    .hero-title { font-size: 2.5rem; }
    .section-title { font-size: 2rem; }

    .navbar-nav .nav-link {
        margin: 0 0.5rem;
    }
}

/* =============================================
   RESPONSIVE DESIGN - MOBILE (768px and below)
   ============================================= */

@media (max-width: 768px) {
    :root {
        font-size: 14px;
    }

    h1 { font-size: 1.8rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    
    .hero-section {
        height: auto;
        min-height: 85vh;
        padding: 100px 0 80px 0;
    }

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

    .hero-subtitle {
        font-size: 0.95rem;
        margin-bottom: 1.5rem;
    }

    .hero-badge {
        padding: 0.5rem 1rem;
        font-size: 0.65rem;
        margin-bottom: 1rem;
    }

    .hero-buttons {
        flex-direction: row;
        gap: 0.75rem;
        margin-bottom: 1.5rem;
    }

    .cta-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.85rem;
        flex: 1;
        min-width: 140px;
        max-width: 180px;
    }

    .section-title { font-size: 1.75rem; }
    
    .navbar-nav {
        padding-top: 1rem;
    }

    .navbar-nav .nav-link {
        padding: 0.5rem 0;
        margin: 0 0.5rem;
    }

    .operation-card,
    .product-card,
    .sustainability-card {
        padding: 1.5rem;
    }

    .feature-item {
        flex-direction: row;
        gap: 1rem;
    }

    .product-image {
        height: 200px;
    }

    .about-image {
        height: 300px;
        margin-bottom: 2rem;
    }

    .markets-visualization {
        margin-top: 2rem;
    }

    .stat-number {
        font-size: 2rem;
    }

    .contact-form {
        padding: 1.5rem;
    }

    .contact-info-card {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }

    .grading-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .grade-card:hover {
        transform: translateY(-10px) scale(1.02);
    }

    .whatsapp-float {
        width: 55px;
        height: 55px;
        bottom: 20px;
        right: 20px;
        font-size: 28px;
    }

    .modal-dialog {
        margin: 1rem;
    }

    .modal-body-custom {
        padding: 1.5rem;
    }

    .scroll-indicator {
        display: none;
    }
}

/* =============================================
   RESPONSIVE DESIGN - SMALL PHONES (576px and below)
   ============================================= */

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }

    h2 {
        font-size: 1.25rem;
    }

    .hero-section {
        min-height: 80vh;
        padding: 100px 0 60px 0;
    }

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

    .hero-subtitle {
        font-size: 0.9rem;
    }

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

    .cta-button,
    .btn-primary {
        padding: 0.6rem 1.5rem;
        font-size: 0.9rem;
    }

    .navbar-brand {
        font-size: 1.2rem;
    }

    .operation-card,
    .product-card,
    .sustainability-card {
        padding: 1rem;
    }

    .card-number {
        font-size: 2rem;
    }

    .stat-number {
        font-size: 1.5rem;
    }

    .contact-form,
    .contact-info-card {
        padding: 1rem;
    }

    .form-control {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
    }

    .feature-item {
        gap: 0.75rem;
    }

    .feature-icon {
        font-size: 2rem;
    }

    .market-item {
        padding: 1rem;
        gap: 1rem;
    }

    .market-flag {
        font-size: 2rem;
    }

    .grading-container {
        grid-template-columns: 1fr;
    }

    .grade-card:hover {
        transform: translateY(-8px) scale(1.01);
    }

    .whatsapp-float {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }

    .products-checkbox {
        gap: 0.75rem;
        padding: 0.75rem;
    }
}

/* =============================================
   LANDSCAPE MODE (max-height: 600px)
   ============================================= */

@media (max-height: 600px) and (orientation: landscape) {
    .hero-section {
        height: 100vh;
    }

    .scroll-indicator {
        bottom: 15px;
    }
}

/* =============================================
   ULTRA-WIDE SCREENS (1920px and above)
   ============================================= */

@media (min-width: 1920px) {
    .container,
    .container-fluid {
        max-width: 1400px;
    }

    h1 {
        font-size: 4.5rem;
    }

    h2 {
        font-size: 3rem;
    }

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

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

    p {
        font-size: 1.1rem;
    }
}

/* =============================================
   PRINT STYLES
   ============================================= */

@media print {
    nav,
    .scroll-indicator,
    .contact-form,
    .footer,
    .whatsapp-float {
        display: none;
    }

    body {
        background: white;
        color: black;
    }

    section {
        page-break-inside: avoid;
    }

    a {
        color: #0066cc;
        text-decoration: underline;
    }
}

/* =============================================
   HIGH DPI / RETINA DISPLAYS
   ============================================= */

@media (-webkit-min-device-pixel-ratio: 2),
       (min-resolution: 192dpi) {
    img {
        image-rendering: -webkit-optimize-contrast;
    }

    .section-title::after {
        height: 2px;
    }
}

/* =============================================
   PREFERS REDUCED MOTION
   ============================================= */

@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
}

/* =============================================
   DARK MODE SUPPORT
   ============================================= */

@media (prefers-color-scheme: dark) {
    body {
        background-color: var(--primary-dark);
        color: var(--text-light);
    }
}

@media (prefers-color-scheme: light) {
    body {
        background-color: #f5f3f0;
        color: #1a1a1a;
    }

    .navbar-custom {
        background-color: rgba(245, 243, 240, 0.95) !important;
    }

    .nav-link {
        color: #1a1a1a !important;
    }
}