/* =============================================
   1. RESET, VARIABLES Y BODY
   ============================================= */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a3a5f;
    --secondary-color: #2c3e50;
    --accent-color: #7d5ba6;
    --highlight-color: #3498db;
    --light-color: #f8f9fa;
    --text-color: #2c3e50;
    --success-color: #27ae60;
    --warning-color: #e74c3c;
    --neutral-color: #95a5a6;
    --gold-color: #d4af37;
    --cardMicro: #2d323c;
    --accentMicro: #ff8c00;
    --gradient-primary: linear-gradient(135deg, #1a3a5f 0%, #2c3e50 100%);
    --gradient-accent: linear-gradient(135deg, #7d5ba6 0%, #5d3f8a 100%);
    --gradient-gold: linear-gradient(135deg, var(--highlight-color), var(--gold-color));
    --shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-heavy: 0 8px 30px rgba(0, 0, 0, 0.12);
    --transition: all 0.3s ease;
    --border-radius: 10px;
    --accent-glow: rgba(125, 91, 166, 0.3);
    /* Brillo Morado */
    --highlight-glow: rgba(52, 152, 219, 0.4);
    /* Brillo Azul Claro */
}

body {
    font-family: 'Roboto', sans-serif;
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

/* =============================================
   2. SPLASH SCREEN
   ============================================= */
.splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0a192f;
    z-index: 9999;
    overflow: hidden;
    transition: opacity 1s ease, visibility 1s ease;
}

.splash-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.splash-image-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.splash-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    animation: zoomIn 8s ease-out forwards;
    filter: brightness(0.6) contrast(1.1);
}

.splash-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg,
            rgba(26, 58, 95, 0.9) 0%,
            rgba(44, 62, 80, 0.85) 50%,
            rgba(125, 91, 166, 0.15) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.logo-splash-container {
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 2s ease-out;
}

.text-logo {
    margin-bottom: 2rem;
}

.splash-main-title {
    font-family: 'Playfair Display', serif;
    font-size: 5.5rem;
    color: white;
    font-weight: 700;
    letter-spacing: 1px;
    text-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    margin-bottom: 0.5rem;
}

