/* ============================================
   DEONVIKKY GROUP LIMITED - PREMIUM STYLES
   ============================================ */

/* === ROOT VARIABLES === */
:root {
    --navy-900: #0B1F3A;
    --navy-950: #070F1F;
    --navy-800: #0F2748;
    --gold: #C8A14A;
    --gold-light: #D4B25C;
    --gold-dark: #B8903A;
    --charcoal: #1D1D1D;
    --light-gray: #F5F7FA;
}

/* === BASE === */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 120px;
}

body {
    overflow-x: hidden;
}

/* === CUSTOM SCROLLBAR === */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--navy-950);
}
::-webkit-scrollbar-thumb {
    background: var(--gold);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--gold-light);
}

/* === PRELOADER === */
#preloader {
    transition: opacity 0.6s ease, visibility 0.6s ease;
}
#preloader.hidden {
    opacity: 0;
    visibility: hidden;
}
.preloader-line {
    width: 200px;
    height: 2px;
    background: rgba(200, 161, 74, 0.2);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}
.preloader-line::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 40%;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    animation: preloader-slide 1.2s ease-in-out infinite;
}
@keyframes preloader-slide {
    0% { left: -40%; }
    100% { left: 100%; }
}

/* === TYPOGRAPHY HELPERS === */
.gold-text-gradient {
    background: linear-gradient(135deg, #D4B25C 0%, #C8A14A 50%, #B8903A 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-label {
    display: flex;
    align-items: center;
    gap: 12px;
}

.section-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.2;
    color: var(--navy-900);
}
@media (min-width: 768px) {
    .section-title { font-size: 3rem; }
}

.section-title-light {
    font-family: 'Montserrat', sans-serif;
    font-weight: 800;
    font-size: 2.25rem;
    line-height: 1.2;
    color: #ffffff;
}
@media (min-width: 768px) {
    .section-title-light { font-size: 3rem; }
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    border-radius: 2px;
}

/* === NAVIGATION === */
.nav-link {
    position: relative;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    transition: color 0.3s;
    letter-spacing: 0.02em;
}
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 4px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 2px;
    background: var(--gold);
    transition: width 0.3s ease;
    border-radius: 1px;
}
.nav-link:hover, .nav-link.active {
    color: var(--gold);
}
.nav-link:hover::after, .nav-link.active::after {
    width: 20px;
}

#navbar.scrolled .nav-inner {
    background: rgba(11, 31, 58, 0.98);
    backdrop-filter: blur(12px);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.15);
}
#navbar.scrolled {
    top: 0;
}

.nav-logo-text {
    transition: color 0.3s;
}

/* === BUTTONS === */
.btn-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-900);
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 20px rgba(200, 161, 74, 0.3);
    cursor: pointer;
    border: none;
}
.btn-gold:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px rgba(200, 161, 74, 0.45);
    gap: 14px;
}

.btn-gold-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--gold-dark));
    color: var(--navy-900);
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(200, 161, 74, 0.25);
}
.btn-gold-sm:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(200, 161, 74, 0.4);
    gap: 12px;
}

.btn-outline-gold {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border: 2px solid rgba(200, 161, 74, 0.5);
    color: #ffffff;
    font-weight: 600;
    font-size: 14px;
    border-radius: 8px;
    transition: all 0.3s;
    background: rgba(200, 161, 74, 0.05);
    backdrop-filter: blur(4px);
}
.btn-outline-gold:hover {
    border-color: var(--gold);
    background: rgba(200, 161, 74, 0.12);
    transform: translateY(-2px);
}

.btn-navy-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: var(--navy-900);
    color: #ffffff;
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-navy-sm:hover {
    background: var(--navy-800);
    transform: translateY(-1px);
    gap: 12px;
}

.btn-outline-navy-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    border: 2px solid rgba(11, 31, 58, 0.2);
    color: var(--navy-900);
    font-weight: 600;
    font-size: 13px;
    border-radius: 8px;
    transition: all 0.3s;
}
.btn-outline-navy-sm:hover {
    border-color: var(--navy-900);
    background: rgba(11, 31, 58, 0.05);
    gap: 12px;
}

