/* ============================================
   Grupo Bardo - Estilos CSS
   Diseño Corporativo Elegante
   ============================================ */

/* Variables CSS - Corporate Elegant Theme */
:root {
    /* Colores principales - Elegante */
    --primary-navy: #1e3a5f;          /* Azul marino elegante */
    --primary-gold: #D4AF37;          /* Dorado corporativo */
    --accent-teal: #4a9d9e;           /* Verde azulado sofisticado */
    --accent-silver: #C0C0C0;         /* Plateado elegante */
    
    /* Gradientes elegantes */
    --gradient-primary: linear-gradient(135deg, #1e3a5f 0%, #2c5282 100%);
    --gradient-gold: linear-gradient(135deg, #D4AF37 0%, #B8941F 100%);
    --gradient-elegant: linear-gradient(180deg, #ffffff 0%, #f8f9fa 100%);
    --gradient-dark: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    
    /* Colores de fondo */
    --bg-white: #ffffff;
    --bg-light: #f8f9fa;
    --bg-gray: #e9ecef;
    --bg-dark: #1a1a1a;
    --bg-navy: #0d1b2a;
    
    /* Colores de texto */
    --text-dark: #212529;
    --text-body: #495057;
    --text-light: #6c757d;
    --text-white: #ffffff;
    
    /* Sombras elegantes */
    --shadow-sm: 0 2px 4px rgba(0,0,0,0.08);
    --shadow-md: 0 4px 12px rgba(0,0,0,0.1);
    --shadow-lg: 0 8px 24px rgba(0,0,0,0.12);
    --shadow-xl: 0 12px 48px rgba(0,0,0,0.15);
    --shadow-gold: 0 8px 32px rgba(212, 175, 55, 0.2);
    
    /* Fuentes */
    --font-serif: 'Playfair Display', serif;
    --font-sans: 'Inter', sans-serif;
    
    /* Bordes */
    --border-light: 1px solid rgba(0,0,0,0.08);
    --border-gold: 2px solid var(--primary-gold);
    
    /* Transiciones */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-slow: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset y Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-body);
    background: var(--bg-white);
    overflow-x: hidden;
}

/* Elegant Background */
.elegant-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: var(--bg-white);
}

.geometric-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0.03;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(30, 58, 95, 0.1) 35px, rgba(30, 58, 95, 0.1) 70px),
        repeating-linear-gradient(-45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.1) 35px, rgba(212, 175, 55, 0.1) 70px);
}

.gradient-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at top, rgba(255,255,255,0.8) 0%, rgba(248,249,250,0.9) 100%);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-serif);
    font-weight: 700;
    line-height: 1.2;
    color: var(--text-dark);
}

h1 { font-size: clamp(2.5rem, 6vw, 4rem); }
h2 { font-size: clamp(2rem, 5vw, 3rem); }
h3 { font-size: clamp(1.5rem, 4vw, 2rem); }
h4 { font-size: clamp(1.2rem, 3vw, 1.5rem); }

p {
    margin-bottom: 1rem;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Preloader Elegant */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: var(--bg-white);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.preloader-content {
    text-align: center;
}

.logo-animation {
    position: relative;
    width: 100px;
    height: 100px;
    margin: 0 auto 30px;
}

.logo-circle {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    animation: pulse-elegant 2s ease-in-out infinite;
}

.logo-circle:nth-child(1) {
    animation-delay: 0s;
}

.logo-circle:nth-child(2) {
    animation-delay: 0.5s;
}

.logo-circle:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse-elegant {
    0%, 100% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1);
        opacity: 1;
    }
}

.loading-text {
    font-family: var(--font-serif);
    font-size: 1.5rem;
    color: var(--primary-navy);
    letter-spacing: 3px;
    animation: fade-in-out 2s ease-in-out infinite;
}

@keyframes fade-in-out {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-sm);
    z-index: 1000;
    padding: 1.2rem 0;
    transition: var(--transition);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    box-shadow: var(--shadow-md);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-symbol {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    color: var(--primary-gold);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-serif);
    font-size: 1.2rem;
    font-weight: 700;
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.logo-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-serif);
    font-size: 1.3rem;
    color: var(--primary-navy);
    font-weight: 700;
}