.splash-subtitle {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #d1c4e9;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 2px;
    text-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.splash-divider {
    width: 100px;
    height: 3px;
    background: var(--highlight-color);
    margin: 2rem auto;
    border-radius: 2px;
}

.splash-tagline {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 1rem;
}

.splash-abogada {
    font-size: 1.8rem;
    color: white;
    font-weight: 500;
    background: rgba(125, 91, 166, 0.2);
    padding: 1rem 2rem;
    border-radius: 50px;
    display: inline-block;
    border: 1px solid rgba(125, 91, 166, 0.3);
}

@keyframes zoomIn {
    0% {
        transform: scale(1.1);
    }

    100% {
        transform: scale(1);
    }
}

@keyframes fadeInUp {
    0% {
        opacity: 0;
        transform: translateY(40px);
    }

    100% {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   3. HEADER Y NAVBAR
   ============================================= */
.header {
    background: white;
    box-shadow: var(--shadow);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 1px solid rgba(44, 62, 80, 0.1);
}

.navbar {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.text-logo-header {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    line-height: 1;
}

.logo-primary {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
}

.logo-secondary {
    font-family: 'Playfair Display', serif;
    font-size: 1rem;
    color: var(--accent-color);
    font-style: italic;
    letter-spacing: 1px;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-color);
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-menu a:hover {
    color: var(--accent-color);
}

.nav-menu a:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--accent-color);
}

.btn-agendar {
    background: var(--gradient-accent);
    color: white !important;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 600;
    transition: var(--transition);
}

.btn-agendar:hover {
    background: var(--gradient-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(125, 91, 166, 0.3);
}

.btn-agendar:hover::after {
    display: none;
}

.hamburger {
    display: none;
    cursor: pointer;
}

.bar {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px auto;
    background: var(--text-color);
    transition: var(--transition);
}

/* =============================================
   4. HERO SECTION
   ============================================= */
.hero {
    max-width: 1200px;
    margin: 3rem auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    min-height: 80vh;
}

.badge-abogada {
    background: var(--gradient-accent);
    color: white;
    padding: 0.6rem 1.5rem;
    border-radius: 25px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    margin-bottom: 1.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(125, 91, 166, 0.2);
}

.hero h1 {
    font-family: 'Playfair Display', serif;
    font-size: 3.2rem;
    margin-bottom: 1rem;
    line-height: 1.2;
}

.highlight {
    color: var(--accent-color);
    font-weight: 700;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    font-weight: 300;
}

.welcome-text {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    color: #4a5568;
    line-height: 1.8;
}

.especialidades {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 2.5rem;
}

.especialidad-tag {
    background: rgba(125, 91, 166, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(125, 91, 166, 0.2);
}

.button-container {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn {
    padding: 1rem 2.2rem;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.btn-primary {
    background: var(--gradient-accent);
    color: white;
    box-shadow: 0 4px 15px rgba(44, 82, 130, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(44, 82, 130, 0.4);
}

.btn-secondary {
    background: transparent;
    border: 2px solid var(--accent-color);
    color: var(--accent-color);
}

.btn-secondary:hover {
    background: var(--accent-color);
    color: white;
    transform: translateY(-3px);
}

.hero-image {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    height: 500px;
    background: linear-gradient(transparent, rgba(72, 76, 83, 0.9));
    /* desde aca*/
}

.hero-main-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.hero-image:hover .hero-main-image {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(10, 25, 47, 0.9));
    color: white;
    padding: 2rem;
    transform: translateY(100%);
    transition: transform 0.5s ease;
}

.hero-image:hover .image-caption {
    transform: translateY(0);
}

.image-caption i {
    font-size: 1.5rem;
    color: var(--highlight-color);
    margin-bottom: 0.5rem;
}

.image-caption p {
    font-style: italic;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.caption-author {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* =============================================
   5. SECCIÓN NOSOTROS (Dra. Principal)
   ============================================= */
.section {
    max-width: 1200px;
    margin: 6rem auto;
    padding: 0 2rem;
}

.section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.section h2 i {
    color: var(--highlight-color);
}

.abogada-principal {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 3rem;
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow);
    margin-bottom: 4rem;
}

.abogada-foto {
    position: relative;
}

.abogada-foto img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
}

.abogada-badge {
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gradient-accent);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.abogada-info h3 {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.abogada-titulo {
    color: var(--accent-color);
    font-weight: 500;
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.abogada-resumen h4 {
    color: var(--primary-color);
    margin: 1.5rem 0 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.abogada-resumen h4 i {
    color: var(--highlight-color);
}

.abogada-resumen ul {
    list-style: none;
    padding-left: 1.5rem;
}

.abogada-resumen li {
    margin-bottom: 0.5rem;
    position: relative;
}

.abogada-resumen li:before {
    content: "•";
    color: var(--highlight-color);
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.filosofia-texto {
    background: rgba(125, 91, 166, 0.05);
    border-left: 3px solid var(--accent-color);
    padding: 1.5rem;
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    font-style: italic;
    margin-top: 1rem;
}

/* =============================================
   6. SECCIÓN VALORES (OPTIMIZADA)
   ============================================= */
.tarjeta-valor[data-valor="confidencialidad"] {
    --valor-color: #7d5ba6;
}

.tarjeta-valor[data-valor="personalizacion"] {
    --valor-color: #3498db;
}

.tarjeta-valor[data-valor="comunicacion"] {
    --valor-color: #45b172;
}

.tarjeta-valor[data-valor="disponibilidad"] {
    --valor-color: #f05323;
}

.valores-section {
    margin-top: 6rem;
    position: relative;
}

.valores-section h3 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.pilas-container {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 100px;
    min-height: 320px;
    margin: 0 auto;
    max-width: 1000px;
}

.pila-valores {
    position: relative;
    width: 280px;
    height: 300px;
    cursor: default;
}

.indicador-pila {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.punto-indicador {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: var(--transition);
}

.punto-indicador.activo {
    background: var(--accent-color);
    transform: scale(1.2);
}

.tarjeta-valor {
    position: absolute;
    width: 100%;
    height: 100%;
    background: white;
    border-radius: 15px;
    box-shadow: var(--shadow);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    text-align: center;
    opacity: 0;
    transform: scale(0.95) translateY(10px);
    transition: opacity 0.5s ease, transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.tarjeta-valor.visible {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.icono-tarjeta {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, var(--valor-color), var(--primary-color)) !important;
}

@keyframes transferencia {
    0% {
        transform: scale(1);
        opacity: 1;
        filter: blur(0);
    }

    100% {
        transform: scale(0.85);
        opacity: 0;
        filter: blur(4px);
    }
}

.tarjeta-transfiriendo {
    animation: transferencia 0.6s ease forwards !important;
}

.pila-activa .tarjeta-valor {
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15), 5px 5px 0 rgba(0, 0, 0, 0.04);
}

/* =============================================
   8. SECCIÓN CONTACTO
   ============================================= */
.contact-section {
    background: var(--light-color);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: var(--transition);
}

.social-icon.linkedin {
    background: #0077b5;
}

.social-icon.instagram {
    background: #e4405f;
}

.social-icon.whatsapp {
    background: #25d366;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 1px solid #cbd5e0;
    border-radius: 8px;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    color: var(--text-color);
    background-color: white;
    transition: var(--transition);
}

/* Estado de Enfoque (Focus) unificado con dorado */
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--gold-color);
    /* Usamos una sombra basada en el dorado para dar profundidad */
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.2); 
    background-color: #fff;
}

/* Estilo para el placeholder */
.form-group input::placeholder,
.form-group textarea::placeholder {
    color: #a0aec0;
    opacity: 0.8;
}

/* Validación visual sutil cuando el campo es válido */
input[type="tel"]:valid:not(:placeholder-shown) {
    border-color: var(--success-color);
}
/* =============================================
   9. AGENDA DE CITA Y CALENDLY
   ============================================= */
.cita-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 4rem 2rem;
    border-radius: var(--border-radius);
}

.cita-header {
    text-align: center;
    margin-bottom: 3rem;
}

.cita-header .section-subtitle {
    font-size: 1.2rem;
    color: var(--highlight-color);
    font-weight: 500;
}

.cita-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.cita-info-box {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
}

.cita-info-box h3 {
    color: var(--primary-color);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.proceso-step {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    align-items: flex-start;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--highlight-color), #d4af37);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content h4 {
    color: var(--primary-color);
    margin-bottom: 0.3rem;
}

.step-content p {
    color: var(--secondary-color);
    font-size: 0.95rem;
}

.modalidad-box {
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 1px solid #e2e8f0;
}

.modalidades {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
    flex-wrap: wrap;
}

.modalidad-tag {
    background: rgba(44, 82, 130, 0.1);
    color: var(--accent-color);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    border: 1px solid rgba(44, 82, 130, 0.2);
}

.calendly-container {
    background: white;
    padding: 2.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow);
    text-align: center;
}

.calendly-header {
    margin-bottom: 2rem;
}

.calendly-header h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.calendly-header p {
    color: var(--secondary-color);
}

.calendly-embed-wrapper {
    width: 100%;
    margin: 2rem 0;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    background: white;
    min-height: 700px;
}

.calendly-inline-widget {
    width: 100% !important;
    height: 700px !important;
    border: none !important;
}

.calendly-alternative {
    padding: 3rem 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.alternative-icon {
    font-size: 3rem;
    color: var(--accent-color);
    margin-bottom: 1.5rem;
}

.calendly-alternative h4 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: 'Playfair Display', serif;
}

.calendly-alternative p {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    max-width: 400px;
    line-height: 1.6;
}

.alternative-buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.alternative-or {
    color: var(--highlight-color);
    font-weight: bold;
    margin: 0.5rem 0;
}

.alternative-note {
    color: var(--accent-color);
    font-size: 0.9rem;
    margin-top: 1rem;
}

.alternative-note i {
    margin-right: 0.5rem;
}

/* =============================================
   10. FOOTER
   ============================================= */
.footer {
    background: var(--primary-color);
    color: white;
    padding: 4rem 0 2rem;
    margin-top: 6rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
}

/* Forzamos que la ubicación, el tel y el mail se vean */
.footer-col address,
.footer-col p,
.footer-col a {
    color: white !important; /* Blanco puro para contraste total */
    text-decoration: none;
    font-style: normal;
    line-height: 1.8;
    font-size: 1rem;
}

/* Efecto hover solo para que se sepa que son clickeables */
.footer-col a:hover {
    color: var(--gold-color) !important;
    text-decoration: underline;
}

.footer-logo-text h3 {
    font-family: 'Playfair Display', serif;
    font-size: 2.2rem;
    margin-bottom: 0.5rem;
}

.footer-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
    margin-bottom: 3rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 3rem;
}

.footer-col h4 {
    color: #d1c4e9; /* El violeta claro que ya tenías */
    margin-bottom: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1.1rem;
}

.footer-legal {
    padding-top: 2rem;
}

.copyright {
    color: #cbd5e0;
    margin-bottom: 1rem;
    font-size: 0.9rem;
}

.disclaimer {
    color: #a0aec0;
    font-size: 0.85rem;
    font-style: italic;
    margin-bottom: 1.5rem;
}

.footer-links a {
    color: #cbd5e0 !important;
    font-size: 0.9rem;
    margin: 0 0.5rem;
}

.footer-links a:hover {
    color: white !important;
}
/* =============================================
   11. ANIMACIONES Y TRANSICIONES
   ============================================= */
.image-transition {
    position: fixed !important;
    z-index: 9998;
    pointer-events: none;
    transition: all 1.5s cubic-bezier(0.65, 0, 0.35, 1);
    will-change: width, height, top, left, border-radius, opacity;
}

.hidden {
    display: none !important;
}

.hero-main-image {
    opacity: 0;
    transition: opacity 0.5s ease 1.5s;
}

.hero-main-image.loaded {
    opacity: 1;
}

.text-logo-header {
    opacity: 0;
    transform: translateY(-20px);
    transition: all 0.8s ease 1.2s;
}

.text-logo-header.visible {
    opacity: 1;
    transform: translateY(0);
}

.hero h1,
.hero .subtitle,
.hero .welcome-text,
.especialidades,
.button-container {
    opacity: 0;
    transform: translateY(20px);
    animation: slideUpFade 0.8s ease forwards;
}

.hero h1 {
    animation-delay: 0.2s;
}

.hero .subtitle {
    animation-delay: 0.4s;
}

.hero .welcome-text {
    animation-delay: 0.6s;
}

.especialidades {
    animation-delay: 0.8s;
}

.button-container {
    animation-delay: 1s;
}

@keyframes slideUpFade {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* =============================================
   12. STATUS Y NOTIFICACIONES (SINCRONIZADO)
   ============================================= */
.form-status {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 8px;
    animation: fadeIn 0.3s ease;
}

.form-notification {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 8px;
    animation: slideIn 0.3s ease;
    border-left: 5px solid; /* Aumentado de 4px a 5px para mayor énfasis */
    transition: var(--transition);
}

/* Colores vinculados al :root */
.form-notification.success {
    background-color: rgba(39, 174, 96, 0.1); 
    border-color: var(--success-color);
    color: #1a5e38;
}

.form-notification.error {
    background-color: rgba(231, 76, 60, 0.1); 
    border-color: var(--warning-color);
    color: #8a2a21;
}

.form-notification.info {
    background-color: rgba(52, 152, 219, 0.1); 
    border-color: var(--highlight-color);
    color: var(--primary-color);
}

.notification-content {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.notification-content i {
    font-size: 1.2rem;
    flex-shrink: 0;
}

.notification-content span {
    line-height: 1.4;
}

/* --- ANIMACIONES --- */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.fa-spinner {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

/* =============================================
   13. MONEDA GIRATORIA (CONSOLIDADO)
   ============================================= */
.especialidades-container { margin: 3rem 0; text-align: center; }
.coin-simplified-container { position: relative; display: inline-block; }

.coin-simplified {
    width: 160px; height: 160px;
    position: relative; border-radius: 50%;
    background: var(--gradient-accent); color: white;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 1.5rem;
    box-shadow: 0 15px 35px var(--accent-glow), inset 0 0 0 4px var(--highlight-glow);
    cursor: pointer; transition: all 0.5s ease;
    animation: pulseGlow 4s infinite alternate;
}

.coin-simplified:hover {
    transform: scale(1.08);
    box-shadow: 0 20px 40px var(--accent-glow), inset 0 0 0 4px var(--gold-color);
}

@keyframes pulseGlow {
    0% { box-shadow: 0 15px 35px var(--accent-glow), inset 0 0 0 4px var(--highlight-glow); }
    100% { box-shadow: 0 15px 35px var(--accent-glow), inset 0 0 0 4px var(--gold-color); }
}

.coin-simplified i { font-size: 3rem; margin-bottom: 1rem; filter: drop-shadow(0 3px 5px rgba(0,0,0,0.2)); }
.coin-simplified span { font-size: 1.1rem; font-weight: 600; text-align: center; line-height: 1.3; }

.coin-simplified.changing { animation: coinChange 0.2s ease; }

@keyframes coinChange {
    0%, 100% { transform: scale(1); background: var(--gradient-accent); }
    50% { transform: scale(0.9); background: var(--gradient-gold); }
}

/* Forzamos que el simulador solo sea visible si tiene contenido */
.cta-simulador:empty {
    display: none !important;
}

/* Aseguramos que el bloque original de consulta NO tome colores naranja */
.modal-cta:not(.cta-simulador) {
    border-left: 3px solid var(--accent-color);
    background: rgba(125, 91, 166, 0.05);
}

/* =============================================
   14. MODAL ESPECIALIDADES (CONSOLIDADO)
   ============================================= */
.modal-overlay {
    position: fixed; inset: 0; background: rgba(0, 0, 0, 0.7);
    display: none; justify-content: center; align-items: center;
    z-index: 9999; padding: 20px; animation: fadeIn 0.3s ease;
}
.modal-overlay.active { display: flex; }

.modal-content {
    background: white; border-radius: 20px;
    width: 100%; max-width: 500px; max-height: 90vh;
    overflow-y: auto; box-shadow: 0 20px 50px rgba(0, 0, 0, 0.3);
    animation: slideUp 0.4s ease; position: relative;
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-close {
    position: absolute; top: 15px; right: 15px;
    background: var(--light-color); border: none; border-radius: 50%;
    width: 40px; height: 40px; display: flex; align-items: center; justify-content: center;
    font-size: 2rem; color: var(--primary-color); cursor: pointer; transition: all 0.3s ease;
}

.modal-header {
    background: var(--gradient-primary); color: white;
    padding: 2.5rem 2rem 2rem; border-radius: 20px 20px 0 0; text-align: center;
}

.modal-icon { font-size: 3.5rem; margin-bottom: 1rem; filter: drop-shadow(0 3px 6px rgba(0,0,0,0.2)); }
.modal-body { padding: 2rem; }

#modalDescription { font-size: 1.05rem; line-height: 1.7; color: var(--text-color); }
#modalDescription li { position: relative; padding-left: 1.5rem; margin-bottom: 0.5rem; list-style: none; }
#modalDescription li:before { content: "•"; color: var(--highlight-color); font-weight: bold; position: absolute; left: 0; }

/* Bloques de Acción (CTA) */
.modal-cta {
    background: rgba(125, 91, 166, 0.05); border-left: 3px solid var(--accent-color);
    padding: 1.5rem; border-radius: 10px; text-align: center; margin-top: 2rem;
}

.cta-simulador {
    background: rgba(212, 175, 55, 0.05); border-left: 3px solid var(--accentMicro);
    margin-bottom: 1.5rem;
}

.btn-simulador {
    background: var(--accentMicro) !important; color: white !important;
    display: inline-flex; align-items: center; justify-content: center;
    padding: 1rem 2.2rem; border-radius: 30px; text-decoration: none;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3); transition: var(--transition);
}

/* =============================================
   15. MEDIA QUERIES UNIFICADAS (TODO AQUÍ)
   ============================================= */

/* TABLETS Y LAPTOPS PEQUEÑAS */
@media (max-width: 992px) {
    .hero, 
    .contact-grid, 
    .cita-container, 
    .abogada-principal,
    .perfil-destacado { 
        grid-template-columns: 1fr; 
        gap: 2rem; 
    }

    .pilas-container { 
        gap: 40px; 
    }

    .splash-main-title { font-size: 4rem; }
    .splash-subtitle { font-size: 2.5rem; }
    .hero h1 { font-size: 2.5rem; }
}

/* CELULARES GRANDES (TABLETS VERTICAL) */
@media (max-width: 768px) {
    /* Navegación */
    .hamburger { display: block; }
    .nav-menu { 
        position: fixed; left: -100%; top: 70px; 
        flex-direction: column; background: white; 
        width: 100%; text-align: center; transition: 0.3s; 
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05); padding: 2rem 0; 
        z-index: 1000; 
    }
    .nav-menu.active { left: 0; }

    /* Splash Screen */
    .splash-main-title { font-size: 3rem; }
    .splash-subtitle { font-size: 1.8rem; }
    .splash-tagline { font-size: 1.2rem; }
    .splash-abogada { font-size: 1.4rem; padding: 0.8rem 1.5rem; }

    /* Sección Valores y Moneda */
    .pilas-container { gap: 0; min-height: 320px; }
    .pila-activa { display: none !important; }
    .pila-mostrada { width: 100%; max-width: 320px; }
    .coin-simplified { width: 140px; height: 140px; }
    .coin-simplified i { font-size: 2.5rem; }
    .coin-simplified span { font-size: 1rem; }

    /* Sección Equipo */
    .asociados-grid { grid-template-columns: 1fr; }
    .asociados-grid .perfil-foto { max-width: 100%; height: 400px; }

    /* Ajustes generales de Hero y Secciones */
    .hero { text-align: center; margin: 1rem auto; }
    .button-container, .especialidades { justify-content: center; }
    .section h2 { font-size: 2rem; }
    
    /* Calendly y Modal */
    .calendly-embed-wrapper, .calendly-inline-widget { height: 600px !important; min-height: 600px; }
    .modal-content { margin: 10px; max-height: 85vh; }
    .modal-header { padding: 2rem 1.5rem 1.5rem; }
    .modal-body { padding: 1.5rem; }

    /* Sobreescritura de animación para móvil (Vertical) */
    @keyframes transferencia {
        0% { transform: translateY(0); opacity: 1; }
        100% { transform: translateY(-40px); opacity: 0; }
    }
}

/* CELULARES PEQUEÑOS */
@media (max-width: 480px) {
    .splash-main-title { font-size: 2.5rem; }
    .splash-subtitle { font-size: 1.5rem; }
    .splash-abogada { font-size: 1.2rem; }
    .hero h1 { font-size: 2rem; }
    
    .btn { width: 100%; justify-content: center; }
    .button-container { flex-direction: column; }
    
    .calendly-inline-widget { height: 550px !important; }
    .coin-simplified { width: 120px; height: 120px; }
    .coin-simplified i { font-size: 2rem; margin-bottom: 0.8rem; }
    .coin-simplified span { font-size: 0.9rem; }
}

/* =============================================
   14. SECCIÓN EQUIPO (NUEVAS CLASES HTML)
   ============================================= */
.equipo-container {
    display: flex;
    flex-direction: column;
    gap: 50px;
    margin-bottom: 60px;
}

.abogada-foto,
.asociado-foto-wrapper {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.foto-overlay-badge {
    position: absolute;
    bottom: 15px;
    left: 10px;
    right: 10px;
    background: rgba(11, 19, 43, 0.9);
    color: white;
    padding: 8px;
    border-radius: 6px;
    backdrop-filter: blur(5px);
    border-left: 3px solid #ff8c00;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.75rem;
}

.asociados-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 20px;
    width: 100%;
    justify-content: center;
    justify-items: center;
    align-items: start;
}

.asociado-card {
    width: 100%;
    background: white;
    border-radius: 12px;
    padding: 15px;
    box-shadow: 0 4px 12px rgba(83, 6, 6, 0.05);
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.asociado-foto-wrapper img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.asociado-data h4 {
    margin-top: 15px;
    color: var(--primary-color);
}

@media (min-width: 992px) {
    .perfil-destacado {
        display: grid;
        grid-template-columns: 350px 1fr;
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .asociados-grid {
        grid-template-columns: 1fr;
    }

    .perfil-cabecera {
        text-align: center;
    }
}

.asociado-foto-container {
    position: relative;
    width: 100%;
    height: 250px;
    border-radius: 10px;
    overflow: hidden;
    background-color: #f0f0f0;
}

.asociado-foto-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.asociados-grid .perfil-foto {
    max-width: 280px;
    height: 320px;
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.8);
    margin: 0 auto;
}

.asociados-grid .perfil-foto img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.nombre-overlay {
    font-size: 0.85rem;
    font-weight: bold;
    margin: 0;
}

.colegiatura {
    font-size: 0.7rem;
    display: block;
}

.perfil-info-simple h3 {
    font-size: 1.1rem;
    margin-top: 10px;
    margin-bottom: 5px;
    color: var(--primary-color);
}

.asociado-info-basica {
    padding: 15px 5px;
    text-align: center;
}

.asociado-info-basica h4 {
    margin: 0;
    color: #0b132b;
    font-size: 1.1rem;
}

@media (max-width: 768px) {
    .asociados-grid {
        grid-template-columns: 1fr;
    }

    .asociados-grid .perfil-foto {
        max-width: 100%;
        height: 400px;
    }
}