/* === MOBILE MENU === */
.mobile-link {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 14px 0;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s;
}
.mobile-link:hover {
    color: var(--gold);
    padding-left: 8px;
}
.mobile-link span {
    font-size: 12px;
    color: var(--gold);
    font-weight: 700;
    width: 24px;
}

/* === HERO === */
.hero-bg {
    background: linear-gradient(135deg, #070F1F 0%, #0B1F3A 40%, #0F2748 100%);
}

.hero-grid {
    background-image:
        linear-gradient(rgba(200, 161, 74, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(200, 161, 74, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
    animation: grid-move 20s linear infinite;
}
@keyframes grid-move {
    0% { background-position: 0 0; }
    100% { background-position: 60px 60px; }
}

.hero-glow {
    background: radial-gradient(ellipse at 50% 40%, rgba(200, 161, 74, 0.12) 0%, transparent 60%);
    animation: glow-pulse 4s ease-in-out infinite alternate;
}
@keyframes glow-pulse {
    0% { opacity: 0.6; }
    100% { opacity: 1; }
}

/* Particles */
.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--gold);
    border-radius: 50%;
    opacity: 0;
    box-shadow: 0 0 6px rgba(200, 161, 74, 0.5);
    animation: particle-float 15s linear infinite;
    animation-delay: calc(var(--i) * 1.5s);
    left: calc(var(--i) * 8%);
}
@keyframes particle-float {
    0% {
        bottom: -10px;
        opacity: 0;
    }
    10% { opacity: 0.8; }
    90% { opacity: 0.4; }
    100% {
        bottom: 100%;
        opacity: 0;
        transform: translateX(40px);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    width: 28px;
    height: 46px;
    border: 2px solid rgba(200, 161, 74, 0.4);
    border-radius: 14px;
    display: flex;
    justify-content: center;
    padding-top: 6px;
}
.scroll-dot {
    width: 4px;
    height: 8px;
    background: var(--gold);
    border-radius: 2px;
    animation: scroll-dot-anim 1.8s ease-in-out infinite;
}
@keyframes scroll-dot-anim {
    0% { transform: translateY(0); opacity: 1; }
    100% { transform: translateY(16px); opacity: 0; }
}

/* === REVEAL ANIMATIONS === */
.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), transform 0.8s cubic-bezier(0.16, 1, 0.3, 1);
}
.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* === PILLAR CARDS === */
.pillar-card {
    position: relative;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 32px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
}
.pillar-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--gold-dark));
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s;
}
.pillar-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
    border-color: transparent;
}
.pillar-card:hover::before {
    transform: scaleX(1);
}
.pillar-number {
    position: absolute;
    top: 24px;
    right: 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 48px;
    font-weight: 900;
    color: rgba(11, 31, 58, 0.04);
    line-height: 1;
}
.pillar-icon {
    width: 60px;
    height: 60px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    transition: all 0.4s;
}
.pillar-card:hover .pillar-icon {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--navy-900);
    transform: rotate(-5deg);
}

/* === INDUSTRY CARDS === */
.industry-card {
    position: relative;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 24px;
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    overflow: hidden;
    cursor: default;
}
.industry-card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(200, 161, 74, 0.08), transparent);
    opacity: 0;
    transition: opacity 0.35s;
}
.industry-card:hover {
    border-color: rgba(200, 161, 74, 0.3);
    transform: translateY(-4px);
}
.industry-card:hover::after {
    opacity: 1;
}
.industry-card:hover .industry-icon {
    color: var(--gold);
    transform: scale(1.1);
}
.industry-icon {
    color: rgba(200, 161, 74, 0.7);
    transition: all 0.35s;
}