.brand-tagline {
    font-size: 0.75rem;
    color: var(--text-light);
    font-style: italic;
}

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

.nav-link {
    color: var(--text-body);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 0;
    transition: var(--transition);
    position: relative;
}

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

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

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

.btn-consultation {
    background: var(--gradient-gold);
    color: var(--text-dark) !important;
    padding: 10px 24px !important;
    border-radius: 25px;
    font-weight: 600 !important;
    box-shadow: var(--shadow-md);
}

.btn-consultation:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-gold);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 0 80px;
    position: relative;
    background: var(--gradient-elegant);
}

.hero-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.5;
}

.hero-particles::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="%23D4AF37" opacity="0.3"/></svg>') repeat;
    animation: float-particles 20s linear infinite;
}

@keyframes float-particles {
    0% { transform: translate(0, 0); }
    100% { transform: translate(-50%, -50%); }
}

.hero-content {
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-white);
    padding: 10px 25px;
    border-radius: 30px;
    box-shadow: var(--shadow-md);
    margin-bottom: 30px;
}

.hero-badge i {
    color: var(--primary-gold);
}

.hero-badge span {
    color: var(--text-body);
    font-size: 0.9rem;
    font-weight: 500;
}

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

.title-line-1,
.title-line-2,
.title-line-3 {
    display: block;
    font-family: var(--font-serif);
}

.title-line-1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: var(--text-body);
    font-weight: 400;
}

.title-line-2 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary-navy);
    margin: 10px 0;
}

.title-line-3 {
    font-size: clamp(2.5rem, 6vw, 4rem);
    color: var(--primary-gold);
    font-weight: 900;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 40px;
    line-height: 1.8;
}

.hero-actions {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin-bottom: 60px;
    flex-wrap: wrap;
}

/* Buttons Elegant */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 15px 35px;
    font-weight: 500;
    border-radius: 30px;
    transition: var(--transition);
    text-decoration: none;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-md);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.btn-outline {
    background: transparent;
    color: var(--primary-navy);
    border: 2px solid var(--primary-navy);
}

.btn-outline:hover {
    background: var(--primary-navy);
    color: var(--text-white);
    transform: translateY(-3px);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 50px;
    flex-wrap: wrap;
}

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

.stat-value {
    font-family: var(--font-serif);
    font-size: 3rem;
    font-weight: 700;
    color: var(--primary-navy);
}

.stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-divider {
    width: 1px;
    height: 60px;
    background: var(--border-light);
}

/* Scroll Indicator */
.hero-scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    animation: bounce-elegant 2s infinite;
}

@keyframes bounce-elegant {
    0%, 100% { transform: translateX(-50%) translateY(0); }
    50% { transform: translateX(-50%) translateY(-10px); }
}

.mouse-icon {
    width: 30px;
    height: 50px;
    border: 2px solid var(--primary-navy);
    border-radius: 15px;
    margin: 0 auto 10px;
    position: relative;
}

.wheel {
    width: 4px;
    height: 10px;
    background: var(--primary-gold);
    border-radius: 2px;
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    animation: scroll-wheel 2s infinite;
}

@keyframes scroll-wheel {
    0% { top: 10px; opacity: 1; }
    100% { top: 30px; opacity: 0; }
}

.hero-scroll-indicator span {
    color: var(--text-light);
    font-size: 0.85rem;
}

/* Sections */
section {
    padding: 100px 0;
    position: relative;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-subtitle {
    display: inline-block;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.section-title {
    color: var(--primary-navy);
    font-family: var(--font-serif);
}

/* About Section */
.about-section {
    background: var(--bg-light);
}

.about-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 60px;
}

.about-intro {
    margin-bottom: 30px;
}

.about-intro h3 {
    color: var(--primary-navy);
    margin-bottom: 20px;
}

.lead {
    font-size: 1.1rem;
    color: var(--text-body);
    line-height: 1.8;
}

.company-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-bottom: 30px;
}

.detail-card {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
}

.detail-card i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.detail-info {
    display: flex;
    flex-direction: column;
}

