/* ===== TIPOGRAFÍA ELEGANTE ===== */
/* Fuentes principales para despacho de abogados */
body {
    font-family: 'Crimson Text', Georgia, serif;
    line-height: 1.6;
    letter-spacing: 0.3px;
}

/* Títulos principales - Playfair Display (elegante y sofisticado) */
h1, h2, h3 {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.5px;
    line-height: 1.3;
}

/* Títulos secundarios - Source Serif Pro (profesional y legible) */
h4, h5, h6 {
    font-family: 'Source Serif Pro', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Texto del logo y encabezados importantes */
.logo-text {
    font-family: 'Playfair Display', Georgia, serif;
    font-weight: 700;
    letter-spacing: 1px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Responsive adjustments for logo */
@media (max-width: 640px) {
    .logo-text {
        font-size: 1.25rem !important;
        letter-spacing: 0.5px;
        line-height: 1.2;
    }
}

@media (min-width: 641px) and (max-width: 768px) {
    .logo-text {
        letter-spacing: 0.8px;
    }
}

/* Texto de navegación */
nav {
    font-family: 'Source Serif Pro', Georgia, serif;
    font-weight: 400;
    letter-spacing: 0.5px;
}

/* Texto de botones */
button, .btn {
    font-family: 'Source Serif Pro', Georgia, serif;
    font-weight: 500;
    letter-spacing: 0.5px;
}

/* Mejoras de legibilidad y elegancia */
p {
    font-family: 'Crimson Text', Georgia, serif;
    line-height: 1.7;
    letter-spacing: 0.2px;
}

/* Lista con tipografía elegante */
li {
    font-family: 'Crimson Text', Georgia, serif;
    letter-spacing: 0.2px;
}

/* Texto en cursiva para énfasis */
em, .italic-text {
    font-family: 'Crimson Text', Georgia, serif;
    font-style: italic;
    font-weight: 400;
}

/* Texto destacado */
.text-highlight {
    font-family: 'Source Serif Pro', Georgia, serif;
    font-weight: 600;
    letter-spacing: 0.5px;
}

/* Mejoras de tamaño para secciones principales */
/* Texto de párrafos en secciones principales */
.section-text {
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.3px;
}

/* Texto de párrafos grandes para contenido importante */
.large-text {
    font-size: 1.2rem;
    line-height: 1.8;
    letter-spacing: 0.4px;
    font-weight: 400;
}

/* Listas en secciones principales */
.section-list li {
    font-size: 1rem;
    line-height: 1.7;
    letter-spacing: 0.3px;
    margin-bottom: 0.3rem;
}

/* Títulos de tarjetas más prominentes */
.card-title {
    font-size: 1.3rem;
    font-weight: 600;
    letter-spacing: 0.4px;
}

@media (min-width: 768px) {
    .section-text {
        font-size: 1.2rem;
        line-height: 1.9;
    }
    
    .large-text {
        font-size: 1.3rem;
        line-height: 1.9;
    }
    
    .section-list li {
        font-size: 1.1rem;
        line-height: 1.8;
    }
    
    .card-title {
        font-size: 1.4rem;
    }
}

/* ===== EFECTOS SILVER Y GRADIENTES ===== */
.silver-gradient {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #dee2e6 50%, #ced4da 75%, #adb5bd 100%);
    box-shadow: 0 2px 8px rgba(192, 192, 192, 0.3);
}

.silver-shine {
    background: linear-gradient(45deg, #f1f3f4, #e8eaed, #dadce0, #bdc1c6);
    position: relative;
    overflow: hidden;
}

.silver-shine::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.4) 50%, transparent 70%);
    animation: shine 3s infinite;
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    100% { transform: translateX(100%) translateY(100%) rotate(45deg); }
}

.text-silver-bright {
    background: linear-gradient(135deg, #f8f9fa, #adb5bd, #6c757d);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.icon-silver-3d {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 25%, #ced4da 50%, #adb5bd 75%, #868e96 100%);
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

/* ===== ANIMACIONES SUTILES ===== */
.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s ease-out forwards;
}

.fade-in-left {
    opacity: 0;
    transform: translateX(-30px);
    animation: fadeInLeft 0.8s ease-out forwards;
}

.fade-in-right {
    opacity: 0;
    transform: translateX(30px);
    animation: fadeInRight 0.8s ease-out forwards;
}

.scale-in {
    opacity: 0;
    transform: scale(0.9);
    animation: scaleIn 0.6s ease-out forwards;
}

.card-hover {
    transition: all 0.3s ease;
}

.card-hover:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.15);
}

.floating {
    animation: floating 3s ease-in-out infinite;
}

.pulse-soft {
    animation: pulseSoft 2s ease-in-out infinite;
}

/* ===== KEYFRAMES ===== */
@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes floating {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulseSoft {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* ===== DELAYS PARA ANIMACIONES ESCALONADAS ===== */
.delay-100 { animation-delay: 0.1s; }
.delay-200 { animation-delay: 0.2s; }
.delay-300 { animation-delay: 0.3s; }
.delay-400 { animation-delay: 0.4s; }
.delay-500 { animation-delay: 0.5s; }
.delay-600 { animation-delay: 0.6s; }
.delay-700 { animation-delay: 0.7s; }