/* === COMPANY CARDS === */
.company-card {
    position: relative;
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    border: 1px solid #e5e7eb;
    cursor: pointer;
}
.company-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 24px 60px rgba(11, 31, 58, 0.15);
    border-color: transparent;
}
.company-card-img {
    height: 180px;
    overflow: hidden;
    position: relative;
}
.company-card-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}
.company-card:hover .company-card-img img {
    transform: scale(1.08);
}
.company-card-img::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 31, 58, 0.5), transparent);
}
.company-ecommerce-badge {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--navy-900);
    font-size: 10px;
    font-weight: 700;
    padding: 5px 12px;
    border-radius: 20px;
    letter-spacing: 0.05em;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 4px;
}
.company-card-body {
    padding: 24px;
}
.company-card-category {
    font-size: 11px;
    color: var(--gold);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}
.company-card-name {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--navy-900);
    margin-top: 8px;
    line-height: 1.3;
}
.company-card-motto {
    font-size: 13px;
    color: #6b7280;
    margin-top: 6px;
    font-style: italic;
}
.company-card-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    transition: gap 0.3s;
}
.company-card:hover .company-card-link {
    color: var(--gold);
    gap: 10px;
}

/* === FILTER BUTTONS === */
.filter-btn {
    padding: 8px 18px;
    font-size: 13px;
    font-weight: 500;
    border-radius: 20px;
    border: 1px solid rgba(11, 31, 58, 0.15);
    color: #6b7280;
    transition: all 0.3s;
    cursor: pointer;
    background: transparent;
}
.filter-btn:hover {
    border-color: var(--gold);
    color: var(--navy-900);
}
.filter-btn.active {
    background: var(--navy-900);
    color: #ffffff;
    border-color: var(--navy-900);
}

/* === ESG CARDS === */
.esg-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s;
}
.esg-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11, 31, 58, 0.1);
}
.esg-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, rgba(200, 161, 74, 0.1), rgba(200, 161, 74, 0.05));
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    border: 1px solid rgba(200, 161, 74, 0.2);
}
.esg-bar {
    height: 4px;
    background: #e5e7eb;
    border-radius: 2px;
    overflow: hidden;
    margin-top: 20px;
}
.esg-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--gold-light), var(--gold-dark));
    border-radius: 2px;
    transition: width 1.2s cubic-bezier(0.16, 1, 0.3, 1);
    width: 0;
}
.esg-card.in-view .esg-fill {
    width: var(--w, 80%);
}

/* === INVESTOR CARDS === */
.investor-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s;
}
.investor-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 161, 74, 0.3);
    transform: translateY(-4px);
}
.investor-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--gold);
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    transition: gap 0.3s;
}
.investor-card:hover .investor-link {
    gap: 10px;
}

/* === REPORT CARDS === */
.report-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
    cursor: pointer;
}
.report-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(200, 161, 74, 0.3);
}
.report-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    background: rgba(200, 161, 74, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

/* === FOUNDATION === */
.foundation-item {
    display: flex;
    align-items: center;
    gap: 12px;
    color: #4b5563;
    font-size: 15px;
}

/* === JOB CARDS === */
.job-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 16px;
    padding: 28px;
    transition: all 0.4s;
}
.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(11, 31, 58, 0.1);
    border-color: rgba(200, 161, 74, 0.3);
}
.job-tag {
    display: inline-block;
    padding: 4px 12px;
    background: rgba(200, 161, 74, 0.1);
    color: var(--gold-dark);
    font-size: 11px;
    font-weight: 600;
    border-radius: 20px;
    letter-spacing: 0.03em;
}
.job-apply {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s;
}
.job-card:hover .job-apply {
    color: var(--gold);
    gap: 10px;
}

/* === PROCESS STEPS === */
.process-step {
    text-align: center;
    position: relative;
}
.process-num {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--gold);
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    border: 2px solid rgba(200, 161, 74, 0.2);
}