.detail-label {
    font-size: 0.85rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.detail-value {
    font-weight: 600;
    color: var(--text-dark);
}

.detail-value.active {
    color: var(--accent-teal);
}

.philosophy {
    padding: 25px;
    background: var(--bg-white);
    border-left: 3px solid var(--primary-gold);
    border-radius: 5px;
}

.philosophy h4 {
    color: var(--primary-navy);
    margin-bottom: 15px;
}

.philosophy p {
    color: var(--text-body);
    font-style: italic;
}

/* About Features */
.about-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 30px;
}

.feature-card {
    text-align: center;
    padding: 30px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.feature-icon {
    width: 70px;
    height: 70px;
    margin: 0 auto 20px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon i {
    font-size: 1.8rem;
    color: var(--text-dark);
}

.feature-card h4 {
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.feature-card p {
    color: var(--text-body);
    font-size: 0.95rem;
}

/* Services Section */
.services-section {
    background: var(--bg-white);
}

.services-tabs {
    max-width: 1000px;
    margin: 0 auto;
}

.tabs-navigation {
    display: flex;
    gap: 10px;
    margin-bottom: 40px;
    border-bottom: 2px solid var(--bg-gray);
    overflow-x: auto;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 15px 25px;
    background: none;
    border: none;
    color: var(--text-body);
    font-weight: 500;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    white-space: nowrap;
}

.tab-btn::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--primary-gold);
    transition: var(--transition);
}

.tab-btn.active {
    color: var(--primary-navy);
}

.tab-btn.active::after {
    width: 100%;
}

.tab-btn:hover {
    color: var(--primary-navy);
}

.tab-percentage {
    background: var(--gradient-gold);
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
}

.tabs-content {
    position: relative;
}

.tab-panel {
    display: none;
}

.tab-panel.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.service-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.service-card {
    padding: 30px;
    background: var(--bg-white);
    border: var(--border-light);
    border-radius: 10px;
    transition: var(--transition);
}

.service-card.main {
    grid-column: span 2;
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
    border: 2px solid var(--primary-gold);
}

.service-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.service-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.service-header i {
    font-size: 2rem;
    color: var(--primary-gold);
}

.service-header h3 {
    color: var(--primary-navy);
    font-size: 1.3rem;
}

.service-card p {
    color: var(--text-body);
    margin-bottom: 20px;
}

.service-features {
    list-style: none;
}

.service-features li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 0;
    color: var(--text-body);
}

.service-features i {
    color: var(--accent-teal);
    font-size: 0.9rem;
}

/* Additional Services */
.additional-services {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 25px;
}

.add-service-item {
    padding: 25px;
    background: var(--bg-white);
    border: var(--border-light);
    border-radius: 10px;
    text-align: center;
    transition: var(--transition);
}

.add-service-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-gold);
}

.add-service-item i {
    font-size: 2rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.add-service-item h4 {
    color: var(--primary-navy);
    margin-bottom: 5px;
    font-size: 1rem;
}

.add-service-item p {
    color: var(--text-light);
    font-size: 0.85rem;
    margin-bottom: 10px;
}

.add-service-item .percentage {
    display: inline-block;
    background: var(--bg-gray);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-body);
}

/* Methodology Section */
.methodology-section {
    background: linear-gradient(135deg, var(--bg-light) 0%, var(--bg-white) 100%);
}

.methodology-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto 60px;
    padding: 40px 0;
}

.timeline-line {
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-gold);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    padding: 0 50px 60px;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(even) {
    flex-direction: row-reverse;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 50px;
    background: var(--bg-white);
    border: 3px solid var(--primary-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
}

.timeline-dot span {
    font-family: var(--font-serif);
    font-weight: 700;
    color: var(--primary-navy);
}

.timeline-content {
    background: var(--bg-white);
    padding: 25px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    width: calc(50% - 75px);
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: auto;
}

.timeline-content h3 {
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.timeline-content p {
    color: var(--text-body);
    margin-bottom: 10px;
}

.duration {
    display: inline-block;
    background: var(--gradient-gold);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-dark);
}

.methodology-cta {
    text-align: center;
}

.methodology-cta p {
    font-size: 1.2rem;
    color: var(--text-body);
    margin-bottom: 20px;
}

/* Cases Section */
.cases-section {
    background: var(--bg-white);
}

.cases-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.case-card {
    background: var(--bg-white);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.case-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.case-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
}

.case-image {
    position: relative;
    height: 200px;
    background: var(--gradient-primary);
    overflow: hidden;
}

.case-card.featured .case-image {
    height: 350px;
}

.case-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: var(--primary-gold);
}

