/* ==========================================================================
   ALTURA COFFEE EXPORTS — ESTILO DEMO OFICIAL (1:1 CON EL DISEÑO DEL CLIENTE)
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:ital,wght@0,400;0,600;0,700;0,800;0,900;1,400;1,600&family=Inter:wght@300;400;500;600;700&display=swap');

:root {
    --bg-main: #0c0b0a;
    --surface-dark: #12100e;
    --surface-card: #171512;
    --surface-border: rgba(197, 160, 89, 0.18);
    --surface-border-gold: rgba(197, 160, 89, 0.45);

    --primary-gold: #c5a059;
    --primary-gold-light: #dfbe7d;
    --primary-gold-hover: #d4af65;

    --text-white: #f5f0eb;
    --text-body: #ded7ce;
    --text-muted: #c4bbb0;
    --text-dim: #9e9385;

    --font-heading: 'Playfair Display', Georgia, serif;
    --font-body: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

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

html, body {
    background-color: var(--bg-main);
    color: var(--text-body);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.65;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

/* Sobreescrituras de contraste para tipografía */
h1, h2, h3, h4, h5, h6, .h1, .h2, .h3, .h4, .h5, .h6 {
    color: var(--text-white);
    font-family: var(--font-heading);
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-white {
    color: var(--text-white) !important;
}

.text-gold {
    color: var(--primary-gold) !important;
}

.lead {
    color: var(--text-muted) !important;
    font-size: 1.15rem;
    line-height: 1.7;
}

/* Enlaces universales (evita azul por defecto del navegador) */
a {
    color: var(--primary-gold);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

a:hover {
    color: var(--primary-gold-light);
}

.hover-gold:hover {
    color: var(--primary-gold) !important;
}

/* ==========================================================================
   HEADER FLOTANTE TRANSPARENTE (1:1 DEMO)
   ========================================================================== */
.demo-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: linear-gradient(to bottom, rgba(14, 12, 10, 0.9) 0%, rgba(14, 12, 10, 0.4) 60%, transparent 100%);
    transition: background 0.3s ease;
    border-bottom: none;
}

.demo-header.scrolled {
    background: rgba(12, 11, 10, 0.96) !important;
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(197, 160, 89, 0.2) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.demo-header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.demo-logo img {
    max-height: 46px;
    height: auto;
    width: auto;
    max-width: 220px;
    object-fit: contain;
}

.demo-nav {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.demo-nav-link {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: rgba(245, 240, 235, 0.8);
    text-decoration: none;
    transition: color 0.2s ease, opacity 0.2s ease;
}

.demo-nav-link:hover, .demo-nav-link.active {
    color: var(--primary-gold) !important;
    opacity: 1;
}

.demo-btn-cotizar {
    font-size: 0.875rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    color: var(--primary-gold) !important;
    border: 1px solid rgba(197, 160, 89, 0.6);
    background: transparent;
    padding: 0.5rem 1.4rem;
    text-decoration: none;
    transition: all 0.3s ease;
    border-radius: 2px;
}

.demo-btn-cotizar:hover {
    background: rgba(197, 160, 89, 0.12);
    border-color: var(--primary-gold);
    color: #fff !important;
}

/* ==========================================================================
   HERO 100VH FULLSCREEN (1:1 DEMO)
   ========================================================================== */
.demo-hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background: #0c0b0a;
}

.demo-hero-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    z-index: 1;
}

.demo-hero-overlay {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(to bottom, rgba(14, 12, 10, 0.55) 0%, rgba(14, 12, 10, 0.65) 55%, #0c0b0a 100%);
}

.demo-hero-content {
    position: relative;
    z-index: 10;
    max-width: 980px;
    margin: 0 auto;
    padding: 7rem 1.5rem 4rem;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.demo-hero-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 1.5rem;
}

.demo-hero-title {
    font-family: var(--font-heading);
    font-size: clamp(3rem, 7vw, 5.8rem);
    font-weight: 700;
    line-height: 1.08;
    color: #f5f0eb;
    margin-bottom: 1.5rem;
}

.demo-hero-title-gold {
    color: var(--primary-gold);
}

.demo-hero-subtitle {
    font-size: 1.15rem;
    line-height: 1.65;
    color: rgba(245, 240, 235, 0.78);
    max-width: 680px;
    margin: 0 auto 2.5rem;
}

.demo-hero-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 1.25rem;
}

.demo-btn-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-gold);
    color: #12100e !important;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border: 2px solid var(--primary-gold);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.demo-btn-solid:hover {
    background-color: var(--primary-gold-hover);
    border-color: var(--primary-gold-hover);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.demo-btn-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background-color: transparent;
    color: var(--primary-gold) !important;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 1rem 2.2rem;
    border: 2px solid rgba(197, 160, 89, 0.5);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.demo-btn-outline:hover {
    border-color: var(--primary-gold);
    background-color: rgba(197, 160, 89, 0.1);
    color: #fff !important;
    transform: translateY(-2px);
}