/* === NEWS CARDS === */
.news-card {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s;
    border: 1px solid #e5e7eb;
}
.news-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 50px rgba(11, 31, 58, 0.12);
}
.news-image {
    position: relative;
    height: 200px;
    overflow: hidden;
}
.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s;
}
.news-card:hover .news-image img {
    transform: scale(1.06);
}
.news-category {
    position: absolute;
    top: 12px;
    left: 12px;
    background: rgba(11, 31, 58, 0.9);
    color: var(--gold);
    font-size: 11px;
    font-weight: 600;
    padding: 5px 12px;
    border-radius: 20px;
    backdrop-filter: blur(4px);
}
.news-body {
    padding: 24px;
}
.news-date {
    display: flex;
    align-items: center;
    gap: 6px;
    color: #9ca3af;
    font-size: 12px;
}
.news-title {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 17px;
    color: var(--navy-900);
    margin-top: 10px;
    line-height: 1.4;
    transition: color 0.3s;
}
.news-card:hover .news-title {
    color: var(--gold-dark);
}
.news-excerpt {
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
    margin-top: 8px;
}
.news-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--navy-900);
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
    transition: all 0.3s;
}
.news-card:hover .news-link {
    color: var(--gold);
    gap: 10px;
}

/* === MVV ACCORDION === */
.mvv-item {
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s;
}
.mvv-item.open {
    border-color: rgba(200, 161, 74, 0.3);
    box-shadow: 0 4px 20px rgba(11, 31, 58, 0.06);
}
.mvv-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    cursor: pointer;
    transition: background 0.3s;
}
.mvv-header:hover {
    background: var(--light-gray);
}
.mvv-chevron {
    transition: transform 0.3s;
}
.mvv-item.open .mvv-chevron {
    transform: rotate(180deg);
    color: var(--gold);
}
.mvv-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 20px;
}
.mvv-item.open .mvv-content {
    max-height: 300px;
    padding: 0 20px 20px;
}
.value-chip {
    display: inline-flex;
    align-items: center;
    padding: 6px 16px;
    background: rgba(200, 161, 74, 0.08);
    border: 1px solid rgba(200, 161, 74, 0.2);
    color: var(--gold-dark);
    font-size: 13px;
    font-weight: 600;
    border-radius: 20px;
    transition: all 0.3s;
}
.value-chip:hover {
    background: rgba(200, 161, 74, 0.15);
    transform: translateY(-2px);
}

/* === CONTACT === */
.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}
.contact-icon {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: rgba(200, 161, 74, 0.1);
    border: 1px solid rgba(200, 161, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
    flex-shrink: 0;
}

.contact-form {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 32px;
    backdrop-filter: blur(10px);
}
.form-label {
    display: block;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 6px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.form-input {
    width: 100%;
    padding: 12px 16px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    transition: all 0.3s;
    font-family: 'Inter', sans-serif;
}
.form-input:focus {
    outline: none;
    border-color: var(--gold);
    background: rgba(255, 255, 255, 0.08);
}
.form-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* === FOOTER === */
.footer-heading {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    font-size: 14px;
    color: #ffffff;
    margin-bottom: 20px;
    letter-spacing: 0.03em;
}
.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.footer-links a {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    transition: all 0.3s;
}
.footer-links a:hover {
    color: var(--gold);
    padding-left: 4px;
}
.social-icon {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.6);
    transition: all 0.3s;
}
.social-icon:hover {
    background: rgba(200, 161, 74, 0.15);
    border-color: rgba(200, 161, 74, 0.3);
    color: var(--gold);
    transform: translateY(-2px);
}
.newsletter-input {
    padding: 12px 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: #ffffff;
    font-size: 14px;
    min-width: 280px;
    transition: all 0.3s;
}
.newsletter-input:focus {
    outline: none;
    border-color: var(--gold);
}

/* === CHAT WIDGET === */
.chat-toggle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(11, 31, 58, 0.4);
    transition: all 0.3s;
    position: relative;
}
.chat-toggle:hover {
    transform: scale(1.05);
    box-shadow: 0 12px 40px rgba(200, 161, 74, 0.4);
}
.chat-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    background: var(--gold);
    color: var(--navy-900);
    font-size: 9px;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    letter-spacing: 0.05em;
}