.case-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
    background: linear-gradient(to top, rgba(0,0,0,0.8) 0%, transparent 100%);
}

.case-category {
    background: var(--gradient-gold);
    color: var(--text-dark);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.85rem;
    font-weight: 600;
}

.case-content {
    padding: 25px;
}

.case-content h4 {
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.case-content p {
    color: var(--text-body);
    margin-bottom: 15px;
}

.case-results {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.case-results span {
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--accent-teal);
    font-weight: 600;
    font-size: 0.9rem;
}

/* Testimonials */
.testimonials {
    max-width: 800px;
    margin: 0 auto;
}

.testimonial-card {
    background: var(--bg-light);
    padding: 40px;
    border-radius: 10px;
    position: relative;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: 20px;
    left: 30px;
    font-size: 4rem;
    font-family: var(--font-serif);
    color: var(--primary-gold);
    opacity: 0.3;
}

.testimonial-content p {
    font-size: 1.2rem;
    color: var(--text-body);
    font-style: italic;
    line-height: 1.8;
    margin-bottom: 30px;
}

.testimonial-author {
    display: flex;
    align-items: center;
    gap: 20px;
}

.author-avatar {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 1.5rem;
}

.author-info h5 {
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.author-info span {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Team Section */
.team-section {
    background: var(--bg-light);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 60px;
}

.team-member {
    text-align: center;
}

.member-photo {
    width: 150px;
    height: 150px;
    margin: 0 auto 20px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-gold);
    font-size: 3rem;
    box-shadow: var(--shadow-md);
}

.team-member h4 {
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.member-role {
    display: block;
    color: var(--primary-gold);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.team-member p {
    color: var(--text-body);
    font-size: 0.95rem;
    margin-bottom: 20px;
}

.member-social {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.member-social a {
    width: 35px;
    height: 35px;
    background: var(--bg-white);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-navy);
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.member-social a:hover {
    background: var(--gradient-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

/* Team Stats */
.team-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    padding: 40px;
    background: var(--bg-white);
    border-radius: 10px;
    box-shadow: var(--shadow-md);
}

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

.team-stat i {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 15px;
}

.stat-number {
    display: block;
    font-family: var(--font-serif);
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-navy);
    margin-bottom: 5px;
}

.team-stat .stat-label {
    color: var(--text-light);
    font-size: 0.9rem;
}

/* Contact Section */
.contact-section {
    background: linear-gradient(135deg, var(--bg-white) 0%, var(--bg-light) 100%);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    margin-bottom: 50px;
}

.contact-info {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}

.info-card {
    background: var(--bg-white);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-md);
}

.info-icon {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.info-icon i {
    font-size: 1.5rem;
    color: var(--text-dark);
}

.info-card h3 {
    color: var(--primary-navy);
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.info-card address,
.info-card p {
    color: var(--text-body);
    line-height: 1.8;
}

.info-card a {
    color: var(--primary-navy);
    transition: var(--transition);
}

.info-card a:hover {
    color: var(--primary-gold);
}

/* Consultation Form */
.consultation-form {
    background: var(--bg-white);
    padding: 40px;
    border-radius: 10px;
    box-shadow: var(--shadow-lg);
}

.consultation-form h3 {
    color: var(--primary-navy);
    margin-bottom: 10px;
}

.consultation-form > p {
    color: var(--text-light);
    margin-bottom: 30px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 25px;
    margin-bottom: 30px;
}

.form-group {
    position: relative;
}

.form-group.full-width {
    grid-column: span 2;
}

.form-group label {
    display: block;
    color: var(--text-body);
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 15px;
    border: var(--border-light);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    background: var(--bg-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-gold);
    background: var(--bg-white);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.checkbox-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: normal;
    cursor: pointer;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
}

.btn-submit {
    width: 100%;
    background: var(--gradient-primary);
    color: var(--text-white);
    padding: 15px 40px;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    transition: var(--transition);
    box-shadow: var(--shadow-md);
}

.btn-submit:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.form-disclaimer {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    color: var(--text-light);
    font-size: 0.85rem;
}

.form-disclaimer i {
    color: var(--primary-gold);
}

/* Map Container */
.map-container {
    height: 400px;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
}

.elegant-map {
    width: 100%;
    height: 100%;
}

/* Footer */
.footer-section {
    background: var(--primary-navy);
    color: var(--text-white);
    padding: 60px 0 20px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 20px;
}

.footer-logo .logo-symbol {
    width: 40px;
    height: 40px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    font-family: var(--font-serif);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.footer-logo h4 {
    color: var(--text-white);
    font-family: var(--font-serif);
}

.footer-column h4 {
    color: var(--primary-gold);
    margin-bottom: 20px;
    font-size: 1.1rem;
}

.footer-column p {
    color: rgba(255,255,255,0.7);
    margin-bottom: 20px;
}

.footer-column ul {
    list-style: none;
}

.footer-column li {
    margin-bottom: 12px;
}

.footer-column a {
    color: rgba(255,255,255,0.7);
    transition: var(--transition);
}

.footer-column a:hover {
    color: var(--primary-gold);
}

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

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    transition: var(--transition);
}

.social-links a:hover {
    background: var(--gradient-gold);
    color: var(--text-dark);
    transform: translateY(-3px);
}

.newsletter-form {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.newsletter-form input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: var(--text-white);
    border-radius: 25px;
}

.newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.newsletter-form button {
    width: 45px;
    height: 45px;
    background: var(--gradient-gold);
    border: none;
    border-radius: 50%;
    color: var(--text-dark);
    cursor: pointer;
    transition: var(--transition);
}

.newsletter-form button:hover {
    transform: rotate(45deg);
}

.certifications {
    display: flex;
    gap: 20px;
}

.certifications i {
    font-size: 1.5rem;
    color: var(--primary-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.1);
}

.footer-bottom p {
    color: rgba(255,255,255,0.6);
    margin-bottom: 5px;
    font-size: 0.9rem;
}

.footer-bottom a {
    color: var(--primary-gold);
}

/* Back to Top */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--text-dark);
    border: none;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-lg);
    z-index: 999;
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px) rotate(360deg);
}

/* Mobile Navigation */
.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--primary-navy);
    transition: var(--transition);
}