.demo-hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    pointer-events: none;
}

.demo-hero-scroll-line {
    width: 1px;
    height: 44px;
    background: linear-gradient(to bottom, var(--primary-gold), transparent);
    animation: pulse-line 2s infinite ease-in-out;
}

@keyframes pulse-line {
    0%, 100% { opacity: 0.3; transform: scaleY(0.7); }
    50% { opacity: 1; transform: scaleY(1); }
}

/* ==========================================================================
   SECCIÓN DE MÉTRICAS (1:1 DEMO)
   ========================================================================== */
.demo-metrics-section {
    background: #141210;
    border-top: 1px solid var(--surface-border);
    border-bottom: 1px solid var(--surface-border);
    padding: 3.5rem 0;
}

.demo-metric-number {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.75rem);
    font-weight: 700;
    color: var(--primary-gold);
    line-height: 1.1;
    margin-bottom: 0.4rem;
}

.demo-metric-label {
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    color: var(--text-muted);
}

/* ==========================================================================
   SECCIÓN DE VARIEDADES (1:1 DEMO)
   ========================================================================== */
.demo-varieties-section {
    background: var(--bg-main);
    padding: 6rem 0;
}

.demo-section-header {
    text-align: center;
    max-width: 720px;
    margin: 0 auto 4rem;
}

.demo-section-tag {
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    text-transform: uppercase;
    color: var(--primary-gold);
    margin-bottom: 1rem;
    display: block;
}

.demo-section-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 700;
    color: #f5f0eb;
    margin-bottom: 1.25rem;
}

.demo-section-desc {
    font-size: 1rem;
    color: var(--text-muted);
    line-height: 1.7;
}

.demo-variety-card {
    background: #151311;
    border: 1px solid var(--surface-border);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 100%;
    transition: transform 0.4s ease, border-color 0.4s ease, box-shadow 0.4s ease;
}

.demo-variety-card:hover {
    border-color: var(--surface-border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.5);
}

.demo-variety-img-wrap {
    position: relative;
    aspect-ratio: 4/3;
    overflow: hidden;
}

.demo-variety-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.demo-variety-card:hover .demo-variety-img-wrap img {
    transform: scale(1.05);
}

.demo-variety-body {
    padding: 1.75rem;
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
    flex-grow: 1;
}

.demo-variety-name {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary-gold);
    margin: 0;
}

.demo-variety-origin {
    font-size: 0.78rem;
    color: var(--text-muted);
    letter-spacing: 0.04em;
}

.demo-variety-notes {
    font-family: var(--font-heading);
    font-style: italic;
    font-size: 0.92rem;
    color: rgba(245, 240, 235, 0.85);
    margin: 0.2rem 0;
}

.demo-variety-desc {
    font-size: 0.88rem;
    line-height: 1.6;
    color: var(--text-muted);
    margin-top: 0.2rem;
}