.chat-panel {
    position: absolute;
    bottom: 70px;
    right: 0;
    width: 360px;
    max-width: calc(100vw - 48px);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 24px 60px rgba(11, 31, 58, 0.25);
    overflow: hidden;
    animation: chat-open 0.3s ease;
}
@keyframes chat-open {
    from { opacity: 0; transform: translateY(10px) scale(0.95); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.chat-header {
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.chat-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: rgba(200, 161, 74, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--gold);
}
.chat-messages {
    height: 320px;
    overflow-y: auto;
    padding: 20px;
    background: var(--light-gray);
}
.chat-msg {
    max-width: 80%;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.5;
    margin-bottom: 12px;
    animation: msg-appear 0.3s ease;
}
@keyframes msg-appear {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}
.chat-msg.bot {
    background: #ffffff;
    color: var(--navy-900);
    border: 1px solid #e5e7eb;
    border-bottom-left-radius: 4px;
}
.chat-msg.user {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-dark));
    color: var(--navy-900);
    margin-left: auto;
    border-bottom-right-radius: 4px;
    font-weight: 500;
}
.chat-suggestions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 8px;
}
.chat-suggestion {
    padding: 6px 12px;
    background: #ffffff;
    border: 1px solid rgba(200, 161, 74, 0.3);
    color: var(--gold-dark);
    font-size: 12px;
    border-radius: 20px;
    transition: all 0.3s;
    cursor: pointer;
}
.chat-suggestion:hover {
    background: rgba(200, 161, 74, 0.1);
}
.chat-input-area {
    display: flex;
    gap: 8px;
    padding: 12px;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
}
.chat-input {
    flex: 1;
    padding: 10px 14px;
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    font-size: 13px;
    transition: border-color 0.3s;
}
.chat-input:focus {
    outline: none;
    border-color: var(--gold);
}
.chat-send-btn {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, var(--navy-900), var(--navy-800));
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
    flex-shrink: 0;
}
.chat-send-btn:hover {
    transform: scale(1.05);
}

/* === WHATSAPP BUTTON === */
.whatsapp-btn {
    position: fixed;
    bottom: 24px;
    left: 24px;
    z-index: 50;
    width: 52px;
    height: 52px;
    border-radius: 50%;
    background: #25D366;
    color: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 24px rgba(37, 211, 102, 0.4);
    transition: all 0.3s;
}
.whatsapp-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 12px 32px rgba(37, 211, 102, 0.5);
}

/* === SCROLL TO TOP === */
.scroll-top-btn {
    position: fixed;
    bottom: 90px;
    right: 24px;
    z-index: 49;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: rgba(11, 31, 58, 0.9);
    backdrop-filter: blur(8px);
    color: var(--gold);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 20px rgba(11, 31, 58, 0.3);
    transition: all 0.3s;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
}
.scroll-top-btn.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}
.scroll-top-btn:hover {
    background: var(--navy-900);
    transform: translateY(-2px);
}

/* === MODAL === */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 100;
    background: rgba(7, 15, 31, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: modal-fade-in 0.3s ease;
}
@keyframes modal-fade-in {
    from { opacity: 0; }
    to { opacity: 1; }
}
.modal-container {
    background: #ffffff;
    border-radius: 20px;
    max-width: 720px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    animation: modal-slide-up 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}
@keyframes modal-slide-up {
    from { opacity: 0; transform: translateY(30px) scale(0.97); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}
.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--navy-900);
    transition: all 0.3s;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}
.modal-close:hover {
    background: var(--navy-900);
    color: var(--gold);
    transform: rotate(90deg);
}
.modal-hero {
    height: 240px;
    overflow: hidden;
    position: relative;
    border-radius: 20px 20px 0 0;
}
.modal-hero img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.modal-hero::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(11, 31, 58, 0.9), rgba(11, 31, 58, 0.3));
}
.modal-hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    z-index: 2;
}
.modal-body {
    padding: 28px;
}
.modal-pillar {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px;
    background: var(--light-gray);
    border-radius: 10px;
    margin-bottom: 10px;
}
.modal-pillar i {
    color: var(--gold);
    flex-shrink: 0;
    margin-top: 2px;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .section-title { font-size: 1.875rem; }
    .section-title-light { font-size: 1.875rem; }
    .chat-panel { width: calc(100vw - 48px); }
}

@media (max-width: 640px) {
    .top-bar { display: none; }
    #navbar { top: 0; }
}