.nav-toggle.active span:first-child {
    transform: rotate(45deg) translate(4px, 4px);
}

.nav-toggle.active span:last-child {
    transform: rotate(-45deg) translate(4px, -4px);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .about-grid,
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .case-card.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .case-card.featured .case-image {
        height: 200px;
    }
    
    .service-card.main {
        grid-column: span 1;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        flex-direction: column;
        padding: 0;
    }
    
    .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin: 20px 0;
    }
    
    .timeline-line {
        left: 20px;
    }
    
    .timeline-dot {
        left: 20px;
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background: var(--bg-white);
        flex-direction: column;
        padding: 100px 30px 30px;
        box-shadow: -5px 0 20px rgba(0,0,0,0.1);
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
        justify-content: center;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 20px;
    }
    
    .stat-divider {
        width: 50px;
        height: 1px;
    }
    
    .company-details {
        grid-template-columns: 1fr;
    }
    
    .about-features {
        grid-template-columns: 1fr;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .form-group.full-width {
        grid-column: span 1;
    }
    
    .checkbox-group {
        grid-template-columns: 1fr;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .social-links {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    h1 { font-size: 2rem; }
    h2 { font-size: 1.5rem; }
    
    .tabs-navigation {
        flex-direction: column;
    }
    
    .tab-btn {
        width: 100%;
        justify-content: center;
    }
    
    .team-stats {
        grid-template-columns: 1fr;
    }
}

/* Animations */
.animate-on-scroll {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.animate-on-scroll.animated {
    opacity: 1;
    transform: translateY(0);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-light);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-navy);
}

/* Selection */
::selection {
    background: var(--primary-gold);
    color: var(--text-dark);
}

::-moz-selection {
    background: var(--primary-gold);
    color: var(--text-dark);
}