/* ==========================================================================
   SECCIÓN DE PROCESO DE EXPORTACIÓN (1:1 DEMO)
   ========================================================================== */
.demo-process-section {
    position: relative;
    background: #141210;
    padding: 6rem 0;
    overflow: hidden;
}

.demo-process-bg {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.12;
    pointer-events: none;
}

.demo-process-card {
    border: 1px solid var(--surface-border);
    padding: 2rem 1.5rem;
    height: 100%;
    background: rgba(18, 16, 14, 0.6);
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    transition: border-color 0.3s ease;
}

.demo-process-card:hover {
    border-color: var(--surface-border-gold);
}

.demo-process-num {
    font-family: var(--font-heading);
    font-size: 3rem;
    font-weight: 700;
    color: rgba(197, 160, 89, 0.35);
    line-height: 1;
}

.demo-process-card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: #f5f0eb;
    margin: 0;
}

.demo-process-card-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
    margin: 0;
}

/* ==========================================================================
   BANNER DE IMAGEN CON FRASE (1:1 DEMO)
   ========================================================================== */
.demo-quote-banner {
    position: relative;
    height: 320px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.demo-quote-banner img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.demo-quote-banner-overlay {
    position: absolute;
    inset: 0;
    background: rgba(14, 12, 10, 0.65);
}

.demo-quote-banner-text {
    position: relative;
    z-index: 10;
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.5rem);
    font-weight: 700;
    color: var(--primary-gold);
    text-align: center;
    padding: 0 1.5rem;
}

/* ==========================================================================
   CALL TO ACTION FINAL (1:1 DEMO)
   ========================================================================== */
.demo-cta-section {
    background: var(--bg-main);
    padding: 6rem 0;
    text-align: center;
}

.demo-cta-inner {
    max-width: 780px;
    margin: 0 auto;
}

/* ==========================================================================
   FOOTER (1:1 DEMO)
   ========================================================================== */
.demo-footer {
    background: var(--surface-dark);
    border-top: 1px solid var(--surface-border);
    padding: 4.5rem 0 2rem;
}

.demo-footer-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* ==========================================================================
   BOTÓN WHATSAPP FLOTANTE
   ========================================================================== */
.whatsapp-float-container {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    z-index: 9999;
}

.whatsapp-float-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    background: #25D366;
    color: #fff;
    border-radius: 50%;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.45);
    text-decoration: none;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.whatsapp-float-btn:hover {
    transform: scale(1.1) translateY(-2px);
    box-shadow: 0 8px 25px rgba(37, 211, 102, 0.65);
}

.whatsapp-float-btn svg {
    width: 30px;
    height: 30px;
}

.whatsapp-tooltip {
    position: absolute;
    right: 68px;
    white-space: nowrap;
    background: #181512;
    color: #f5f0eb;
    border: 1px solid var(--primary-gold);
    padding: 0.45rem 0.85rem;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 600;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
}

.whatsapp-float-container:hover .whatsapp-tooltip {
    opacity: 1;
    visibility: visible;
}

/* ==========================================================================
   COMPONENTES GLOBALES DE ALTA VISIBILIDAD (1:1 DEMO)
   ========================================================================== */

/* Páginas Interiores (despeje de 100px para el header flotante) */
.interior-page {
    padding-top: 100px;
    padding-bottom: 5rem;
    background: linear-gradient(180deg, #13110f 0%, #0c0b0a 100%);
    min-height: calc(100vh - 80px);
}

/* Tarjetas Gold */
.gold-card {
    background: var(--surface-card);
    border: 1px solid var(--surface-border);
    border-radius: 4px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.gold-card:hover {
    border-color: var(--surface-border-gold);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

/* Badges */
.gold-badge {
    display: inline-block;
    background: rgba(197, 160, 89, 0.12);
    border: 1px solid rgba(197, 160, 89, 0.35);
    color: var(--primary-gold-light);
    font-size: 0.75rem;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    padding: 0.35rem 0.85rem;
    border-radius: 2px;
}

.badge-sca {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #c5a059 0%, #997433 100%);
    color: #0c0b0a !important;
    font-weight: 800;
    font-size: 0.78rem;
    letter-spacing: 0.05em;
    padding: 0.3rem 0.75rem;
    border-radius: 2px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.3);
}

/* Botones Gold */
.btn-gold-solid {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: var(--primary-gold);
    color: #12100e !important;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    border: 2px solid var(--primary-gold);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-gold-solid:hover {
    background-color: var(--primary-gold-hover);
    border-color: var(--primary-gold-hover);
    color: #12100e !important;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(197, 160, 89, 0.35);
}

.btn-gold-outline {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: transparent;
    color: var(--primary-gold) !important;
    font-size: 0.84rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    padding: 0.85rem 1.8rem;
    border: 1.5px solid rgba(197, 160, 89, 0.6);
    border-radius: 2px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-gold-outline:hover {
    background-color: rgba(197, 160, 89, 0.12);
    border-color: var(--primary-gold);
    color: #fff !important;
    transform: translateY(-2px);
}

/* Enlaces del Footer de Alta Legibilidad */
.demo-footer-link {
    color: #d1c7bc !important;
    font-size: 0.88rem;
    text-decoration: none;
    transition: color 0.2s ease, transform 0.2s ease;
    display: inline-block;
}

.demo-footer-link:hover {
    color: var(--primary-gold) !important;
    transform: translateX(3px);
}

.demo-footer-contact-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #ded7ce;
    font-size: 0.88rem;
}

/* ==========================================================================
   SISTEMA DE FORMULARIOS B2B LUXURY & PROFESIONAL
   ========================================================================== */
.form-gold-label,
label.form-label {
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--primary-gold-light);
    margin-bottom: 0.5rem;
}

.form-gold-input,
.form-gold-select,
.form-gold-textarea,
.form-control,
.form-select {
    display: block;
    width: 100%;
    background-color: rgba(22, 20, 17, 0.95) !important;
    border: 1px solid rgba(197, 160, 89, 0.38) !important;
    color: #f5f0eb !important;
    font-family: var(--font-body);
    font-size: 0.95rem;
    padding: 0.85rem 1.15rem;
    border-radius: 4px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.4);
    transition: border-color 0.25s ease, box-shadow 0.25s ease, background-color 0.25s ease;
    outline: none;
}

.form-gold-input::placeholder,
.form-gold-textarea::placeholder,
.form-control::placeholder {
    color: rgba(222, 215, 206, 0.42) !important;
    font-size: 0.9rem;
}

.form-gold-input:focus,
.form-gold-select:focus,
.form-gold-textarea:focus,
.form-control:focus,
.form-select:focus {
    background-color: rgba(28, 25, 21, 0.98) !important;
    border-color: var(--primary-gold) !important;
    color: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(197, 160, 89, 0.25), inset 0 1px 3px rgba(0, 0, 0, 0.3) !important;
    outline: none;
}

.form-gold-select,
.form-select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23c5a059' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
    background-repeat: no-repeat !important;
    background-position: right 1.1rem center !important;
    background-size: 16px 16px !important;
    padding-right: 2.8rem !important;
    cursor: pointer;
}

.form-gold-select option,
.form-select option {
    background-color: #171512 !important;
    color: #f5f0eb !important;
    padding: 0.6rem 1rem;
}

.form-gold-textarea {
    display: block;
    width: 100%;
    min-height: 125px;
    resize: vertical;
    line-height: 1.6;
}

/* Tarjeta contenedora de formulario B2B */
.form-b2b-card {
    background: rgba(18, 16, 14, 0.96);
    border: 1px solid rgba(197, 160, 89, 0.35);
    border-radius: 6px;
    box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}